requestor 0.3.0 → 0.5.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 +2 -2
- data/lib/requestor.rb +4 -4
- data.tar.gz.sig +0 -0
- metadata +34 -35
- 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: 68af52d313ca2cb7ccf72943b5ba477bdb0651227ddf5db931ff1060ed3594cc
|
4
|
+
data.tar.gz: fd21a192d88a192de091767f1227e0b8afecec53c692449f6b77e8e1929fa018
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78546f5a262ad373099d97c8aa79e15ff93969f5bc08f737e2feeb28e75b81c009f2d3acbaa4c769ea183a0a547e3d845f1146c0afb0b00ea9ed398b40c37116
|
7
|
+
data.tar.gz: 7ee6d4e440dafdb6b99275fab48ea74e70529b5657fa31d2f32acd518ed53d5224aee53f25091329ad7b97fad3a73193ed085a5d90786736b6889d9f2855644c
|
checksums.yaml.gz.sig
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
iAUx���;� !ݑ��W8�;-&,F����Jy3C��J�-'��f��$X���/}4�� �u���ns�,ց&ys$��@P#�I�[X>��Q�R�O�7��I�(�W%.�/@ "#Ȍk�>�ᶇ����'��g�m�FW�Jf?M0$��i]�\-��3�ި����ZEg��i�� Ո�6���z0};�{�`�&�Xܪ���f��[Ri��~V�ys�QG3N���4f��&�# ��3����iەt,e��+�R�ST�PJjK�:�����Wz�h÷�JxU#ԓ�����V[Ѳ���4,zL'���r�y��0Ga���H��!Qa�݁����?�
|
2
|
+
ڞ��U���Mq����6��#��� g��M�q�n���
|
data/lib/requestor.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# file: requestor.rb
|
4
4
|
|
5
|
-
require '
|
5
|
+
require 'rxfreader'
|
6
6
|
|
7
7
|
|
8
8
|
class Requestor
|
@@ -11,7 +11,7 @@ class Requestor
|
|
11
11
|
|
12
12
|
def initialize(url, debug=false)
|
13
13
|
|
14
|
-
@url = url.sub(/\/$/,'\0')
|
14
|
+
@url = url.sub(/\/$/,'\0')
|
15
15
|
@code = []
|
16
16
|
@debug = debug
|
17
17
|
|
@@ -25,13 +25,13 @@ 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 << RXFReader.read(url).first
|
29
29
|
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
33
33
|
def self.read(url, debug: false)
|
34
|
-
|
34
|
+
|
35
35
|
req = RequireX.new(url.sub(/^(?!http|dfs)/,'http://'), debug)
|
36
36
|
yield(req)
|
37
37
|
req.code
|
data.tar.gz.sig
CHANGED
Binary file
|
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.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -11,54 +11,54 @@ cert_chain:
|
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
13
|
MIIEXjCCAsagAwIBAgIBATANBgkqhkiG9w0BAQsFADAsMSowKAYDVQQDDCFnZW1t
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
+
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
14
|
+
YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMjIwMjExMTAwOTUyWhcN
|
15
|
+
MjMwMjExMTAwOTUyWjAsMS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MJEhY7sbF
|
29
|
+
3CgPeB7ZVyywTM+V+8c0Jy6wYnkK2S9iiuN9UOW9fc2hF1VEo4FflYY3ouKh1CkP
|
30
|
+
fwCdtYIacKRNt9UnApVya3SLBD6boFzMRspnPabpUCT2p9aY+7Jo73tMo1crqmte
|
31
|
+
zGKx18WfoUKg1v06U7Y+vKYvUc9VIJPwGaHXQQRIZNOKIZ9ntZVohthimncgYARr
|
32
|
+
wUxxaviLcEu+kwDHmCHZkqZH9JPriqEAEceoC486ow+/Zop8+5Oo2UK/5COZG7RG
|
33
|
+
ChRXK7B09Nxbam42GlzQXaY4J/uFEViTxDAjisrSlsPnsv9jPS/wmfUMHQyKeXfN
|
34
|
+
dSMKirEpkcWnOSTcqQsuytax1e2UGqDB6VYeuItDsBfKVA5DE65A952rWupVHV38
|
35
|
+
bqBfMkLBco/LfjEPRGs7xaQCdH2dldtI0PNXCCU8Lz81HRlxC6K/kiMhBRr9/c1K
|
36
|
+
RZOrC0QVRB1wN/Ae32FtQnfk
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date:
|
38
|
+
date: 2022-02-20 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
|
-
name:
|
41
|
+
name: rxfreader
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '0.
|
46
|
+
version: '0.1'
|
47
47
|
- - ">="
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 0.
|
49
|
+
version: 0.1.2
|
50
50
|
type: :runtime
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - "~>"
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: '0.
|
56
|
+
version: '0.1'
|
57
57
|
- - ">="
|
58
58
|
- !ruby/object:Gem::Version
|
59
|
-
version: 0.
|
59
|
+
version: 0.1.2
|
60
60
|
description:
|
61
|
-
email:
|
61
|
+
email: digital.robertson@gmail.com
|
62
62
|
executables: []
|
63
63
|
extensions: []
|
64
64
|
extra_rdoc_files: []
|
@@ -76,17 +76,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
76
76
|
requirements:
|
77
77
|
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version:
|
79
|
+
version: 3.0.2
|
80
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - ">="
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
|
-
|
87
|
-
rubygems_version: 2.7.6
|
86
|
+
rubygems_version: 3.2.22
|
88
87
|
signing_key:
|
89
88
|
specification_version: 4
|
90
|
-
summary: Reads a gem (
|
91
|
-
|
89
|
+
summary: Reads a gem (source code) from an HTTP location. Ideal for working on a gem
|
90
|
+
in the development environment.
|
92
91
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|