passtools 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/passtools/request.rb +1 -1
- data/lib/passtools/version.rb +1 -1
- metadata +1 -1
data/lib/passtools/request.rb
CHANGED
@@ -14,7 +14,7 @@ module Passtools
|
|
14
14
|
url = construct_url(path)
|
15
15
|
params = {:api_key => Passtools.api_key}
|
16
16
|
response = RestClient.get(url, headers.merge(:params => params))
|
17
|
-
File.open(filepath.join(filename), 'w') {|f| f.write(response) }
|
17
|
+
File.open(filepath.join(filename), 'w:ascii-8bit') {|f| f.write(response) }
|
18
18
|
end
|
19
19
|
|
20
20
|
def post(path, params = {})
|
data/lib/passtools/version.rb
CHANGED