rxfhelper 0.9.0 → 0.9.1
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 -3
- metadata +6 -26
- 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: 9e1e52810e2517ff7876a47943781bf3fd7ff1220d883f0eb78a380d5e58e0d8
|
4
|
+
data.tar.gz: 4e3ba3c6dcc781f6fd497caf5dad53c6b7f67312c7a6c7d3ffff07ecc3a67745
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5627fe3e97c9453fa1dac8ce8ffaa140be430096a9492306830ffb0578c138be9e6ba47e73b56179640ad44378b71e3638566a772846b41b808ccade77c5f4e4
|
7
|
+
data.tar.gz: 4aaba1cd307cc62420ea24cc25f2032a2c044c260302d32987c4f3aac4339b2372800563d7867a6b2e790546e52e7059558f6959b0e40a20b9e679f494384caf
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/rxfhelper.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# file: rxfhelper.rb
|
4
4
|
|
5
5
|
require 'rsc'
|
6
|
-
require 'gpd-request'
|
6
|
+
#require 'gpd-request'
|
7
7
|
require 'drb_fileclient'
|
8
8
|
require 'remote_dwsregistry'
|
9
9
|
|
@@ -208,7 +208,9 @@ class RXFHelper
|
|
208
208
|
puts 'RXFHelper.read before File.read' if opt[:debug]
|
209
209
|
contents = File.read(File.expand_path(x.sub(%r{^file://}, '')))
|
210
210
|
|
211
|
-
puts '
|
211
|
+
puts 'contents2: ' + contents.inspect if opt[:debug]
|
212
|
+
|
213
|
+
puts 'opt: ' + opt.inspect if opt[:debug]
|
212
214
|
|
213
215
|
obj = if opt[:auto] then
|
214
216
|
|
@@ -216,9 +218,15 @@ class RXFHelper
|
|
216
218
|
reg = RemoteDwsRegistry.new domain: 'reg', port: '9292'
|
217
219
|
r = reg.get_key 'hkey_gems/doctype/' + doctype
|
218
220
|
|
221
|
+
puts 'r: ' + r.inspect if opt[:debug]
|
222
|
+
|
219
223
|
return contents unless r
|
220
224
|
|
221
|
-
|
225
|
+
require r.text('require')
|
226
|
+
|
227
|
+
obj = Object.const_get(r.text('class')).new
|
228
|
+
obj.import contents
|
229
|
+
obj
|
222
230
|
|
223
231
|
else
|
224
232
|
|
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.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
+rB3ZZRITz3UYJX4CRAhjbCFz5Cxnpy9Vak6Qd9BWwl5Zv09QPxO3W+CIFDO+VpN
|
36
36
|
MnDB4XRJPLbz3OzpiLtqEWES
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2018-10-
|
38
|
+
date: 2018-10-15 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: rsc
|
@@ -57,26 +57,6 @@ dependencies:
|
|
57
57
|
- - ">="
|
58
58
|
- !ruby/object:Gem::Version
|
59
59
|
version: 0.4.1
|
60
|
-
- !ruby/object:Gem::Dependency
|
61
|
-
name: gpd-request
|
62
|
-
requirement: !ruby/object:Gem::Requirement
|
63
|
-
requirements:
|
64
|
-
- - "~>"
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
version: '0.3'
|
67
|
-
- - ">="
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: 0.3.0
|
70
|
-
type: :runtime
|
71
|
-
prerelease: false
|
72
|
-
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
requirements:
|
74
|
-
- - "~>"
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: '0.3'
|
77
|
-
- - ">="
|
78
|
-
- !ruby/object:Gem::Version
|
79
|
-
version: 0.3.0
|
80
60
|
- !ruby/object:Gem::Dependency
|
81
61
|
name: drb_fileclient
|
82
62
|
requirement: !ruby/object:Gem::Requirement
|
@@ -103,20 +83,20 @@ dependencies:
|
|
103
83
|
requirements:
|
104
84
|
- - "~>"
|
105
85
|
- !ruby/object:Gem::Version
|
106
|
-
version: '0.
|
86
|
+
version: '0.4'
|
107
87
|
- - ">="
|
108
88
|
- !ruby/object:Gem::Version
|
109
|
-
version: 0.
|
89
|
+
version: 0.4.0
|
110
90
|
type: :runtime
|
111
91
|
prerelease: false
|
112
92
|
version_requirements: !ruby/object:Gem::Requirement
|
113
93
|
requirements:
|
114
94
|
- - "~>"
|
115
95
|
- !ruby/object:Gem::Version
|
116
|
-
version: '0.
|
96
|
+
version: '0.4'
|
117
97
|
- - ">="
|
118
98
|
- !ruby/object:Gem::Version
|
119
|
-
version: 0.
|
99
|
+
version: 0.4.0
|
120
100
|
description:
|
121
101
|
email: james@jamesrobertson.eu
|
122
102
|
executables: []
|
metadata.gz.sig
CHANGED
Binary file
|