remote_dwsregistry 0.2.6 → 0.2.7

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: db8dfc24ca0b60b9bab93cce22c033e89700b6ec
4
- data.tar.gz: a9d35b5e627a554bfaecf503845f99cb1e39ed6c
3
+ metadata.gz: 8d31e5efdb24771ef3d2e476a7016b7a478f9115
4
+ data.tar.gz: fe5fdb897f25465822f183f92d4aeec747b3d24c
5
5
  SHA512:
6
- metadata.gz: 9af1f264652b9eba0ea816b190d8ae7d8152451410c11b9170f1101fd426024dca22f18f9f9d9fb06278df4fbafdc91e8bc0c75766512231f5f395384b1845c0
7
- data.tar.gz: 3b6536c17e8348b6c9d189bf691378cee69269e84d47afc9459969ebe00c627a49604361470a92eb700ff58e04d98e68770a610eb19da39a0c761039c0ae4b3d
6
+ metadata.gz: d03ad5c8b466964934a4d1a51504a883267db3619e951dc3a56d7691f665872008fc09bcc2db7ea8da2d5b357b02114821166a6624c7ab38b8d68d10c9215138
7
+ data.tar.gz: '09741cb9e6b795fcf45d833070a73103768d4cf3a3dfd613ad06456bd0892fb2674ef281dd26a06c32e232334879a9853b73e41648498ffbda00d25025c17f6c'
checksums.yaml.gz.sig CHANGED
Binary file
@@ -48,7 +48,17 @@ class RemoteDwsRegistry
48
48
  doc = Rexle.new(r.body)
49
49
  e = doc.root
50
50
 
51
- return e unless auto_detect_type
51
+
52
+ if auto_detect_type == false then
53
+
54
+ def e.to_os()
55
+ OpenStruct.new self.elements.inject({}) \
56
+ {|r,x| r.merge(x.name => x.text) }
57
+ end
58
+
59
+ return e
60
+ end
61
+
52
62
 
53
63
  c = e.attributes[:type]
54
64
  s = e.text
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remote_dwsregistry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  8Evvq+W0ctr3ipWi/bs/c2vbptk+WCGaWqJDQUWsCWU/JCK1qJiaqW3b1huhQG4B
32
32
  yVeqpuJ0ke2PZQ==
33
33
  -----END CERTIFICATE-----
34
- date: 2016-11-18 00:00:00.000000000 Z
34
+ date: 2017-03-08 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rexle
@@ -74,7 +74,7 @@ dependencies:
74
74
  - !ruby/object:Gem::Version
75
75
  version: 0.3.0
76
76
  description:
77
- email: james@r0bertson.co.uk
77
+ email: james@jamesrobertson.eu
78
78
  executables: []
79
79
  extensions: []
80
80
  extra_rdoc_files: []
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  version: '0'
101
101
  requirements: []
102
102
  rubyforge_project:
103
- rubygems_version: 2.5.1
103
+ rubygems_version: 2.6.8
104
104
  signing_key:
105
105
  specification_version: 4
106
106
  summary: Used in conjunction with the rack_dwsregistry gem to remotely get and set
metadata.gz.sig CHANGED
Binary file