xml-smart 0.3.22 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/xml/smart_domelement.rb +2 -2
- data/xml-smart.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ebd201f9be7bb0199d0469f607171f112c33e1d08214f0cc5f4c37824bb2bd83
|
4
|
+
data.tar.gz: 2e65919e93b6d6d4e4bce9ac5db39d2f531500cd8c068dc1177cf2098e3debb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffa85c13c8413d7740fb825d4239ccfd5df0b42df6cd15a6b5e46530d51723dc5ee330de4506323c53e1c582d933d75ffa668c123ef463c977796b0151c60a1b
|
7
|
+
data.tar.gz: ba0b3f7b32e8c986abd621f736e1fa22a77a8d76b09529c8e359b688b543926657caf2c77479d6b88009c4a0c0a159d04975c87cde259b5abae658f5bafaa761
|
data/lib/xml/smart_domelement.rb
CHANGED
@@ -172,8 +172,8 @@ module XML
|
|
172
172
|
|
173
173
|
def replace_by(n)
|
174
174
|
case n
|
175
|
-
when Element; Element.new @element.replace(n.instance_variable_get(:@element))
|
176
|
-
when NodeSet; NodeSet.new @element.replace(n.instance_variable_get(:@nodeset))
|
175
|
+
when Element; Element.new @element.replace(n.instance_variable_get(:@element).dup)
|
176
|
+
when NodeSet; NodeSet.new @element.replace(n.instance_variable_get(:@nodeset).dup)
|
177
177
|
else
|
178
178
|
nil
|
179
179
|
end
|
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.
|
4
|
+
version: 0.4.0
|
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:
|
11
|
+
date: 2019-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -163,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
163
163
|
version: '0'
|
164
164
|
requirements: []
|
165
165
|
rubyforge_project:
|
166
|
-
rubygems_version: 2.
|
166
|
+
rubygems_version: 2.7.6
|
167
167
|
signing_key:
|
168
168
|
specification_version: 4
|
169
169
|
summary: An xml library that doesn't suck - since 2004.
|