webspicy 0.15.0.pre.rc7 → 0.15.0.pre.rc8
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 +2 -2
- data/lib/webspicy/client/http_client.rb +3 -1
- data/lib/webspicy/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 810ff3dc305c9cc95688eb6bc438a1516acec69abf1aea3a26a19da7de39132c
|
4
|
+
data.tar.gz: 49ed6046ce6c7e7984982f35439f8a479d4aeb8528e0b7f86e24ca889d578a52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: feaa1877d8f00a42de712336d3eeebdea6e1a4d8b6c1587cc4978cc353fb2638718ad2c342c309a25da461bea909a4715711ebc226e3ba402f10b3cc8f8f3fd9
|
7
|
+
data.tar.gz: a6e03d82c1234e45ce13c3f7d1dc43a02bb1bfcdfebf84ca8929d6729db331a48fceef720a2bcca0b09a9eeac9479214bd335167f37b1499e19d24b2eb5c9dea
|
@@ -1,12 +1,12 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../..
|
3
3
|
specs:
|
4
|
-
webspicy (0.15.0.pre.
|
4
|
+
webspicy (0.15.0.pre.rc8)
|
5
5
|
finitio (>= 0.8.0)
|
6
6
|
http (>= 2)
|
7
7
|
mustermann (~> 1.0)
|
8
8
|
mustermann-contrib
|
9
|
-
path (
|
9
|
+
path (>= 1.3)
|
10
10
|
rack-robustness (~> 1.1, >= 1.1.0)
|
11
11
|
rack-test (~> 0.6.3)
|
12
12
|
rspec (~> 3.7)
|
@@ -80,7 +80,9 @@ module Webspicy
|
|
80
80
|
content_type: body.content_type,
|
81
81
|
filename: body.path.basename.to_s
|
82
82
|
})
|
83
|
-
@last_response = HTTP[headers].post(url, form: {
|
83
|
+
@last_response = HTTP[headers].post(url, form: {
|
84
|
+
body.param_name.to_sym => file
|
85
|
+
})
|
84
86
|
else
|
85
87
|
headers['Content-Type'] ||= 'application/json'
|
86
88
|
@last_response = HTTP[headers].post(url, body: body)
|
data/lib/webspicy/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webspicy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.0.pre.
|
4
|
+
version: 0.15.0.pre.rc8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bernard Lambeau
|
@@ -118,14 +118,14 @@ dependencies:
|
|
118
118
|
name: path
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
120
120
|
requirements:
|
121
|
-
- - "
|
121
|
+
- - ">="
|
122
122
|
- !ruby/object:Gem::Version
|
123
123
|
version: '1.3'
|
124
124
|
type: :runtime
|
125
125
|
prerelease: false
|
126
126
|
version_requirements: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
128
|
-
- - "
|
128
|
+
- - ">="
|
129
129
|
- !ruby/object:Gem::Version
|
130
130
|
version: '1.3'
|
131
131
|
- !ruby/object:Gem::Dependency
|