lolsoap 0.8.0 → 0.8.1

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: 0b9bc4b76b05a3d31cba1d44dfbdcbe1ec345374
4
- data.tar.gz: 3bc623601587f2e60ca3443767c02e73b69f2f60
3
+ metadata.gz: ade998cd2f62aedb0731e685a294a23ace1b9069
4
+ data.tar.gz: b99a643d27fdb2c66269bd6353926f087204aac9
5
5
  SHA512:
6
- metadata.gz: ccf49a609716134ab68a817fc59ee1e872767d812b5e35ae148d244c8a9a882afe96499ddacaf7c49c6f17c79c5c3d82f910da77f448cb6ada62f22b9d0083b5
7
- data.tar.gz: c8b787f474363da4d866cfb6f1ba8419dc8275fed43f23667835f97112aa5d7495c666172a4f9127c8d789b4cd86eb274d3feeff94a4004fc87aab80695ffe3e
6
+ metadata.gz: 1467ea1b60fbad93d0381431dcaf5965f5eb3a94bbc194e20dd19f5f466808f35dbcf826890dd4fd689ad653aad7bc620acfdf30e12391b6800daeffc7f684bc
7
+ data.tar.gz: 6f4c0be96cb491c4a4ca18923159aab257676ed8b3ae7963a47f97d0d0abfc268f62af4808d0aac4ee38643a0e5e303040971f43af5201fae935c72cd8c3c8c1
@@ -1,3 +1,3 @@
1
1
  module LolSoap
2
- VERSION = "0.8.0"
2
+ VERSION = "0.8.1"
3
3
  end
@@ -368,11 +368,7 @@ module LolSoap
368
368
  def namespace_and_name(node, prefixed_name, default_namespace = nil)
369
369
  if prefixed_name.include? ':'
370
370
  prefix, name = prefixed_name.split(':')
371
- if prefix == 'tns' && schema = node.at_xpath('ancestor::xs:schema', ns)
372
- namespace = schema.attribute('targetNamespace').to_s
373
- else
374
- namespace = node.namespaces.fetch("xmlns:#{prefix}")
375
- end
371
+ namespace = node.namespaces.fetch("xmlns:#{prefix}")
376
372
  else
377
373
  name = prefixed_name
378
374
  namespace = default_namespace
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lolsoap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Leighton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-02 00:00:00.000000000 Z
11
+ date: 2016-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri