rxfhelper 0.1.8 → 0.1.9
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 +9 -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: 11f2189385ef1553bd3ebda9935750513eb0d597
|
4
|
+
data.tar.gz: 1ade4f7b3c51341718e14083b95ecadb036fd9de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3da84851dd49b413aeaf0c954add3532c751bec9e391dbc308876eb6a8bc0cde8af8a8ccb8df3b62b4ab9cce36521bdbc4c887684e4263b46cc5ed2dbe10175a
|
7
|
+
data.tar.gz: 4038477cd1d8eb04e4b8d378076d16fc20358bb063995a2ba47364656b25c5513a0c81eb14324e675ab27e91ff1d19ae8d294a5971fe423307acfa48f91f9c07
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/rxfhelper.rb
CHANGED
@@ -4,6 +4,14 @@
|
|
4
4
|
|
5
5
|
require 'open-uri'
|
6
6
|
|
7
|
+
class URL
|
8
|
+
|
9
|
+
def self.join(*a)
|
10
|
+
a.map {|x| x.sub(/(?:^\/|\/$)/,'') }.join '/'
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
|
7
15
|
# Read XML File Helper
|
8
16
|
#
|
9
17
|
class RXFHelper
|
@@ -26,7 +34,7 @@ class RXFHelper
|
|
26
34
|
case item_location
|
27
35
|
|
28
36
|
when /^\//
|
29
|
-
|
37
|
+
URL.join page_url[/https?:\/\/[^\/]+/], item_location
|
30
38
|
|
31
39
|
when /^http/
|
32
40
|
item_location
|
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.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -29,7 +29,7 @@ cert_chain:
|
|
29
29
|
3grI/G0AtKTAIxwzUSREdcTW8YLIXYWYIpyRKiQmAXMwaCWhArKClhk1rXMUcWcr
|
30
30
|
wW03NZkjdRs2OHCClcThRcBXSEZpKXht
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date: 2013-08-
|
32
|
+
date: 2013-08-26 00:00:00.000000000 Z
|
33
33
|
dependencies: []
|
34
34
|
description:
|
35
35
|
email: james@r0bertson.co.uk
|
metadata.gz.sig
CHANGED
Binary file
|