webspicy 0.15.0.pre.rc8 → 0.15.0.pre.rc9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/examples/restful/Gemfile.lock +1 -1
- data/lib/webspicy/client/http_client.rb +1 -1
- data/lib/webspicy/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9892bbf2e461e27ac5d2e009d1c00169841e45c92a9e9135300091db17965ba4
|
4
|
+
data.tar.gz: 95f5af15b58243cf2ed0ff5aacd47561ff05afe9d73337db12902479f8093e43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2d0251e5eca82a7cf8383224aca04898844fe43b5342e87697d0af03a3caa4a65b134dfa4bf307aaa95d353430aec8e63ed1d6db6b5254eb034c60a5481609f
|
7
|
+
data.tar.gz: eeeabe5944386ec82316001363c612bb2bec1230a259427d562e26dff6d32a1c1c13ef8e5e889602e8c59c2c46fa370c5306773a96c248789da517422168f1f5
|
@@ -76,7 +76,7 @@ module Webspicy
|
|
76
76
|
headers['Content-Type'] ||= 'application/json'
|
77
77
|
@last_response = HTTP[headers].post(url, body: params.to_json)
|
78
78
|
when FileUpload
|
79
|
-
file = HTTP::FormData::File.new(body.path, {
|
79
|
+
file = HTTP::FormData::File.new(body.path.to_s, {
|
80
80
|
content_type: body.content_type,
|
81
81
|
filename: body.path.basename.to_s
|
82
82
|
})
|
data/lib/webspicy/version.rb
CHANGED