requestor 0.2.0 → 0.4.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/lib/requestor.rb +6 -6
- data.tar.gz.sig +0 -0
- metadata +50 -30
- 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: d9ee3a5222ca60392953a1d229e07c017c5b1e59e4e0d28a2b2447090ee89ae9
|
4
|
+
data.tar.gz: bfba0da5986e8f4e7b586a4b67e1c503d212ed3209015fdce1662dbe3cc34e51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c81d56f71ab3a52178671db1254d7530e1db5f05a949792cf6b489327f32a7b57186d0def5ecaa7e8143c0734ea0aa88a9b22ea90eac8b54288062c6ec5d7e5
|
7
|
+
data.tar.gz: 59d60b6b35d54c022796461fa36cffa88724e4a54f710646a9904fc250534910d072ec3ec44de0672957e43a66fdc67bfeac54038311350ead853549c7c71923
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
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
|
@@ -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
|
|
@@ -23,16 +23,16 @@ class Requestor
|
|
23
23
|
|
24
24
|
def require(name)
|
25
25
|
|
26
|
-
url = "%s/%s
|
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
|
-
|
35
|
-
req = RequireX.new(url.sub(/^(?!http)/,'http://'), debug)
|
34
|
+
|
35
|
+
req = RequireX.new(url.sub(/^(?!http|dfs)/,'http://'), debug)
|
36
36
|
yield(req)
|
37
37
|
req.code
|
38
38
|
|
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.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -11,34 +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
|
+
MjMwMjExMTAwOTUyWjAsMSowKAYDVQQDDCFnZW1tYXN0ZXIvREM9amFtZXNyb2Jl
|
16
|
+
cnRzb24vREM9ZXUwggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQCy8BrM
|
17
|
+
IJgA2Bo17EHwwSCymcSCKE8eVLrko+zIueGUvfZkPhXyjEHQP4Zo3uaAbYKhyzaK
|
18
|
+
GLlyyZVP9uzsZE+OeHLAp8+IhrOHk6EwfzPtB7JSOUZX+8Tid4BtHv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ZH9JPriqEAEceoC486ow+/Zop8+5Oo2UK/5COZG7RG
|
33
|
+
ChRXK7B09Nxbam42GlzQXaY4J/uFEViTxDAjisrSlsPnsv9jPS/wmfUMHQyKeXfN
|
34
|
+
dSMKirEpkcWnOSTcqQsuytax1e2UGqDB6VYeuItDsBfKVA5DE65A952rWupVHV38
|
35
|
+
bqBfMkLBco/LfjEPRGs7xaQCdH2dldtI0PNXCCU8Lz81HRlxC6K/kiMhBRr9/c1K
|
36
|
+
RZOrC0QVRB1wN/Ae32FtQnfk
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date:
|
39
|
-
dependencies:
|
38
|
+
date: 2022-02-11 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: '1.3'
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: 1.3.1
|
50
|
+
type: :runtime
|
51
|
+
prerelease: false
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - "~>"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '1.3'
|
57
|
+
- - ">="
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: 1.3.1
|
40
60
|
description:
|
41
|
-
email:
|
61
|
+
email: digital.robertson@gmail.com
|
42
62
|
executables: []
|
43
63
|
extensions: []
|
44
64
|
extra_rdoc_files: []
|
@@ -56,7 +76,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
56
76
|
requirements:
|
57
77
|
- - ">="
|
58
78
|
- !ruby/object:Gem::Version
|
59
|
-
version:
|
79
|
+
version: 3.0.2
|
60
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
61
81
|
requirements:
|
62
82
|
- - ">="
|
@@ -64,9 +84,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
84
|
version: '0'
|
65
85
|
requirements: []
|
66
86
|
rubyforge_project:
|
67
|
-
rubygems_version: 2.7.
|
87
|
+
rubygems_version: 2.7.10
|
68
88
|
signing_key:
|
69
89
|
specification_version: 4
|
70
|
-
summary: Reads a gem (
|
71
|
-
on a gem in the development environment.
|
90
|
+
summary: Reads a gem (in the development environment) from an HTTP location. Ideal
|
91
|
+
for working on a gem in the development environment.
|
72
92
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|