dws-registry 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/dws-registry.rb +3 -2
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cca576c25fd673878bbf5379b2a3295978111834
|
4
|
+
data.tar.gz: b5d418e898b6b6f83c3abae19b04106859ac55fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4beebbe47812ed78f2b5dd404986b6e3030a2f14e12ce8936190a7257a9d7dfe28a2edb24c63aba41884a245c66e0bdc2615ad1d8dee1d13790ff788f2e95367
|
7
|
+
data.tar.gz: 01024be5e6f9e9d14937eefad1e5b539d5ebbc3320af096c89a3d14cc14534919be461da6b750f71a6b89a3bc6fcf6efebce77d91a763be36e628b4ee32cc52a
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/dws-registry.rb
CHANGED
@@ -36,7 +36,8 @@ class DWSRegistry < XMLRegistry
|
|
36
36
|
return e unless auto_detect_type
|
37
37
|
|
38
38
|
raw_c = e.attributes[:type]
|
39
|
-
|
39
|
+
|
40
|
+
c = raw_c if raw_c
|
40
41
|
s = e.text
|
41
42
|
|
42
43
|
return e if e.elements.length > 0 or s.nil?
|
@@ -77,7 +78,7 @@ class DWSRegistry < XMLRegistry
|
|
77
78
|
e = super(path, value)
|
78
79
|
|
79
80
|
type = find_type value unless type
|
80
|
-
e.attributes[:type] = type if type
|
81
|
+
e.attributes[:type] = type.to_s if type
|
81
82
|
e.parent.attributes[:last_modified] = Time.now.to_s
|
82
83
|
|
83
84
|
save() if @autosave
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dws-registry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
0XzGUxkjm5R0yWtmQkbts5hIsUzYrePQYdEBps7HWS5oSLGYtc9tytqbTDLsm/CZ
|
32
32
|
UZ5W/bLquEICmw==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2016-
|
34
|
+
date: 2016-11-18 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: xml-registry
|
metadata.gz.sig
CHANGED
Binary file
|