dws-registry 0.2.1 → 0.2.2

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: d08c9e5fc42dbe90db59b3dca273b0f7e3b306ac
4
- data.tar.gz: 95c46de35ed5655cba590260de22c99fe1a6a2bc
3
+ metadata.gz: 148ee458ad4f5dde56fb979c142108bd82749208
4
+ data.tar.gz: 28f5fc40ae6a6bf3748634fe07620749bb08d2a4
5
5
  SHA512:
6
- metadata.gz: b6e8a64affbd90fb885eb71d3edca26c22b906df84c674dbdf7a67d0d05a04dbfc6f8af72f0c6785187c301a622b11a1af026c35190891c9a00b848900b8216d
7
- data.tar.gz: 4a3553a502aac9b94a7dee8220065c74507af78d39082aca7fac8a01fab251609fc3768c9ccdddd406c1922eba8ce7caa693271a3ac295e37709732c64d77f48
6
+ metadata.gz: 724b924eeb308dbecc6ca2df6981018bddfc46ff50c7a58a5750a8e4c6f63546dedc91e1da79ca66a09ac06fd1829420f8bf958b90a564f42093dc7d3320a524
7
+ data.tar.gz: ec7ac40c2732f060f10944146182cbe6ed3765e86dfc54065de4f950923d2a95ccdedf3ecbed0f3d97bc059ac765ec427af5c4ab5366374a78510567cd81f112
checksums.yaml.gz.sig CHANGED
@@ -1,2 +1 @@
1
- ��>��22�!<���pv��'SΉv�N���y��¹8��"9�.N�uZd�����2�-� :�ޝl86sS���eZ��}���O)Όr.�i��^��q������"Y�ŋth>���0�:�Ѧ@ '�T^��A8��_
2
- �LR/X�vS��A��CֶE�<_~ͬ[�$ �H��ZGD�����b�'J�#�
1
+ 7���#���Q|]U��Il�;��z������uO�ٙ��k{1����N0O��Hae6b7�,�1a��*�|�|ï���Gz5g3k��zy�N�c4�H`�������]75�Y{�欴�N}'7rw��ye�%{r�@4�(�&��FDRw�ܘ$��A6?��S��I��>f���\�������]V[VNH��$/�$�b0d�-��l�b.���P�۾��I�8Uh6F����,���Ι�
data/lib/dws-registry.rb CHANGED
@@ -29,7 +29,8 @@ class DWSRegistry < XMLRegistry
29
29
  def get_key(path)
30
30
 
31
31
  e = super path
32
- c = e.attributes[:class]
32
+ raw_c = e.attributes[:class]
33
+ c = raw_c.first if raw_c
33
34
  s = e.text
34
35
 
35
36
  return e if s.nil?
@@ -66,7 +67,7 @@ class DWSRegistry < XMLRegistry
66
67
  e = super(path, value)
67
68
 
68
69
  type = find_class value unless type
69
- e.attributes[:class] = type if type
70
+ e.attributes[:class] = [type] if type
70
71
 
71
72
  save() if @autosave
72
73
  e
data.tar.gz.sig CHANGED
Binary file
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.1
4
+ version: 0.2.2
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-04 00:00:00.000000000 Z
34
+ date: 2015-03-05 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