rxfhelper 0.8.7 → 0.9.0

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: 61c7ce8b5400696c0f395d49df12943b6e49abd0e9fccf7564a8b25302ab4128
4
- data.tar.gz: 69cdc755e5a225a853a8491f041044464534a6e060ccdba105242211dc7ac87a
3
+ metadata.gz: 2cad259a33f498594c719cbdf3e1c7ab254b6aeed6a28a1af4648c0462298f5c
4
+ data.tar.gz: 52049d18766c6a9802b6c68dff3e7eba9d596dd32c0b1c1f7db590f6feb0feff
5
5
  SHA512:
6
- metadata.gz: 68aa768aaff7f63f38d47181e9befebf3321fb4c86fa17b0d7734c6fb8cc7cd74626ed3500b08538247a9e2514bd5346285171e7ea73ba327e298ce22e3cc7ee
7
- data.tar.gz: cc7fa3de07dbf8d575a4ebe7441e88bd915d2bc544c88d1af9e9a46530a8d5b17bafa6962bc0748de9f3a3072b0ff070c6bfd613a023d92e8f7293e0665213e7
6
+ metadata.gz: 8d684ef4dc5a8b28225db54fff32027a7bdafcb6e3073e1a8b1dc64ff15629fa41dfe346aaa8782ddcffb196b93253caa5644b4f9d3214c1f1af1dfe0d07680f
7
+ data.tar.gz: f85cadb6c78897db2fe92fd90c2ad3f889891b0984e6486e3fcf7cb25089831b0cf82dae9259839de5a85046bf9b99bcaa32ad09a4052c0e69c3da712ac284c9
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -5,6 +5,7 @@
5
5
  require 'rsc'
6
6
  require 'gpd-request'
7
7
  require 'drb_fileclient'
8
+ require 'remote_dwsregistry'
8
9
 
9
10
 
10
11
  module RXFHelperModule
@@ -166,7 +167,7 @@ class RXFHelper
166
167
 
167
168
  def self.read(x, h={})
168
169
 
169
- opt = {debug: false, auto: true}.merge(h)
170
+ opt = {debug: false, auto: false}.merge(h)
170
171
 
171
172
  puts 'x: ' + x.inspect if opt[:debug]
172
173
  raise RXFHelperException, 'nil found, expected a string' if x.nil?
@@ -209,11 +210,15 @@ class RXFHelper
209
210
 
210
211
  puts 'contents: ' + contents.inspect if opt[:debug]
211
212
 
212
- obj = if (contents.lines.first =~ /<?dynarex /) \
213
- and opt[:auto] then
214
-
215
- dx = Dynarex.new(debug: opt[:debug])
216
- dx.import contents
213
+ obj = if opt[:auto] then
214
+
215
+ doctype = contents.lines.first[/(?<=^<\?)\w+/]
216
+ reg = RemoteDwsRegistry.new domain: 'reg', port: '9292'
217
+ r = reg.get_key 'hkey_gems/doctype/' + doctype
218
+
219
+ return contents unless r
220
+
221
+ Object.const_get(r.text('class')).new.import contents
217
222
 
218
223
  else
219
224
 
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: 0.8.7
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -10,28 +10,32 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
14
- YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
15
- 8ixkARkWAmV1MB4XDTE3MDkyNTE0MzA0MloXDTE4MDkyNTE0MzA0MlowSDESMBAG
16
- A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
17
- EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
18
- ggEBAMdACA54a0yqDE0L/6NxZ7tQw9TBcRSogScgGIHLL8bePHkTocB9iLRamThr
19
- chevPiMNSPy4UYHSfYMawr+Ig3sgWSQTx/yhrGgL80gE6h7BVlJuTPe3n8tIG/JS
20
- f3iLSwHy5arLv8SCmeRinHsQmAMufvLqFfgizSlWiu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IEl4aitO+5uQbSfuRpOfvmVWSSq91Bon3VBa6FyjwOJMpik+8/06NpJcMLUBw
33
+ mXRrg7LY28CNtewINGhRcFYN4puwy/hw9srqLfDjE8TfZst8mg1yIAz5jOa1TUn2
34
+ Cv5RLCA9jbkQUIUcftF9CEHTIJh1zQJbAWFabOm0hR6E0x8awDXr+EEkTOwYeWSv
35
+ +rB3ZZRITz3UYJX4CRAhjbCFz5Cxnpy9Vak6Qd9BWwl5Zv09QPxO3W+CIFDO+VpN
36
+ MnDB4XRJPLbz3OzpiLtqEWES
33
37
  -----END CERTIFICATE-----
34
- date: 2018-08-28 00:00:00.000000000 Z
38
+ date: 2018-10-14 00:00:00.000000000 Z
35
39
  dependencies:
36
40
  - !ruby/object:Gem::Dependency
37
41
  name: rsc
@@ -82,7 +86,7 @@ dependencies:
82
86
  version: '0.4'
83
87
  - - ">="
84
88
  - !ruby/object:Gem::Version
85
- version: 0.4.4
89
+ version: 0.4.5
86
90
  type: :runtime
87
91
  prerelease: false
88
92
  version_requirements: !ruby/object:Gem::Requirement
@@ -92,7 +96,27 @@ dependencies:
92
96
  version: '0.4'
93
97
  - - ">="
94
98
  - !ruby/object:Gem::Version
95
- version: 0.4.4
99
+ version: 0.4.5
100
+ - !ruby/object:Gem::Dependency
101
+ name: remote_dwsregistry
102
+ requirement: !ruby/object:Gem::Requirement
103
+ requirements:
104
+ - - "~>"
105
+ - !ruby/object:Gem::Version
106
+ version: '0.3'
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: 0.3.0
110
+ type: :runtime
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: '0.3'
117
+ - - ">="
118
+ - !ruby/object:Gem::Version
119
+ version: 0.3.0
96
120
  description:
97
121
  email: james@jamesrobertson.eu
98
122
  executables: []
metadata.gz.sig CHANGED
Binary file