savon-multipart 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/lib/savon/multipart/response.rb +1 -1
- data/lib/savon/multipart/version.rb +1 -1
- data/spec/savon/soap/response_spec.rb +9 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1453752c3356664f6f81bceaf030316157f4d7d4
|
4
|
+
data.tar.gz: 9511e7c2d636c54af0eb11dcf1e6c6264422d2ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3b2cbf00edc90989ced02fa321cb5e370e7f3938ea092a91036d4fdddadf6acad9cbc7905445c12dd43a108f0cfe09913d0ac8909c71a2c3adf7f2b9a15b6bc
|
7
|
+
data.tar.gz: 43975f967153b5107f1fa1050fa6c131991148c5ab81acb3434abfa98a12a2599b4cbbe231df02de9235af538ce3a921f814193fea3da3a797ae3849bce45924
|
data/CHANGELOG.md
CHANGED
@@ -53,6 +53,15 @@ describe Savon::Multipart::Response do
|
|
53
53
|
end
|
54
54
|
end
|
55
55
|
|
56
|
+
describe "a multipart response with case sensitive headers" do
|
57
|
+
let(:header) {{ "Content-Type" => 'MuLtIpArT/rElAtEd; boundary="--==_mimepart_4d416ae62fd32_201a8043814c4724"; charset=UTF-8; type="text/xml"' }}
|
58
|
+
let(:path) { File.expand_path('../../../fixtures/response/simple_multipart.txt', __FILE__) }
|
59
|
+
|
60
|
+
it "does not care about upper or lowercase values for ContentType" do
|
61
|
+
expect(response.body).to eq({:submit_req => true})
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
56
65
|
context "not multipart" do
|
57
66
|
let(:path) { File.expand_path('../../../fixtures/response/not_multipart.txt', __FILE__) }
|
58
67
|
let(:header) { { 'Content-Type' => 'text/html; charset=utf-8'} }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: savon-multipart
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Westin
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-05-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: savon
|
@@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
153
153
|
version: '0'
|
154
154
|
requirements: []
|
155
155
|
rubyforge_project: savon-multipart
|
156
|
-
rubygems_version: 2.
|
156
|
+
rubygems_version: 2.4.6
|
157
157
|
signing_key:
|
158
158
|
specification_version: 4
|
159
159
|
summary: Heavy metal Ruby SOAP client with multipart support
|