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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 34ad78d76a11c4a5966140d3e18f457d28633621
4
- data.tar.gz: 1ea0da76b56ecb5a1d1658239756c4e59202453c
3
+ metadata.gz: cca576c25fd673878bbf5379b2a3295978111834
4
+ data.tar.gz: b5d418e898b6b6f83c3abae19b04106859ac55fc
5
5
  SHA512:
6
- metadata.gz: 7337a65b40eeb5bc35549bac37b4f4dfe7e295ec205dd84b9cc0c16266c6031cff3171283cfeb7a69c3a15822945df1e9ca9a1e998cc331b7759fed30698a066
7
- data.tar.gz: 3504528d6e2dbb9e901f55d0e3ec213c9e0ca6e157f0725e124a4f65a384432fa05974741b02b13d6b198b7506e68c38efc310a133d2c12758d3f0b737dee418
6
+ metadata.gz: 4beebbe47812ed78f2b5dd404986b6e3030a2f14e12ce8936190a7257a9d7dfe28a2edb24c63aba41884a245c66e0bdc2615ad1d8dee1d13790ff788f2e95367
7
+ data.tar.gz: 01024be5e6f9e9d14937eefad1e5b539d5ebbc3320af096c89a3d14cc14534919be461da6b750f71a6b89a3bc6fcf6efebce77d91a763be36e628b4ee32cc52a
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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
- c = raw_c.first if raw_c
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.6
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-06-28 00:00:00.000000000 Z
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