rxfhelper 0.8.0 → 0.8.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 +1 -3
- data/lib/rxfhelper.rb +6 -2
- metadata +6 -6
- 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: eb147a7dafb5662bdf5937ac72f6b42f4d3f97a972fbb86f49ef3bae168607e8
|
4
|
+
data.tar.gz: 4163087c5330feade7af9b920f29d006193a65451ec87b08fd0257ec3adb119a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b5a0a3da2d9d8c18276b174a3a7ba91498edd5258a0a909100dbf3c46d96a4c4457b613f77d8a1fc81ef3704b03874eeedd1b564baade91fbda2d6f617c3c96
|
7
|
+
data.tar.gz: d3b57ab06a334df24f1c5fc23888a68ca7aa841772378e5500c3ffc97e6a1188fbfd0bc85a4a738c2a2ec53c23b48fdcf304807fa920da94a0ef1f9c6b49bf9f
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1,3 +1 @@
|
|
1
|
-
�
|
2
|
-
���]�
|
3
|
-
,���am���n\��j�D�}-B�
|
1
|
+
��;zm(�+Z�_ӻ�N���V�8�j-}+Q�@�{�Y��Yð#M_����Үͱ鹰N��M�~�#P��:OZ?m�$����Hತ�<��(����W(�쉤`/�N����\�� �֥��!��f�X_V�f��bv�l�p���j��ɸ��5$�r�!�[�� ��m����G�����lx�>e�i���*~����A'����:��1ac tk�P휱��\y`x�c�,r8��$XD�Ρf7���%
|
data/lib/rxfhelper.rb
CHANGED
@@ -131,8 +131,9 @@ class RXFHelper
|
|
131
131
|
|
132
132
|
def self.read(x, h={})
|
133
133
|
|
134
|
-
opt = {debug: false, auto:
|
134
|
+
opt = {debug: false, auto: true}.merge(h)
|
135
135
|
|
136
|
+
puts 'x: ' + x.inspect if opt[:debug]
|
136
137
|
raise RXFHelperException, 'nil found, expected a string' if x.nil?
|
137
138
|
|
138
139
|
if x.class.to_s =~ /Rexle$/ then
|
@@ -171,7 +172,10 @@ class RXFHelper
|
|
171
172
|
puts 'RXFHelper.read before File.read' if opt[:debug]
|
172
173
|
contents = File.read(File.expand_path(x.sub(%r{^file://}, '')))
|
173
174
|
|
174
|
-
|
175
|
+
puts 'contents: ' + contents.inspect if opt[:debug]
|
176
|
+
|
177
|
+
obj = if (contents.lines.first =~ /<?dynarex /) \
|
178
|
+
and opt[:auto] then
|
175
179
|
|
176
180
|
dx = Dynarex.new(debug: opt[:debug])
|
177
181
|
dx.import contents
|
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.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
8rLqizynNftXvmwVftEH2yQKlc6bsltIk+l2sNVht38tWANd/Zs0H6abD5zkVp2e
|
32
32
|
h6ZEatzAI88gwQ==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2018-08-
|
34
|
+
date: 2018-08-12 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rsc
|
@@ -79,20 +79,20 @@ dependencies:
|
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '0.
|
82
|
+
version: '0.3'
|
83
83
|
- - ">="
|
84
84
|
- !ruby/object:Gem::Version
|
85
|
-
version: 0.
|
85
|
+
version: 0.3.0
|
86
86
|
type: :runtime
|
87
87
|
prerelease: false
|
88
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
89
|
requirements:
|
90
90
|
- - "~>"
|
91
91
|
- !ruby/object:Gem::Version
|
92
|
-
version: '0.
|
92
|
+
version: '0.3'
|
93
93
|
- - ">="
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version: 0.
|
95
|
+
version: 0.3.0
|
96
96
|
description:
|
97
97
|
email: james@jamesrobertson.eu
|
98
98
|
executables: []
|
metadata.gz.sig
CHANGED
Binary file
|