rxfhelper 0.7.0 → 0.7.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/lib/rxfhelper.rb +18 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef573cc21923c6b030e8ca305635383b679b42c2
|
4
|
+
data.tar.gz: 3a27cd4abf3919e8a8564ce447fedb93145b4025
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7d5243af01a2692287ad00e8250be1817bdda0e0569a11ebb321086486d44fd36c986c06a1fe6a96ebfdba317416fa5254ba9ee806c8661dc9883b8182331f1
|
7
|
+
data.tar.gz: f4e7dbaf8b80cdd972181505958b4310e7849858ef05fc3a88dd23f83a32962ac48f51cabc5a4134e295a17a899a4aafb7b77b75efafd83cddf66e11c281b254
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/rxfhelper.rb
CHANGED
@@ -120,9 +120,26 @@ class RXFHelper
|
|
120
120
|
[DfsFile.read(x), :dfs]
|
121
121
|
|
122
122
|
elsif x[/^rse:\/\//] then
|
123
|
+
|
123
124
|
[RSC.new.get(x), :rse]
|
125
|
+
|
124
126
|
elsif x[/^file:\/\//] or File.exists?(x) then
|
125
|
-
|
127
|
+
|
128
|
+
contents = File.read(File.expand_path(x.sub(%r{^file://}, '')))
|
129
|
+
|
130
|
+
obj = if contents.lines.first =~ /<?dynarex / then
|
131
|
+
|
132
|
+
dx = Dynarex.new()
|
133
|
+
dx.import contents
|
134
|
+
|
135
|
+
else
|
136
|
+
|
137
|
+
contents
|
138
|
+
|
139
|
+
end
|
140
|
+
|
141
|
+
[obj, :file]
|
142
|
+
|
126
143
|
elsif x =~ /\s/
|
127
144
|
[x, :text]
|
128
145
|
else
|
data.tar.gz.sig
CHANGED
Binary file
|
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.7.
|
4
|
+
version: 0.7.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-05
|
34
|
+
date: 2018-08-05 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rsc
|
metadata.gz.sig
CHANGED
Binary file
|