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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9bb6620ab369e2a6e6a76edff362f486cdf5c4d18c9fd26a95d9efe883b8ae4e
4
- data.tar.gz: f663cea3f58c921bdf52065b3320145ee1fde36f1add7e1a895ba495bb2abfd0
3
+ metadata.gz: 68af52d313ca2cb7ccf72943b5ba477bdb0651227ddf5db931ff1060ed3594cc
4
+ data.tar.gz: fd21a192d88a192de091767f1227e0b8afecec53c692449f6b77e8e1929fa018
5
5
  SHA512:
6
- metadata.gz: d69146454191e65ab9e8fae5693a44bc4a504897e7c7aec66f28fe3ac67320c14fdc025c7e403d4198b29ca816462566a2014e9d49d2b79d48c01897f8164691
7
- data.tar.gz: 849d2fcb7214ee4b26009996b635e80d2cb32e01e8c3e448fda744d08a1f928d0c6aaa56221ee000e5821f6a0932d49fb39d997940a80c621843156aac12d890
6
+ metadata.gz: 78546f5a262ad373099d97c8aa79e15ff93969f5bc08f737e2feeb28e75b81c009f2d3acbaa4c769ea183a0a547e3d845f1146c0afb0b00ea9ed398b40c37116
7
+ data.tar.gz: 7ee6d4e440dafdb6b99275fab48ea74e70529b5657fa31d2f32acd518ed53d5224aee53f25091329ad7b97fad3a73193ed085a5d90786736b6889d9f2855644c
checksums.yaml.gz.sig CHANGED
@@ -1,2 +1,2 @@
1
- Y_r\ ���A�#�"�D\�v9DH���� ��
2
- �����߱���H���0p�*S� ú��rZy��5�)��+��o�^���$�|Ewĥ��{YnI̖���"��M�#�S��� 'Onk���#A� 9+�6��S���5� 7�Qy� z�^)�
1
+ iAUx���;� ! ݑ��W8�;-&,F����Jy3C��J�-'��f��$X���/}4�� �u���ns�,ց&ys$��@P#�I�[X>��Q�R�O�7��I�(�W%.�/@ "#Ȍk�>�ᶇ����'��gm 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�qn���
data/lib/requestor.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # file: requestor.rb
4
4
 
5
- require 'rxfhelper'
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 << RXFHelper.read(url).first
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.3.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
- YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMTgwODI3MDkwMDQyWhcN
15
- MTkwODI3MDkwMDQyWjAsMSowKAYDVQQDDCFnZW1tYXN0ZXIvREM9amFtZXNyb2Jl
16
- cnRzb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hoWkb+y9CCC1+A8/enV8+1/9SDaAelo+uSIzpDjmHmg4oJ8Rs3T8YXzISr
35
- xmP/BpNq9fycyZ7uVOmUNQgpu/Q2dYu8T8RDGkllt6AmypKLrfwpR+FMMbscEXPV
36
- XyxQtDpPNbJMn/bGelM5Sc02
28
+ BgkqhkiG9w0BAQsFAAOCAYEAB5QOEkNAIu+V5oYR/a+XgIroiUz0KSJMJEhY7sbF
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: 2018-10-28 00:00:00.000000000 Z
38
+ date: 2022-02-20 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
- name: rxfhelper
41
+ name: rxfreader
42
42
  requirement: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '0.9'
46
+ version: '0.1'
47
47
  - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: 0.9.1
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.9'
56
+ version: '0.1'
57
57
  - - ">="
58
58
  - !ruby/object:Gem::Version
59
- version: 0.9.1
59
+ version: 0.1.2
60
60
  description:
61
- email: james@jamesrobertson.eu
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: 2.1.2
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
- rubyforge_project:
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 (under development) from an HTTP location. Ideal for working
91
- on a gem in the development environment.
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