rxfhelper 0.2.1 → 0.2.2

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: 176968976f4c9943146374398725031babc1c817
4
- data.tar.gz: 8dd8d85dba7f0b47e8f379a5fee4255b1dc9231e
3
+ metadata.gz: 29d479417a82b34eecb4393bfe6a7c94d4e0d8a8
4
+ data.tar.gz: d2331712b8c599e1ce58cc8ddacdc210334aa91d
5
5
  SHA512:
6
- metadata.gz: 11048f5ccfcc1019acba2780a4a0d325f64fe3310eedc640f29bb2a72b0bc17b39e4fe88fc681f750a8720a5a86942394b02313f3ae2e0a3ea187ce467ea6e39
7
- data.tar.gz: 31f33d8f488d225d3e6d0c9e3799c22c0ae240d56c8c99d28eed7683872b5dda93d86070d3c2c7accb2822378f50d1b7309eef46bc7f8826bc6a99836c6a1a8f
6
+ metadata.gz: 284c958b0a44730e4086628a8ec49dd2f074d37d20b1fe91b997acbe8beea55fb487c924ae780473c66a3fec432ce0cd5f98f1bb566339faea77f5684ee93b5f
7
+ data.tar.gz: 97db794d79f47da44c64b310c41e16895f006b96961076c4a27b6eb229b67f3c56d6512ba74733bdba718f371b908d4416e3554b5995529d1d3370be3745e220
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/rxfhelper.rb CHANGED
@@ -25,8 +25,10 @@ class RXFHelper
25
25
  elsif x.lines.length == 1 then
26
26
 
27
27
  if x.strip[/^https?:\/\//] then
28
-
29
- [GPDRequest.new(opt[:username], opt[:password]).get(x).body, :url]
28
+
29
+ r = GPDRequest.new(opt[:username], opt[:password]).get(x)
30
+ raise("RXFHelper: 404 %s not found" % x) if r.code == '404'
31
+ [r.body, :url]
30
32
 
31
33
  elsif x[/^file:\/\//] or File.exists?(x) then
32
34
  [File.read(File.expand_path(x.sub(%r{^file://}, ''))), :file]
data.tar.gz.sig CHANGED
@@ -1,2 +1 @@
1
- D���R�F�$_L$������������gH/�ч؂����
2
- �;�������RQ�ڤ]�ֹ꭛� ��K�Y��� ��.<kb�Lp�z��SP������[���� �y�x��ï��*�� ��W���1/�2�"��������k��x�[�^��1�ge=�h(���^��T{(K���(�X$�=��l��&`��t����ٝ�1�� ��LNu����l������<��&��/P��b+�Dg�r�8��"
1
+ �s�2��.PSjy����m^?�7n�Jb�Km"����~ gS��I
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.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -12,26 +12,26 @@ cert_chain:
12
12
  -----BEGIN CERTIFICATE-----
13
13
  MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
14
14
  YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
15
- 8ixkARkWAmV1MB4XDTE0MDMxMzIzMjQyMVoXDTE1MDMxMzIzMjQyMVowSDESMBAG
15
+ 8ixkARkWAmV1MB4XDTE1MDMxNDEwMDAyOFoXDTE2MDMxMzEwMDAyOFowSDESMBAG
16
16
  A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
17
17
  EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
18
- ggEBAMzwCpdaNl/lVEiVFL1rkVDlOkSxmM7F26HXqPcfTvUHqOIn5ZWvYijoB5yz
19
- auK1OG+ixNTWwiDjHVPLqhu8Pc/TroIKaeKUj8gE6lFeyvrB6+U2/d/f3S+8rpoF
20
- nmiLF3DZwYAdz4g0FVLYuLDHoVCtrrJWUriUesASroCFcE80EKmOYRM/13SLHJka
21
- Kqz2syz6SzXshmh3txMbCY/pVcIKI4GR3U4hzyQyGiYiCd0IzbFdA+RndS1Sn9xA
22
- C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wEDaxBkmY03ZLHgvewyBc0
31
- O2RItQ7fvC2yqgMhC3aFvYuyzVvCCVfpaXF27fmYJxwTDx2nzFloTDly/N5dz65L
32
- IYLfAtXr6xii9w==
26
+ c3RlckBqYW1lc3JvYmVydHNvbi5ldTANBgkqhkiG9w0BAQUFAAOCAQEAQOvutOqq
27
+ PkCH2jVCRpr8vpLmwiujjuYw0GCzd+CkWxhpyZoGJc6XE5H8xAj2Jg/Aa4ZZudky
28
+ xso9MIT1joYj2Mbz1NsajAbPR4AGfTDA5mnEOLR8HalgZhc2cJDU10faPa3XRRUH
29
+ luXo+LSa6EfSxOBeyGTlUqq4a6/nWt8oNsdQ+WpqjJ2tSF+KYjqliwROXBByGO4O
30
+ PDrC4K3FoPtmp2WdXwH+GRfpE+k63JgQAvll8kOOmRALna7rlzZZ/iTGD8CvdyvQ
31
+ caL2MSFLuiF0IR8Ho5X0N6SkrjezLbh+zO5p3v2O5gs/DRqRfmdV7F2/Ikal+llq
32
+ r8Hg8HwZokGPaQ==
33
33
  -----END CERTIFICATE-----
34
- date: 2015-03-01 00:00:00.000000000 Z
34
+ date: 2015-03-14 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: gpd-request
metadata.gz.sig CHANGED
Binary file