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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 148ee458ad4f5dde56fb979c142108bd82749208
4
- data.tar.gz: 28f5fc40ae6a6bf3748634fe07620749bb08d2a4
3
+ metadata.gz: 819c861f5261072945cfab45d621fe4089f4ae1c
4
+ data.tar.gz: 1b891e7e5786b5674edd3465035185ea3150a8be
5
5
  SHA512:
6
- metadata.gz: 724b924eeb308dbecc6ca2df6981018bddfc46ff50c7a58a5750a8e4c6f63546dedc91e1da79ca66a09ac06fd1829420f8bf958b90a564f42093dc7d3320a524
7
- data.tar.gz: ec7ac40c2732f060f10944146182cbe6ed3765e86dfc54065de4f950923d2a95ccdedf3ecbed0f3d97bc059ac765ec427af5c4ab5366374a78510567cd81f112
6
+ metadata.gz: 2eaf643258a123485557be4d2b1c022d57214c1a027d1b08534fb4dded73dfd2aec0bf5d87a7a23b15e30b7abadc6a62ace465d734cd8fffc05728fa806dbb9d
7
+ data.tar.gz: feb91b98ccdf8cc744ba0e7f01ebb00360d09eed5b6fb23f4f473b4e8cebfe4f30ad20cc4c7ddd5b40b034cb81f3c68ddc922958884b2640e808b0259ebb2f18
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
@@ -1 +1,3 @@
1
- �J���_
1
+ �H}]�o��>�'�`#J�i�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��
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.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-05 00:00:00.000000000 Z
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
- i-����F�����;i_y��j2�z�r4�\�@��>����J]h���l��g�ž�{\���Z·��i��\�WmEYJYeF�۾ ���� �~��U�,���;^J�=i�<iƈ����ST(��< "��+s]��p��
2
- ��hz����y5{�f!��i�.�� �V�Ψk�
3
- �\�*����#<��=uKP��cXn�h8Z��,�t�u�
1
+ �� ��>�ʔR�ɶw�4אZ�� ��2�"��FJ}Fmq;��Pj��H9BHҞF 6�"�Jg#�OM����6pu��CAM�1�aqFF��~�#o[\��``��'����\})2�`�Pަ͸<�)�n�a�|��$a���|��\�bբ
2
+ �@��ܠ�ǰ�M���,��Q��A���>�iWu����?� ��q��=T[gHko�-��W�6��?C(@�"�-��.�_e���