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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: af1ec0e8153427da4cc7cda6a41b6e8eaf24c31a
4
- data.tar.gz: a6b2c3a62791347245cab3dd5cbfba313ac91543
3
+ metadata.gz: 176968976f4c9943146374398725031babc1c817
4
+ data.tar.gz: 8dd8d85dba7f0b47e8f379a5fee4255b1dc9231e
5
5
  SHA512:
6
- metadata.gz: e6f212f91c1f869f91769afa3c69c829353bce4978f7aee171b59389435c13f4694f53ec57c6920b5fda40e982034fbbe497fc4f35acb7b114a869e08d616aca
7
- data.tar.gz: 75ef08cd30c4ee2259bbbe462297f32cb4a0b6f1f108767b197cbd3ccf17148389e9119ab850f8278df9dc8f9ce67eb9ff25f51427479577fcb1474a372c1b04
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 'open-uri'
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
- [open(x, 'UserAgent' => 'RXFHelper',\
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.16
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-02-28 00:00:00.000000000 Z
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