requestor 0.2.0 → 0.2.1

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: 816f271c279797a403b9f90ede58b2601d4334426597e24ab6d742478289861b
4
- data.tar.gz: 740ab5623009f6373296b0fd42fbf65ff92fb6b9a86098b7cc6ba4a8508369dd
3
+ metadata.gz: ec1c042a486a9949c6b34799f4d88758f8d148bf19f0ba2ee94e0172a2d97427
4
+ data.tar.gz: af1974a86404206342396f463ef0b0e857b534df23a6007231d01f47508f8aa9
5
5
  SHA512:
6
- metadata.gz: c7fac6d5b722e8d54f7953e6c3f636648da70c513e2f9d114eb42d6d3fff830f20b72e75614c2d23c73ae26dd6cf562094e83668dd9c89405919c2d55f301101
7
- data.tar.gz: 04bfa4604789698c20183b775dda556e85c71aa0935c1aaabed6e7360e2670a44ca02a0919acb70c8f32767e6d4b647f8572cad1a8f55bc3a310c1ca3b56006b
6
+ metadata.gz: 4e953ffa735eec06c71a637ed7280c8c590d3fc5797722d39fffa63a08bd65ce0303a7ea91ecdde64f533ad9724b43319f5c40b3360c1ebb734c60e667854522
7
+ data.tar.gz: 3c0e6c1353dd1115ff3a712f47a20d36f03449f666281b93fadc783bf8a1a81f8978bee2a33fc0303b8722d6064db329e049a8a2be72bb3d16a33f605bfd1013
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -23,7 +23,7 @@ class Requestor
23
23
 
24
24
  def require(name)
25
25
 
26
- url = "%s/%s.rb" % [@url, name]
26
+ url = "%s/%s" % [@url, name.sub(/\.rb$|$/,'.rb')]
27
27
  puts 'RequireX url: ' + url.inspect if @debug
28
28
  @code << open(url, 'UserAgent' => 'Ruby-Requestor').read
29
29
 
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.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -35,7 +35,7 @@ cert_chain:
35
35
  xmP/BpNq9fycyZ7uVOmUNQgpu/Q2dYu8T8RDGkllt6AmypKLrfwpR+FMMbscEXPV
36
36
  XyxQtDpPNbJMn/bGelM5Sc02
37
37
  -----END CERTIFICATE-----
38
- date: 2018-08-27 00:00:00.000000000 Z
38
+ date: 2018-08-29 00:00:00.000000000 Z
39
39
  dependencies: []
40
40
  description:
41
41
  email: james@jamesrobertson.eu
metadata.gz.sig CHANGED
Binary file