savon 2.3.2 → 2.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -5
- data/Gemfile +11 -0
- data/lib/savon/builder.rb +1 -1
- data/lib/savon/message.rb +3 -4
- data/lib/savon/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e8eec0719b771bb78ddbbc80afb8482285d5e02
|
4
|
+
data.tar.gz: 74faf656cd60043ffe92882bce595b6956d7a9d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 707a13701534592771c16d820d26e5c52406caa71f23df0c4981f9f3e264e30c8af7fc0f9b62f2d6140ea3c5c6a226a89fa0f4853d034992232a609cd8ce09bd
|
7
|
+
data.tar.gz: d3bf7599276e62c51636f578b1a256a8e0ae70628348d5348d410fa67969a4983253e1889ad1ff8af4310eb941fc9942e679154989332de19273a21c8be9d8b4
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/lib/savon/builder.rb
CHANGED
@@ -126,7 +126,7 @@ module Savon
|
|
126
126
|
def message
|
127
127
|
element_form_default = @globals[:element_form_default] || @wsdl.element_form_default
|
128
128
|
# TODO: clean this up! [dh, 2012-12-17]
|
129
|
-
Message.new(
|
129
|
+
Message.new(message_tag, namespace_identifier, @types, @used_namespaces, @locals[:message],
|
130
130
|
element_form_default, @globals[:convert_request_keys_to])
|
131
131
|
end
|
132
132
|
|
data/lib/savon/message.rb
CHANGED
@@ -4,8 +4,8 @@ require "gyoku"
|
|
4
4
|
module Savon
|
5
5
|
class Message
|
6
6
|
|
7
|
-
def initialize(
|
8
|
-
@
|
7
|
+
def initialize(message_tag, namespace_identifier, types, used_namespaces, message, element_form_default, key_converter)
|
8
|
+
@message_tag = message_tag
|
9
9
|
@namespace_identifier = namespace_identifier
|
10
10
|
@types = types
|
11
11
|
@used_namespaces = used_namespaces
|
@@ -19,8 +19,7 @@ module Savon
|
|
19
19
|
return @message.to_s unless @message.kind_of? Hash
|
20
20
|
|
21
21
|
if @element_form_default == :qualified
|
22
|
-
|
23
|
-
@message = QualifiedMessage.new(@types, @used_namespaces, @key_converter).to_hash(@message, [translated_operation_name])
|
22
|
+
@message = QualifiedMessage.new(@types, @used_namespaces, @key_converter).to_hash(@message, [@message_tag.to_s])
|
24
23
|
end
|
25
24
|
|
26
25
|
gyoku_options = {
|
data/lib/savon/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: savon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Harrington
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nori
|
@@ -282,6 +282,7 @@ files:
|
|
282
282
|
- spec/support/fixture.rb
|
283
283
|
- spec/support/integration.rb
|
284
284
|
- spec/support/stdout.rb
|
285
|
+
- tmp/test.rb
|
285
286
|
homepage: http://savonrb.com
|
286
287
|
licenses:
|
287
288
|
- MIT
|