lolsoap 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d15ac33320b9b7a7f32e1fd15e111ba323683c75
4
- data.tar.gz: d9fdcb8040c0e9e714b0512f73c69c15ca70d686
3
+ metadata.gz: e7a361721a3138038d730668311a3e83340df411
4
+ data.tar.gz: 6332b9fe23d9d46ce280e182ac110ee58134aa95
5
5
  SHA512:
6
- metadata.gz: b4b2624bb3b81de8109863c618d1c9a11146f2394b908da4ffa1a3737ad9cd624e5a206f14262d23b454f9a1d9576ef1d1bfc3713101f49b020ee76f19f00428
7
- data.tar.gz: 62efc9d01ee3e439b115aa9c7eb10c293036d353aa849a999fd9ecfd676c88ae0a483c976b320f1d974dea42923092655716212b4c6d185c24892a96d2019710
6
+ metadata.gz: 6681b3c04f898307549a55cf9b2092712c2ffd6733113a96a4dfec127bd60e61dd2dd960dd83f30572e38804ede58dbc6f3b2bc0d3fc4215404422c5e69793bd
7
+ data.tar.gz: 41b82f801682f7c43468c587f387738d3d333e94e3d68540357df8fd0ad924958b7d3128782dfe7a16c201ebb3f89a7f3c68eec91104e0248e488cb386f32a22
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.0
1
+ 0.5.1
@@ -161,8 +161,8 @@ module LolSoap
161
161
  def messages
162
162
  @messages ||= Hash[
163
163
  doc.xpath('/d:definitions/d:message', ns).map do |msg|
164
- element = msg.at_xpath('./d:part/@element', ns).to_s
165
- [msg.attribute('name').to_s, namespace_and_name(msg, element)]
164
+ part = msg.at_xpath("d:part", ns)
165
+ [msg.attribute('name').to_s, namespace_and_name(part, part['element'])]
166
166
  end
167
167
  ]
168
168
  end
data/lolsoap.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: lolsoap 0.5.0 ruby lib
5
+ # stub: lolsoap 0.5.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "lolsoap"
9
- s.version = "0.5.0"
9
+ s.version = "0.5.1"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.authors = ["Jon Leighton"]
@@ -83,7 +83,7 @@
83
83
  </types>
84
84
 
85
85
  <message name="GetLastTradePriceInput">
86
- <part name="body" element="xsd1:tradePriceRequest"/>
86
+ <part name="body" xmlns:foo="http://example.com/stockquote.xsd" element="foo:tradePriceRequest"/>
87
87
  </message>
88
88
 
89
89
  <message name="GetLastTradePriceOutput">
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lolsoap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Leighton