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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6709086d384ceee3f914d93abda5464dda82dd93d51e51131a7463c6cd53aca4
4
- data.tar.gz: 69c1750f264aa4a9e813b4273736036ff3044da9bf4ac7141e1f336ad97d722d
3
+ metadata.gz: eb147a7dafb5662bdf5937ac72f6b42f4d3f97a972fbb86f49ef3bae168607e8
4
+ data.tar.gz: 4163087c5330feade7af9b920f29d006193a65451ec87b08fd0257ec3adb119a
5
5
  SHA512:
6
- metadata.gz: f135fc6115bc9de4f24368ed6d0dfe7ccf682e366943217f7477b52baae40bd99b6777f928797e19d49755f6e48a8e30003eea8af5e58f8cdcceda2e10fe4d94
7
- data.tar.gz: 9ff55da403701f1311a1bd393923f355b97da47b15ac07f055e1155d766a4a687831a25fc86f61db5fc9c3a5936a4c92cb5eece60c71f6e68c3a03549ba72467
6
+ metadata.gz: 5b5a0a3da2d9d8c18276b174a3a7ba91498edd5258a0a909100dbf3c46d96a4c4457b613f77d8a1fc81ef3704b03874eeedd1b564baade91fbda2d6f617c3c96
7
+ data.tar.gz: d3b57ab06a334df24f1c5fc23888a68ca7aa841772378e5500c3ffc97e6a1188fbfd0bc85a4a738c2a2ec53c23b48fdcf304807fa920da94a0ef1f9c6b49bf9f
Binary file
data.tar.gz.sig CHANGED
@@ -1,3 +1 @@
1
- T1��CnA�&�%#s�����B��O��C'D���Bwڥ���Dk����� ��;��+C�����嫃`K,g|�s¬�
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���%
@@ -131,8 +131,9 @@ class RXFHelper
131
131
 
132
132
  def self.read(x, h={})
133
133
 
134
- opt = {debug: false, auto: false}.merge(h)
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
- obj = if (contents.lines.first =~ /<?dynarex /) and opt[:auto] then
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.0
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-11 00:00:00.000000000 Z
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.2'
82
+ version: '0.3'
83
83
  - - ">="
84
84
  - !ruby/object:Gem::Version
85
- version: 0.2.2
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.2'
92
+ version: '0.3'
93
93
  - - ">="
94
94
  - !ruby/object:Gem::Version
95
- version: 0.2.2
95
+ version: 0.3.0
96
96
  description:
97
97
  email: james@jamesrobertson.eu
98
98
  executables: []
metadata.gz.sig CHANGED
Binary file