datagnan 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/datagnan.rb +2 -0
- 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: 4b2c738cfafb4890e559b35030898616c754c635
|
4
|
+
data.tar.gz: 373f8690aafc672636f0812ad50ef33170d52fb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a6f9b6069293fb8b9d3712d1517d7ac5a73857c9c012aff648332e2b7f2837151d690bb416fc97f74998bf2482c0a4291f7f583e2ea8101b1440b480fc125ab
|
7
|
+
data.tar.gz: 791d0f38a04aa2c960a6ceb6946f65207ebc65ad8a6952e9b9a635fc066cd54e4dc366bea9acbf5978545bec81f6b2502925f5ba4d5ddeacae21b8bbebd75e0c
|
data/lib/datagnan.rb
CHANGED
@@ -214,6 +214,7 @@ private
|
|
214
214
|
unless var.nil? || var == false
|
215
215
|
## debug
|
216
216
|
# puts "-- Datagnan.data_attr each before insert ( node.to_xml = #{node.to_xml} )"
|
217
|
+
node.unset(key)
|
217
218
|
node.attributes.insert(
|
218
219
|
node.attributes.index(attr),
|
219
220
|
Oga::XML::Attribute.new(
|
@@ -256,6 +257,7 @@ private
|
|
256
257
|
# puts "-- Datagnan.data_attrs each attr ( var = #{var} )"
|
257
258
|
|
258
259
|
unless var.nil? || var == false
|
260
|
+
node.unset(key)
|
259
261
|
node.attributes.insert(
|
260
262
|
node.attributes.index(node_data_attrs),
|
261
263
|
Oga::XML::Attribute.new(
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: datagnan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Popov
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-05-
|
12
|
+
date: 2015-05-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: oga
|