rxfhelper 1.6.3 → 1.6.4

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: e200fc4b38ba4fc4bcb3ed135170b962350b400743009d88f47020952405846b
4
- data.tar.gz: 11019543e35f1721055f0da8ffda3c9f22be8dbb30c4a0ce9be35fcc25083531
3
+ metadata.gz: 7ac5ca7e2c397100aff7023b09433d3673d7b83dfcd54506b6aeabba07196515
4
+ data.tar.gz: 1d5747ed72d0424a67b22c0c7002349794e4911c531c45cb1c3f83e8c8fc13a3
5
5
  SHA512:
6
- metadata.gz: 3d2ca5fbb2aa72ab18c60591818a272d8e3d6585e87fc85af4d6c556fff4b34a66e0708a04ff6bf5668429e988d265301babcb8f59b8154bf3a535653c41bbe3
7
- data.tar.gz: 393ba8d16a20b90e9e9868c5eb1c38dc918e48f38a143bbe57998bcdb389075daf60c3ba64ef0365311b60652fc5eaf20f82c1c81d28474a565c0a3936514065
6
+ metadata.gz: 4b3ce123fabdfc8fe1bed242d873a5d31b3723fe1b86b5e749695bbdad4ecd11630b9176e7e71e8d89b300f9d594ecaf605d4f277c33e282cfeaf1195cc6696d
7
+ data.tar.gz: 99cdf654f1790675a9201633bf95cc1a3ba1543ab9493e2308be79f445b47c0e6cd8bf9974540654a1e1a68412d2f76785fa4adc77f21e26c180e020800b2914
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/rxfhelper.rb CHANGED
@@ -17,6 +17,7 @@ require 'onedrb'
17
17
  module RXFHelperModule
18
18
  include RXFileIOModule
19
19
 
20
+ def FileX.exist?(s) RXFHelper.exist?(s) end
20
21
  def FileX.exists?(s) RXFHelper.exists?(s) end
21
22
  def FileX.filetype(s) RXFHelper.filetype(s) end
22
23
  def FileX.read(s) RXFHelper.read(s)[0] end
@@ -73,7 +74,7 @@ class RXFHelper < RXFileIO
73
74
 
74
75
  end
75
76
 
76
- def self.exists?(filename)
77
+ def self.exist?(filename)
77
78
 
78
79
  type = self.filetype(filename)
79
80
 
@@ -91,9 +92,13 @@ class RXFHelper < RXFileIO
91
92
 
92
93
  return nil unless filex
93
94
 
94
- filex.exists? filename
95
+ filex.exist? filename
95
96
 
96
97
  end
98
+
99
+ def self.exists?(filename)
100
+ self.exist?(filename)
101
+ end
97
102
 
98
103
  def self.filetype(x)
99
104
 
@@ -112,7 +117,7 @@ class RXFHelper < RXFileIO
112
117
  :file
113
118
  else
114
119
 
115
- if File.exists?(x) then
120
+ if File.exist?(x) then
116
121
  :file
117
122
  else
118
123
  :text
@@ -235,7 +240,7 @@ class RXFHelper < RXFileIO
235
240
  r = DRbRegClient.new.get(x)
236
241
  [r.is_a?(Rexle::Element::Value) ? r.to_s : r, :reg]
237
242
 
238
- elsif x[/^file:\/\//] or File.exists?(x) then
243
+ elsif x[/^file:\/\//] or File.exist?(x) then
239
244
 
240
245
  puts 'RXFHelper.read before File.read' if opt[:debug]
241
246
  contents = File.read(File.expand_path(x.sub(%r{^file://}, '')))
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: 1.6.3
4
+ version: 1.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -10,32 +10,33 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIEXjCCAsagAwIBAgIBATANBgkqhkiG9w0BAQsFADAsMSowKAYDVQQDDCFnZW1t
14
- YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMjIwMTE4MTczMTA2WhcN
15
- MjMwMTE4MTczMTA2WjAsMSowKAYDVQQDDCFnZW1tYXN0ZXIvREM9amFtZXNyb2Jl
16
- cnRzb24vREM9ZXUwggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQDlkWGl
17
- esqnbyZmN+BJKMEyffYUvpKl19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qa7qRKommofaF29M8
25
+ /E8rGE8Mg3MZcvjFsfhQgpYsFcsa36hkeJO1pX0/eHKTBnuvz9oNrBui/P9ndNv1
26
+ NYh8iQIDAQABo4GKMIGHMAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQW
27
+ BBRcv3w5XEJc1eUbl1hgB2bh5Ntf3jAmBgNVHREEHzAdgRtnZW1tYXN0ZXJAamFt
28
+ ZXNyb2JlcnRzb24uZXUwJgYDVR0SBB8wHYEbZ2VtbWFzdGVyQGphbWVzcm9iZXJ0
29
+ c29uLmV1MA0GCSqGSIb3DQEBCwUAA4IBgQCgmrFFoHpNkF8XQWmi12R5xZTMeHTP
30
+ kAneYzr55LAnQOGYrd8rGcSyfrPMt4V06/UakfEddkUdtqbOHV0fumeY88E25ZpU
31
+ WWW0PL02uJaODYZlb3viy4fUdUvLuEuI3xAuUA63C7FUDmneaifPb1caZ/j1fp1K
32
+ mJQa8fSTKICQQiV3viPSWQG8uhuWVK2mJQg2VQc6siw9p+uOS8qwMuSd0X/Lwadq
33
+ vgS5N3Am2M0vrVrqSwwhpty0lBcj+YN5r6cxJe5mHyyxpGOsmFdUEjuvTs11HODT
34
+ wljxS1AhE2ASKdymcnAZDFneDXy64z8E2I0huu7FiyAc5DMyh6/5H5FQf72LqY/0
35
+ VJdqc+5cUsuRNtEXAW8zugk3gLderzRGNLiC2UbNhXyJ/1V727rjtJ80JQS2FsQM
36
+ JVmXeHQHl5G2mNQkGX+8bEb71uUAWTTV0pD/xEozDYBZeKf4zHV7ipBjkQBi5xqp
37
+ 8xmfbXuCTAnz33gQA/GXEEqXRElPmFVIruM=
37
38
  -----END CERTIFICATE-----
38
- date: 2022-05-04 00:00:00.000000000 Z
39
+ date: 2023-01-20 00:00:00.000000000 Z
39
40
  dependencies:
40
41
  - !ruby/object:Gem::Dependency
41
42
  name: rsc
@@ -183,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
183
184
  - !ruby/object:Gem::Version
184
185
  version: '0'
185
186
  requirements: []
186
- rubygems_version: 3.2.22
187
+ rubygems_version: 3.4.4
187
188
  signing_key:
188
189
  specification_version: 4
189
190
  summary: Helpful library for primarily reading the contents of a file either from
metadata.gz.sig CHANGED
Binary file