xml-smart 0.3.17 → 0.3.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/xml/smart.rb +1 -1
- data/xml-smart.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 811c9bcaf859068540db8993295edf9b5687b8b9
|
4
|
+
data.tar.gz: 2211073f067c264599e7aa7a2ed4ac2abc8ae25a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb1ed71badd8282dcb6dd48f26ab1a4d76bd06f4b46307be1f19cb1454dfc14699caada083dfd9b1bcd115ef698c81e3e6e7665688c768594b46ae67f81dfd4f
|
7
|
+
data.tar.gz: 41a91a6914488065fde7d33bb92447bc5d6b045ab753b3edcbec40ed959a932fad37610e003b1dfd7e327f85637dc831b3faf55677f4acfedd1aeaf0f15140aa
|
data/lib/xml/smart.rb
CHANGED
@@ -99,7 +99,7 @@ module Nokogiri
|
|
99
99
|
ctx.register_namespaces "xi"=>"http://www.w3.org/2001/XInclude"
|
100
100
|
ctx.evaluate('.//xi:include').each do |ele|
|
101
101
|
name = ele.attributes['href'].value
|
102
|
-
name = path + name if name !~ /^(https?:|ftp
|
102
|
+
name = path + name if name !~ /^(https?:|ftp:|\/)/
|
103
103
|
content = open(name,{ssl_verify_mode: OpenSSL::SSL::VERIFY_NONE}).read
|
104
104
|
insert = begin
|
105
105
|
Nokogiri::XML::parse(content).root # {|config| config.noblanks.noent.strict }.root
|
data/xml-smart.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xml-smart
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juergen eTM Mangler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|