Skip to content

Commit f23bffe

Browse files
committed
Fix to make this compile/valid in Ruby 2.0
Enforce "us-ascii" encoding in the lib/oai/client file so the invalid utf-8 characters don't cause a syntax error. Fixes #30
1 parent 5b979ad commit f23bffe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/oai/client.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: us-ascii
2+
13
# External dependencies
24
require 'uri'
35
require 'faraday'

0 commit comments

Comments
 (0)