rxfhelper 1.6.0 → 1.6.1

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
  SHA256:
3
- metadata.gz: 361d64a667bda288b0b3dbefce5ddfcb4604280fd399b2477e9c3f63018bf337
4
- data.tar.gz: 4f712866457384b867c2b48b9b65f5156fba106091557b241fe9f589c78dfa73
3
+ metadata.gz: 075b66a41ee646bf81bd00db073d228c9c5d6c7255c6c7e4d8cb2eb143077170
4
+ data.tar.gz: 6a2afe6affbb5e0164e0ac9d5abd23dbb7ccf4cf5b668cf139549bd55cf11609
5
5
  SHA512:
6
- metadata.gz: 7624a6d82def32cfb528f17792db4816f16684b76c843e3d5b372696b03906b6bc7115a4374b924843dee50c6af125bf01812298e9b83f6cd54a75af6fe53b7b
7
- data.tar.gz: ea005061d9cbb6dea08b30a382b138e2e3ba4318cef2fd5f9dab38b76d77f93f239b114c743f385223c8bfd878ee6c5d0c601a09202034827f7ac2c96727a610
6
+ metadata.gz: c810ecaa40355195c3f3eda699a9aca66f40a21ea72db536f0d158cd2137c5c1626caa5fe1672e94bd484e30825d6452642e72a32eae640360badd1ad7e888e3
7
+ data.tar.gz: 24dd106b4aaaadf4dd5d746799e061bbfe67064c1f23dd25f7bb7b8f6e42a99d6dad21a44be2eaacc5a5055994047d49f08483757df2c0f16de2c1a1bbe3ddd6
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/rxfhelper.rb CHANGED
@@ -146,6 +146,13 @@ class RXFHelper < RXFileIO
146
146
  def self.objectize(contents)
147
147
 
148
148
  doctype = contents.lines.first[/(?<=^<\?)\w+/]
149
+
150
+ if doctype == 'xml' then
151
+ doc = Rexle.new(contents)
152
+ e = doc.root.element('summary/recordx_type')
153
+ doctype = e.text.to_s if e
154
+ end
155
+
149
156
  reg = RemoteDwsRegistry.new domain: 'reg.lookup', port: '9292'
150
157
  r = reg.get_key 'hkey_gems/doctype/' + doctype
151
158
 
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rxfhelper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -35,7 +35,7 @@ cert_chain:
35
35
  MrrH8cS6bqJRPQqEL1FsPmXfQpp86RvPSr0WqNSRnYEUCmqL0l2pYrXdPAyBLcji
36
36
  X1jPyhH0sl/QdPdaUnsigze+
37
37
  -----END CERTIFICATE-----
38
- date: 2022-04-23 00:00:00.000000000 Z
38
+ date: 2022-04-30 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: rsc
@@ -43,20 +43,20 @@ dependencies:
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '0.4'
46
+ version: '0.5'
47
47
  - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: 0.4.5
49
+ version: 0.5.0
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - "~>"
55
55
  - !ruby/object:Gem::Version
56
- version: '0.4'
56
+ version: '0.5'
57
57
  - - ">="
58
58
  - !ruby/object:Gem::Version
59
- version: 0.4.5
59
+ version: 0.5.0
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: remote_dwsregistry
62
62
  requirement: !ruby/object:Gem::Requirement
@@ -143,20 +143,20 @@ dependencies:
143
143
  requirements:
144
144
  - - "~>"
145
145
  - !ruby/object:Gem::Version
146
- version: '0.3'
146
+ version: '0.4'
147
147
  - - ">="
148
148
  - !ruby/object:Gem::Version
149
- version: 0.3.0
149
+ version: 0.4.1
150
150
  type: :runtime
151
151
  prerelease: false
152
152
  version_requirements: !ruby/object:Gem::Requirement
153
153
  requirements:
154
154
  - - "~>"
155
155
  - !ruby/object:Gem::Version
156
- version: '0.3'
156
+ version: '0.4'
157
157
  - - ">="
158
158
  - !ruby/object:Gem::Version
159
- version: 0.3.0
159
+ version: 0.4.1
160
160
  description:
161
161
  email: digital.robertson@gmail.com
162
162
  executables: []
metadata.gz.sig CHANGED
Binary file