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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9835985326195541a205c4877dc1679256708ce3
4
- data.tar.gz: a74aa0a1dddf86a845402859f8e5ed10f3f3ab5d
3
+ metadata.gz: 3e8eec0719b771bb78ddbbc80afb8482285d5e02
4
+ data.tar.gz: 74faf656cd60043ffe92882bce595b6956d7a9d4
5
5
  SHA512:
6
- metadata.gz: 15348e777faa5373e644b84a190c17ed5b1554e7b6b2cc5cc29bbc5b05e9d77bd4c3073f85269cbecb3389a21c05d1a355f25d291ed711a3f902d0b9bb2176f2
7
- data.tar.gz: f59d5fb8877fe3e0162c9afc9e53d7513f647bb9555dfb557176e1e63aee2950e18310f41e7adeef78cd35034bd002f7b5c55c599354ebf17240044d0dcfff6b
6
+ metadata.gz: 707a13701534592771c16d820d26e5c52406caa71f23df0c4981f9f3e264e30c8af7fc0f9b62f2d6140ea3c5c6a226a89fa0f4853d034992232a609cd8ce09bd
7
+ data.tar.gz: d3bf7599276e62c51636f578b1a256a8e0ae70628348d5348d410fa67969a4983253e1889ad1ff8af4310eb941fc9942e679154989332de19273a21c8be9d8b4
@@ -2,14 +2,10 @@
2
2
  language: "ruby"
3
3
  script: "bundle exec rake --trace"
4
4
  rvm:
5
- - 1.8.7
6
5
  - 1.9.2
7
6
  - 1.9.3
8
7
  - 2.0
9
- - jruby-18mode
10
8
  - jruby-19mode
11
- - rbx-18mode
12
- - rbx-19mode
13
- - ree
9
+ - rbx
14
10
  notifications:
15
11
  irc: "irc.freenode.org#savon"
data/Gemfile CHANGED
@@ -5,3 +5,14 @@ gem "httpclient", "~> 2.3.4"
5
5
 
6
6
  gem "simplecov", :require => false
7
7
  gem "coveralls", :require => false
8
+
9
+ platform :rbx do
10
+ gem 'json'
11
+ gem 'racc'
12
+ gem 'rubysl'
13
+ gem 'rubinius-coverage'
14
+ end
15
+
16
+ platform :jruby do
17
+ gem 'json'
18
+ end
@@ -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(@operation_name, namespace_identifier, @types, @used_namespaces, @locals[:message],
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
 
@@ -4,8 +4,8 @@ require "gyoku"
4
4
  module Savon
5
5
  class Message
6
6
 
7
- def initialize(operation_name, namespace_identifier, types, used_namespaces, message, element_form_default, key_converter)
8
- @operation_name = operation_name
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
- translated_operation_name = Gyoku.xml_tag(@operation_name, :key_converter => @key_converter).to_s
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 = {
@@ -1,3 +1,3 @@
1
1
  module Savon
2
- VERSION = '2.3.2'
2
+ VERSION = '2.3.3'
3
3
  end
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.2
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: 2013-12-09 00:00:00.000000000 Z
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