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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 436398fe01b5b7e12cac131af5937f796433212f
4
- data.tar.gz: dc8092d1d79a2c30cbcbc5cd6cfe55efd8b83853
2
+ SHA256:
3
+ metadata.gz: ebd201f9be7bb0199d0469f607171f112c33e1d08214f0cc5f4c37824bb2bd83
4
+ data.tar.gz: 2e65919e93b6d6d4e4bce9ac5db39d2f531500cd8c068dc1177cf2098e3debb2
5
5
  SHA512:
6
- metadata.gz: eb004bcfdb5fc2eb70cc321610d0c694d99997f562d14584fcdb0633db7ae477813da2308d6bfe92bd56d8ef39f151359d20e21e6d429486ee6a200ddd7b5538
7
- data.tar.gz: 494fadfcf6d91a20835059dec07b54973e42944d9f64dad09b4c8d60a96162cc032d2d01b7921ec2394f2858bedb27ed4e7a848704ea5491fe3a0cd722a434a1
6
+ metadata.gz: ffa85c13c8413d7740fb825d4239ccfd5df0b42df6cd15a6b5e46530d51723dc5ee330de4506323c53e1c582d933d75ffa668c123ef463c977796b0151c60a1b
7
+ data.tar.gz: ba0b3f7b32e8c986abd621f736e1fa22a77a8d76b09529c8e359b688b543926657caf2c77479d6b88009c4a0c0a159d04975c87cde259b5abae658f5bafaa761
@@ -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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "xml-smart"
3
- s.version = "0.3.22"
3
+ s.version = "0.4.0"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3.0"
6
6
  s.summary = "An xml library that doesn't suck - since 2004."
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.22
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: 2017-12-05 00:00:00.000000000 Z
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.6.6
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.