dws-registry 0.2.3 → 0.2.4

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: 819c861f5261072945cfab45d621fe4089f4ae1c
4
- data.tar.gz: 1b891e7e5786b5674edd3465035185ea3150a8be
3
+ metadata.gz: b1cf03cf1d385369e9fab701b4c050dffeb60e49
4
+ data.tar.gz: b745abe421fde1ecd00f20015ffe26929ffa1ed2
5
5
  SHA512:
6
- metadata.gz: 2eaf643258a123485557be4d2b1c022d57214c1a027d1b08534fb4dded73dfd2aec0bf5d87a7a23b15e30b7abadc6a62ace465d734cd8fffc05728fa806dbb9d
7
- data.tar.gz: feb91b98ccdf8cc744ba0e7f01ebb00360d09eed5b6fb23f4f473b4e8cebfe4f30ad20cc4c7ddd5b40b034cb81f3c68ddc922958884b2640e808b0259ebb2f18
6
+ metadata.gz: c5901bf62429602cacf4c537107d9a5dc5a70fd6e03dbb0873160dcf5aa5d4eb86ed483190fa2d584331f9a4e6f6618a6c990ad26d62a26128c5a4fcd95475f5
7
+ data.tar.gz: 0d9a803cd56c79d17e45b22d6f771d9bfe1075db89d8e717087dd1d11f9aaba3884926b093d6a35e3643da5d8bbdbe694599a24a481679055a7c6e664e03b2ea
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/dws-registry.rb CHANGED
@@ -32,8 +32,8 @@ class DWSRegistry < XMLRegistry
32
32
  raw_c = e.attributes[:class]
33
33
  c = raw_c.first if raw_c
34
34
  s = e.text
35
-
36
- return e if s.nil?
35
+
36
+ return e if e.elements.length > 0 or s.nil?
37
37
  return s unless c
38
38
 
39
39
  h = {
@@ -42,6 +42,8 @@ class DWSRegistry < XMLRegistry
42
42
  case x
43
43
  when 'true' then true
44
44
  when 'false' then false
45
+ when 'on' then true
46
+ when 'off' then false
45
47
  else x
46
48
  end
47
49
  },
data.tar.gz.sig CHANGED
@@ -1,3 +1 @@
1
- H}]�o��>�'�`#Ji�F����녕�$�ܚm�?wf
2
- 6�l��� s\/
3
- q�vė���iU}�N �ۭ)=�&K���2o�9�{?��N�Q(ΈK��b��+M(�R^֥i�&�0�F�K;������5r�f���9E�Y��~��U����K��:�_�.o�,J;/i#�ݽƖ�Mp$�9�$�z�0AI��552M1�N�e#�92dj�á�#쵹��ʫ~Y�?�?�|,������0n�6����Tn��
1
+ �:�]�×%j\0)'�{���ET�]�c�s糝^AZ��ϖ�խ�㽭S���e�ʰ��ZO�Pϐ���TJ�h\�'ث�"
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.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  PGZIlz7FJwJ4++0ZB4E5454Xa7aPv5k3PP+urajaDnG0vSBYhI76SWHkG0+PBDau
32
32
  8P/40FmSZqbOtg==
33
33
  -----END CERTIFICATE-----
34
- date: 2015-03-07 00:00:00.000000000 Z
34
+ date: 2015-03-08 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