rxfhelper 0.5.0 → 0.5.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 +17 -0
- metadata +4 -4
- 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: e624b70b870ec8bf32d48e91e759d89b987273ef
|
4
|
+
data.tar.gz: e74b5f153d2d5033e040d6b7d6b872f6528127ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6a4cb780b6834c0acb1e187ec4643214886b553b62b9218467d63d61ab58efc54ed79ce5dac036c32b6779e60076bd5d1bb8513c6424f703c443aa6aa06f47e
|
7
|
+
data.tar.gz: 3e5d13f8b4a613131aae22c088435082a1ebc0c250a382e5358c1097e722cba10cc810573de4709d22d2e1e6ac8aa35a3e4eaaf65cd39eb067810ca08645128b
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/rxfhelper.rb
CHANGED
@@ -89,6 +89,23 @@ class RXFHelper
|
|
89
89
|
File.write(uri, s)
|
90
90
|
end
|
91
91
|
end
|
92
|
+
|
93
|
+
def self.writeable?(source)
|
94
|
+
|
95
|
+
return false if source.lines.length > 1
|
96
|
+
|
97
|
+
if not source =~ /:\/\// then
|
98
|
+
|
99
|
+
return true if File.exists? source
|
100
|
+
|
101
|
+
else
|
102
|
+
|
103
|
+
return true if source =~ /^dfs:/
|
104
|
+
|
105
|
+
end
|
106
|
+
|
107
|
+
return false
|
108
|
+
end
|
92
109
|
|
93
110
|
def self.absolute_url(page_url, item_location)
|
94
111
|
|
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.5.
|
4
|
+
version: 0.5.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-
|
34
|
+
date: 2018-03-17 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: gpd-request
|
@@ -62,7 +62,7 @@ dependencies:
|
|
62
62
|
version: '0.1'
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: 0.1.
|
65
|
+
version: 0.1.1
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
68
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -72,7 +72,7 @@ dependencies:
|
|
72
72
|
version: '0.1'
|
73
73
|
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.1.
|
75
|
+
version: 0.1.1
|
76
76
|
description:
|
77
77
|
email: james@jamesrobertson.eu
|
78
78
|
executables: []
|
metadata.gz.sig
CHANGED
Binary file
|