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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ec1c042a486a9949c6b34799f4d88758f8d148bf19f0ba2ee94e0172a2d97427
4
- data.tar.gz: af1974a86404206342396f463ef0b0e857b534df23a6007231d01f47508f8aa9
3
+ metadata.gz: 9bb6620ab369e2a6e6a76edff362f486cdf5c4d18c9fd26a95d9efe883b8ae4e
4
+ data.tar.gz: f663cea3f58c921bdf52065b3320145ee1fde36f1add7e1a895ba495bb2abfd0
5
5
  SHA512:
6
- metadata.gz: 4e953ffa735eec06c71a637ed7280c8c590d3fc5797722d39fffa63a08bd65ce0303a7ea91ecdde64f533ad9724b43319f5c40b3360c1ebb734c60e667854522
7
- data.tar.gz: 3c0e6c1353dd1115ff3a712f47a20d36f03449f666281b93fadc783bf8a1a81f8978bee2a33fc0303b8722d6064db329e049a8a2be72bb3d16a33f605bfd1013
6
+ metadata.gz: d69146454191e65ab9e8fae5693a44bc4a504897e7c7aec66f28fe3ac67320c14fdc025c7e403d4198b29ca816462566a2014e9d49d2b79d48c01897f8164691
7
+ data.tar.gz: 849d2fcb7214ee4b26009996b635e80d2cb32e01e8c3e448fda744d08a1f928d0c6aaa56221ee000e5821f6a0932d49fb39d997940a80c621843156aac12d890
Binary file
data.tar.gz.sig CHANGED
@@ -1,2 +1,4 @@
1
- �w���ut;���K���ڼ?��Ef~����I�`��J%�
2
- ��P,mFV�����2����I��N�'�k��N�2q�S � ��u�H\��F��l=�t�=ײ̃�⁷�li�D�}&���Ӵ�U��{�����_H�"��I�I'<0����Y3F��ۯ�`$0�c��ڙct�g��3s�W'��$V�5|䔥�&y=1zq�9uO���.~�J/IVF
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�$�`tf r�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�-ɋ��
@@ -2,7 +2,7 @@
2
2
 
3
3
  # file: requestor.rb
4
4
 
5
- require 'open-uri'
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 << open(url, 'UserAgent' => 'Ruby-Requestor').read
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.2.1
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-08-29 00:00:00.000000000 Z
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