rxfhelper 0.4.2 → 0.4.3
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 +8 -1
- data.tar.gz.sig +0 -0
- metadata +18 -18
- metadata.gz.sig +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 195986b86e0d60bb9346adfc4925779c669c9d29
|
4
|
+
data.tar.gz: 872c5ae619b89fc1d2747c69ea6923b7dffab3ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6d8a8edf06a122eca55879da55d84cb89c664d2be684f458926418b221214f111c5348079c1cc7d4c156ca5b20a506cd3f267bde331788982ba0d9eb0fbd6af
|
7
|
+
data.tar.gz: 2b0d8493c271390ac1a2e6ea6a7f45ebce027ddfa599e2591449768adb12fc353fa30abbddd7254a6ee3b087df2bf9a32ea62121f1713af534de3b26f77ee61e
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/rxfhelper.rb
CHANGED
@@ -36,7 +36,14 @@ class RXFHelper
|
|
36
36
|
if x[/\bhttps?:\/\//] then
|
37
37
|
|
38
38
|
r = GPDRequest.new(opt[:username], opt[:password]).get(x)
|
39
|
-
|
39
|
+
|
40
|
+
case r.code
|
41
|
+
when '404'
|
42
|
+
raise(RXFHelperException, "404 %s not found" % x)
|
43
|
+
when '401'
|
44
|
+
raise(RXFHelperException, "401 %s unauthorized access" % x)
|
45
|
+
end
|
46
|
+
|
40
47
|
[r.body, :url]
|
41
48
|
|
42
49
|
elsif x[/^file:\/\//] or File.exists?(x) then
|
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.4.
|
4
|
+
version: 0.4.3
|
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
|
-
|
15
|
+
8ixkARkWAmV1MB4XDTE3MDkyNTE0MzA0MloXDTE4MDkyNTE0MzA0MlowSDESMBAG
|
16
16
|
A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
|
17
17
|
EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
18
|
+
ggEBAMdACA54a0yqDE0L/6NxZ7tQw9TBcRSogScgGIHLL8bePHkTocB9iLRamThr
|
19
|
+
chevPiMNSPy4UYHSfYMawr+Ig3sgWSQTx/yhrGgL80gE6h7BVlJuTPe3n8tIG/JS
|
20
|
+
f3iLSwHy5arLv8SCmeRinHsQmAMufvLqFfgizSlWiuC0nMvWEh3lKVNuos8CsaGh
|
21
|
+
Ts31vckrkapnLxz/oAgqgd1nKGPORIjJk25bB4jrdEk1lXPZfCMyl3WwnsrF5DuU
|
22
|
+
TLIt12jq/MzbukoZ/uaaTkuKyR7PrGwl0i4vZaPPHxqp03lKot4BQamC0egFRhW+
|
23
|
+
kX+CKSPXRq4QT2lwO1dEp0lOzAcCAwEAAaOBijCBhzAJBgNVHRMEAjAAMAsGA1Ud
|
24
|
+
DwQEAwIEsDAdBgNVHQ4EFgQUQaeDHKfDxLygk5G+uhIobH6UPV4wJgYDVR0RBB8w
|
25
25
|
HYEbZ2VtbWFzdGVyQGphbWVzcm9iZXJ0c29uLmV1MCYGA1UdEgQfMB2BG2dlbW1h
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
26
|
+
c3RlckBqYW1lc3JvYmVydHNvbi5ldTANBgkqhkiG9w0BAQUFAAOCAQEAiEmoVTLb
|
27
|
+
P8HbSfkdg3gAQ+zrBQAvI9OT8l3P9NrJUKk7ktBoNzdTnsTN1E9T9ccmQJPx/W4C
|
28
|
+
eX0oxwBZfJXxc1h9Y4KxN9L8yvz1EaCDYEDBLgD4Qfo0WLKifEdV6Q+66JwuqtD0
|
29
|
+
yFh2EfrZO+Sd4wwgfAoUwwjLLCOYJ18lngofgyNaAGLML51+ihU/D1N2kZ3IpC2e
|
30
|
+
l6JpH8ibBE1LkvveLH6/vaW3zNNqmv3/XUNdhjGi7Uo/2zlvTdqAsJ3+QUSRjjnN
|
31
|
+
8rLqizynNftXvmwVftEH2yQKlc6bsltIk+l2sNVht38tWANd/Zs0H6abD5zkVp2e
|
32
|
+
h6ZEatzAI88gwQ==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2017-
|
34
|
+
date: 2017-09-25 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: gpd-request
|
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
version: '0'
|
81
81
|
requirements: []
|
82
82
|
rubyforge_project:
|
83
|
-
rubygems_version: 2.6.
|
83
|
+
rubygems_version: 2.6.13
|
84
84
|
signing_key:
|
85
85
|
specification_version: 4
|
86
86
|
summary: Helpful library for primarily reading the contents of a file either from
|
metadata.gz.sig
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
�FuM������w�/��,Gn�k��a=�:/�aV� ����D���ǔ��d&��\�}��p]
|
2
|
+
�Bԟ)��Z���ƲL�Z@���h�V����8N��hr��6�m����f� �"�4�{�0�x�����'�A��4W�����QeB����|;X��e���y��6����T^�ݜ�s�)�H0�H��˷�S�^ qT�0��$�$�k��q{��0�����A�.�����y��?�a8)��
|