rxfhelper 0.1.16 → 0.2.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 +2 -3
- metadata +23 -3
- 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: 176968976f4c9943146374398725031babc1c817
|
4
|
+
data.tar.gz: 8dd8d85dba7f0b47e8f379a5fee4255b1dc9231e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11048f5ccfcc1019acba2780a4a0d325f64fe3310eedc640f29bb2a72b0bc17b39e4fe88fc681f750a8720a5a86942394b02313f3ae2e0a3ea187ce467ea6e39
|
7
|
+
data.tar.gz: 31f33d8f488d225d3e6d0c9e3799c22c0ae240d56c8c99d28eed7683872b5dda93d86070d3c2c7accb2822378f50d1b7309eef46bc7f8826bc6a99836c6a1a8f
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/rxfhelper.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# file: rxfhelper.rb
|
4
4
|
|
5
|
-
require '
|
5
|
+
require 'gpd-request'
|
6
6
|
|
7
7
|
class URL
|
8
8
|
|
@@ -26,8 +26,7 @@ class RXFHelper
|
|
26
26
|
|
27
27
|
if x.strip[/^https?:\/\//] then
|
28
28
|
|
29
|
-
[
|
30
|
-
http_basic_authentication: [opt[:username], opt[:password]]).read, :url]
|
29
|
+
[GPDRequest.new(opt[:username], opt[:password]).get(x).body, :url]
|
31
30
|
|
32
31
|
elsif x[/^file:\/\//] or File.exists?(x) then
|
33
32
|
[File.read(File.expand_path(x.sub(%r{^file://}, ''))), :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.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,8 +31,28 @@ cert_chain:
|
|
31
31
|
O2RItQ7fvC2yqgMhC3aFvYuyzVvCCVfpaXF27fmYJxwTDx2nzFloTDly/N5dz65L
|
32
32
|
IYLfAtXr6xii9w==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2015-
|
35
|
-
dependencies:
|
34
|
+
date: 2015-03-01 00:00:00.000000000 Z
|
35
|
+
dependencies:
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: gpd-request
|
38
|
+
requirement: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - "~>"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '0.2'
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 0.2.5
|
46
|
+
type: :runtime
|
47
|
+
prerelease: false
|
48
|
+
version_requirements: !ruby/object:Gem::Requirement
|
49
|
+
requirements:
|
50
|
+
- - "~>"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '0.2'
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: 0.2.5
|
36
56
|
description:
|
37
57
|
email: james@r0bertson.co.uk
|
38
58
|
executables: []
|
metadata.gz.sig
CHANGED
Binary file
|