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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/rxfhelper.rb +11 -6
- metadata +48 -24
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2cad259a33f498594c719cbdf3e1c7ab254b6aeed6a28a1af4648c0462298f5c
|
4
|
+
data.tar.gz: 52049d18766c6a9802b6c68dff3e7eba9d596dd32c0b1c1f7db590f6feb0feff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d684ef4dc5a8b28225db54fff32027a7bdafcb6e3073e1a8b1dc64ff15629fa41dfe346aaa8782ddcffb196b93253caa5644b4f9d3214c1f1af1dfe0d07680f
|
7
|
+
data.tar.gz: f85cadb6c78897db2fe92fd90c2ad3f889891b0984e6486e3fcf7cb25089831b0cf82dae9259839de5a85046bf9b99bcaa32ad09a4052c0e69c3da712ac284c9
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/rxfhelper.rb
CHANGED
@@ -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:
|
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
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
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.
|
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
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
13
|
+
MIIEXjCCAsagAwIBAgIBATANBgkqhkiG9w0BAQsFADAsMSowKAYDVQQDDCFnZW1t
|
14
|
+
YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMTgxMDE0MTQ0MzAzWhcN
|
15
|
+
MTkxMDE0MTQ0MzAzWjAsMSowKAYDVQQDDCFnZW1tYXN0ZXIvREM9amFtZXNyb2Jl
|
16
|
+
cnRzb24vREM9ZXUwggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQCsJLak
|
17
|
+
8x/b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00uBFAXzHwni1zVBUeIGHchcA53/
|
32
|
+
QqTIEl4aitO+5uQbSfuRpOfvmVWSSq91Bon3VBa6FyjwOJMpik+8/06NpJcMLUBw
|
33
|
+
mXRrg7LY28CNtewINGhRcFYN4puwy/hw9srqLfDjE8TfZst8mg1yIAz5jOa1TUn2
|
34
|
+
Cv5RLCA9jbkQUIUcftF9CEHTIJh1zQJbAWFabOm0hR6E0x8awDXr+EEkTOwYeWSv
|
35
|
+
+rB3ZZRITz3UYJX4CRAhjbCFz5Cxnpy9Vak6Qd9BWwl5Zv09QPxO3W+CIFDO+VpN
|
36
|
+
MnDB4XRJPLbz3OzpiLtqEWES
|
33
37
|
-----END CERTIFICATE-----
|
34
|
-
date: 2018-
|
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.
|
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.
|
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
|