dws-registry 0.2.2 → 0.2.3
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 +3 -1
- data/lib/dws-registry.rb +4 -3
- metadata +2 -2
- metadata.gz.sig +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 819c861f5261072945cfab45d621fe4089f4ae1c
|
4
|
+
data.tar.gz: 1b891e7e5786b5674edd3465035185ea3150a8be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2eaf643258a123485557be4d2b1c022d57214c1a027d1b08534fb4dded73dfd2aec0bf5d87a7a23b15e30b7abadc6a62ace465d734cd8fffc05728fa806dbb9d
|
7
|
+
data.tar.gz: feb91b98ccdf8cc744ba0e7f01ebb00360d09eed5b6fb23f4f473b4e8cebfe4f30ad20cc4c7ddd5b40b034cb81f3c68ddc922958884b2640e808b0259ebb2f18
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
data/lib/dws-registry.rb
CHANGED
@@ -102,12 +102,13 @@ class DWSRegistry < XMLRegistry
|
|
102
102
|
|
103
103
|
def find_class(v)
|
104
104
|
|
105
|
-
if v.to_i.to_s.length == v.length then :number
|
106
|
-
elsif v.to_f.to_s.length == v.length then :number
|
105
|
+
if v[/^\d+$/] and v.to_i.to_s.length == v.length then :number
|
106
|
+
elsif v[/^\d+\.\d+$/] and v.to_f.to_s.length == v.length then :number
|
107
107
|
elsif v.downcase[/^(?:true|false|on|off|yes|no)$/] then :boolean
|
108
108
|
elsif v[/^\#.*\#$/] then :time
|
109
109
|
elsif v[/^\/\/job:\S+\s+https?:\/\//] then :job
|
110
110
|
end
|
111
|
-
end
|
111
|
+
end
|
112
|
+
|
112
113
|
|
113
114
|
end
|
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.3
|
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-07 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: xml-registry
|
metadata.gz.sig
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
�\�*����#<��=uKP��cXn�h8Z��,�t�u�
|
1
|
+
����>�ʔR�ɶw�4אZ�� ��2�"��FJ}Fm�q;��Pj��H9�B�HҞF 6�"�Jg#�OM����6pu��CA�M�1�aqFF��~�#o[\��``��'����\})2�`�Pަ<�)�n�a�|��$a���|��\�bբ
|
2
|
+
�@��ܠ�ǰ�M���,��Q��A���>�iWu����?� ��q��=T�[�gHko�-��W�6��?C(@�"�-��.�_�e���
|