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 +4 -4
- checksums.yaml.gz.sig +1 -2
- data/lib/dws-registry.rb +3 -2
- data.tar.gz.sig +0 -0
- 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: 148ee458ad4f5dde56fb979c142108bd82749208
|
4
|
+
data.tar.gz: 28f5fc40ae6a6bf3748634fe07620749bb08d2a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 724b924eeb308dbecc6ca2df6981018bddfc46ff50c7a58a5750a8e4c6f63546dedc91e1da79ca66a09ac06fd1829420f8bf958b90a564f42093dc7d3320a524
|
7
|
+
data.tar.gz: ec7ac40c2732f060f10944146182cbe6ed3765e86dfc54065de4f950923d2a95ccdedf3ecbed0f3d97bc059ac765ec427af5c4ab5366374a78510567cd81f112
|
checksums.yaml.gz.sig
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
�LR/X�vS��A��CֶE�<_~ͬ[�$ �H��ZGD�����b�'J�#�
|
1
|
+
7���#���Q|]�U��I�l�;��z������uO�ٙ��k�{1����N0O��H�a�e6b7�,�1a��*�|�|ï���G�z�5g3k��zy�N�c4�H`�������]75�Y{�欴�N}'7rw��y�e�%{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
|
-
|
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.
|
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-
|
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
|