xml-smart 0.3.16 → 0.3.17

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: 6d05696d426518de0bfd9786c6409993a8bda165
4
- data.tar.gz: 9be92beef9e765e91b72b8afffda5f79cf694122
3
+ metadata.gz: ee2f9f5c987de1be57b943890b4d222a7e8ab198
4
+ data.tar.gz: 0a403023e5ec5e0aad8954027052d2cc1fd25dfb
5
5
  SHA512:
6
- metadata.gz: 88aee8b8411d3b91a40373e5befe6897446f88960f0aa0453969f142f761a3ac41fe224729a003154b66b7f2b1a432025f703902e057b0dcc74a930b4bbad03d
7
- data.tar.gz: 4570b4d8d349747b80be0e66a56c50904316786749ba57b782cb11da919447e6ffc3d713e42eee59d9d4c1299bb14dbecde067ef9213760156f5f6c494313b20
6
+ metadata.gz: 608a0f2c90289d7fb5d774f3b95158894db4dd37d0f95a45696895b1f082fa7babf006c0ee46356949f08471af88681f869871152ed97551f410a15149d6e3ba
7
+ data.tar.gz: e0f16532e1a55c5dc91c03814f100fce0d27d21ae3bade67acc138d86dc514c018bc622f7f66728f007908b0f1f8c8f64dedf4d0e63443e9c0adb64505a2fd10
data/lib/xml/smart.rb CHANGED
@@ -106,6 +106,7 @@ module Nokogiri
106
106
  rescue
107
107
  content
108
108
  end
109
+ insert['xml:base'] = name unless File.dirname(ele.attributes['href'].value) == '.'
109
110
  x = ele.replace insert
110
111
  if x.is_a? Nokogiri::XML::Element
111
112
  x.do_xinclude_manual(relative_to)
data/test/EXAMPLE.xml CHANGED
@@ -1,6 +1,6 @@
1
1
  <test xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xml:lang="de">
2
2
  <names>
3
- <name team="0" a="3">2015-07-27 20:41:24 +0200</name>
3
+ <name team="0" a="3">2015-07-28 00:28:53 +0200</name>
4
4
  <name team="1">Jürgen</name>
5
5
  <name team="1">Michel</name>
6
6
  <name team="1">Raphi</name>
data/xml-smart.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "xml-smart"
3
- s.version = "0.3.16"
3
+ s.version = "0.3.17"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3"
6
6
  s.summary = "An xml library that doesn't suck - since 2004."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xml-smart
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.16
4
+ version: 0.3.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler