rxfhelper 0.1.14 → 0.1.16
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 +4 -1
- 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: af1ec0e8153427da4cc7cda6a41b6e8eaf24c31a
|
4
|
+
data.tar.gz: a6b2c3a62791347245cab3dd5cbfba313ac91543
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6f212f91c1f869f91769afa3c69c829353bce4978f7aee171b59389435c13f4694f53ec57c6920b5fda40e982034fbbe497fc4f35acb7b114a869e08d616aca
|
7
|
+
data.tar.gz: 75ef08cd30c4ee2259bbbe462297f32cb4a0b6f1f108767b197cbd3ccf17148389e9119ab850f8278df9dc8f9ce67eb9ff25f51427479577fcb1474a372c1b04
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/rxfhelper.rb
CHANGED
@@ -17,7 +17,7 @@ end
|
|
17
17
|
class RXFHelper
|
18
18
|
|
19
19
|
def self.read(x, opt={})
|
20
|
-
|
20
|
+
|
21
21
|
if x.strip[/^</] then
|
22
22
|
|
23
23
|
[x, :xml]
|
@@ -31,9 +31,12 @@ class RXFHelper
|
|
31
31
|
|
32
32
|
elsif x[/^file:\/\//] or File.exists?(x) then
|
33
33
|
[File.read(File.expand_path(x.sub(%r{^file://}, ''))), :file]
|
34
|
+
else
|
35
|
+
[x, :unknown]
|
34
36
|
end
|
35
37
|
|
36
38
|
else
|
39
|
+
|
37
40
|
[x, :unknown]
|
38
41
|
end
|
39
42
|
end
|
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.1.
|
4
|
+
version: 0.1.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
O2RItQ7fvC2yqgMhC3aFvYuyzVvCCVfpaXF27fmYJxwTDx2nzFloTDly/N5dz65L
|
32
32
|
IYLfAtXr6xii9w==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2015-
|
34
|
+
date: 2015-02-28 00:00:00.000000000 Z
|
35
35
|
dependencies: []
|
36
36
|
description:
|
37
37
|
email: james@r0bertson.co.uk
|
metadata.gz.sig
CHANGED
Binary file
|