rxfhelper 0.4.0 → 0.4.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
  SHA1:
3
- metadata.gz: 01cb6e47ece1b0cf54e33df901b4639380f06be9
4
- data.tar.gz: 658193f2dddbe239da7a2db9085be69c21b7a066
3
+ metadata.gz: c5dcb213b4ff2f02c402c61c75a4aa055c6ad54f
4
+ data.tar.gz: fabba6b0b00d0dc64c9752dfc1e7a905ff957c92
5
5
  SHA512:
6
- metadata.gz: 88905c4c6d9159d5ccfc182174b40c1ed30db979b99a051e45246ec800b8262498aaf106d81014675dbcf5aa84025e0d68554ce326d5102d1b8d21cecb9e73be
7
- data.tar.gz: 809662aa114852b0edfb93e61064d5a4d34f83a37d32a365536a47ef569491dd6168fc409fe9da3fdf40c65ca7b5f3659e950e53904031d7e20cd32c33c01370
6
+ metadata.gz: f9319508cb0f817cbbbd046e9087e0b245a7d012401b671637b35a65663a957ad0e5cfe1645148ddf4eef7d73755626ac0107fe458938e7871c95feacbde53d7
7
+ data.tar.gz: d7a8282fc9cbaf9719fd9d3799675b43ac1f5d1e8589275b5cfe125507af09054b235a4df9a059a67cc89a3aabb9741a8db2b3a6fec765ad2f6733a482cc2d49
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/rxfhelper.rb CHANGED
@@ -37,6 +37,8 @@ class RXFHelper
37
37
 
38
38
  elsif x[/^file:\/\//] or File.exists?(x) then
39
39
  [File.read(File.expand_path(x.sub(%r{^file://}, ''))), :file]
40
+ elsif x =~ /\s/
41
+ [x, :text]
40
42
  else
41
43
  [x, :unknown]
42
44
  end
@@ -61,4 +63,4 @@ class RXFHelper
61
63
  File.join page_url[/.*\//], item_location
62
64
  end
63
65
  end
64
- end
66
+ end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rxfhelper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  wAS0XiGaa69DZmV7vCXfhyc210FOxVN2ZE/62eIcdfonjvIkXUG7nix2TOHe3X/t
32
32
  Bc7wK1YLBgfM+g==
33
33
  -----END CERTIFICATE-----
34
- date: 2016-07-04 00:00:00.000000000 Z
34
+ date: 2017-01-15 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: gpd-request
@@ -54,7 +54,7 @@ dependencies:
54
54
  - !ruby/object:Gem::Version
55
55
  version: 0.3.0
56
56
  description:
57
- email: james@r0bertson.co.uk
57
+ email: james@jamesrobertson.eu
58
58
  executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  version: '0'
81
81
  requirements: []
82
82
  rubyforge_project:
83
- rubygems_version: 2.5.1
83
+ rubygems_version: 2.6.8
84
84
  signing_key:
85
85
  specification_version: 4
86
86
  summary: Helpful library for primarily reading the contents of a file either from
metadata.gz.sig CHANGED
Binary file