requestor 0.2.1 → 0.3.0
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 +4 -2
- data/lib/requestor.rb +3 -3
- metadata +23 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9bb6620ab369e2a6e6a76edff362f486cdf5c4d18c9fd26a95d9efe883b8ae4e
|
4
|
+
data.tar.gz: f663cea3f58c921bdf52065b3320145ee1fde36f1add7e1a895ba495bb2abfd0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d69146454191e65ab9e8fae5693a44bc4a504897e7c7aec66f28fe3ac67320c14fdc025c7e403d4198b29ca816462566a2014e9d49d2b79d48c01897f8164691
|
7
|
+
data.tar.gz: 849d2fcb7214ee4b26009996b635e80d2cb32e01e8c3e448fda744d08a1f928d0c6aaa56221ee000e5821f6a0932d49fb39d997940a80c621843156aac12d890
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1,2 +1,4 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
\�9��s�/�/��ۚ�=s��Y�~��Q8�4|� t�l���
|
2
|
+
�\
|
3
|
+
�'�`��Q=���Ӫ�X������R/��]/��P-zg�����n��j'�2�!;93W F�� /A��R��S./&# ��\���I`K
|
4
|
+
y�œU� R[�j�(�����V�x����s b��04�OL���&���x�L/W _M�I��+tCv�Ҏ8���`�ƽ���{��:�{��f-(tbV�ji�k����(j�$�`tfr�u�4�G��zO��(p�f'��!��o��"u'rv�$�!$�o�Z�X2��dqS\���d�Rn��jV�6Ji���F�FeԀhz+"[~���K�p\��):7������9��h����r�-ɋ��
|
data/lib/requestor.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# file: requestor.rb
|
4
4
|
|
5
|
-
require '
|
5
|
+
require 'rxfhelper'
|
6
6
|
|
7
7
|
|
8
8
|
class Requestor
|
@@ -25,14 +25,14 @@ class Requestor
|
|
25
25
|
|
26
26
|
url = "%s/%s" % [@url, name.sub(/\.rb$|$/,'.rb')]
|
27
27
|
puts 'RequireX url: ' + url.inspect if @debug
|
28
|
-
@code <<
|
28
|
+
@code << RXFHelper.read(url).first
|
29
29
|
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
33
33
|
def self.read(url, debug: false)
|
34
34
|
|
35
|
-
req = RequireX.new(url.sub(/^(?!http)/,'http://'), debug)
|
35
|
+
req = RequireX.new(url.sub(/^(?!http|dfs)/,'http://'), debug)
|
36
36
|
yield(req)
|
37
37
|
req.code
|
38
38
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: requestor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -35,8 +35,28 @@ cert_chain:
|
|
35
35
|
xmP/BpNq9fycyZ7uVOmUNQgpu/Q2dYu8T8RDGkllt6AmypKLrfwpR+FMMbscEXPV
|
36
36
|
XyxQtDpPNbJMn/bGelM5Sc02
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2018-
|
39
|
-
dependencies:
|
38
|
+
date: 2018-10-28 00:00:00.000000000 Z
|
39
|
+
dependencies:
|
40
|
+
- !ruby/object:Gem::Dependency
|
41
|
+
name: rxfhelper
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0.9'
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: 0.9.1
|
50
|
+
type: :runtime
|
51
|
+
prerelease: false
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - "~>"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '0.9'
|
57
|
+
- - ">="
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: 0.9.1
|
40
60
|
description:
|
41
61
|
email: james@jamesrobertson.eu
|
42
62
|
executables: []
|
metadata.gz.sig
CHANGED
Binary file
|