rxfreadwrite 0.2.5 → 0.2.6

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: a413b0dff84c4e2bcbad1dd82fc0050ee3528a90c8ec47cd0cc5c80dec1d61cb
4
- data.tar.gz: 8a348a14dcafca0f419327e67ffe4a2bdbfc684125778726805c45dd64f75cba
3
+ metadata.gz: 2f072cce5e865d662597df89db26a0ad9fce1ceed1458c1c9ca8a40125d44fb6
4
+ data.tar.gz: 82f22f143b6010841cd1078d2f5e926968bc6be0f6b4ccd0f97b5b8b36e83a3b
5
5
  SHA512:
6
- metadata.gz: 2f13199d4ac7d9cde364173b822281c80f73445806413c7fd6d2172de1a1bbe2ea5f3e4ce3981305b55f5ee266e397267ca04e0f66b397e5bbb1580275fc4884
7
- data.tar.gz: ecfc56805572a2dd2571c4bdf866effb587b0f85583579ae99a5a7f2009f11b7acfd6572f87255d6b4bbe9b9a1273a72f5b99619b6ddc0efba0bb31fb6396a3a
6
+ metadata.gz: fc7863e1530a609729b92d7df0ad2f3d4515398ba4bf0f755100b077b393c746c36303f29dfe462dedc8d585095fd26ecb4e73b8c09eeb3915879e52b4225b55
7
+ data.tar.gz: c27d5699d06c1c86dc611a9537c06b64b8fc1a216f7d060c483407b7075739ad70fa32df0b05f85bdca6d4838095693119ff8b2791d62bff07a3541698f1a225
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/rxfreadwrite.rb CHANGED
@@ -98,7 +98,7 @@ class RXFReadWrite < RXFReader
98
98
  end
99
99
 
100
100
  def self.exists?(filename)
101
-
101
+ puts 'inside readwrite exists?'
102
102
  type = self.filetype(filename)
103
103
 
104
104
  filex = case type
@@ -127,7 +127,15 @@ class RXFReadWrite < RXFReader
127
127
  def self.glob(s)
128
128
 
129
129
  if s[/^dfs:\/\//] then
130
- DfsFile.glob(s)
130
+
131
+ basepath = s[/^(dfs:\/\/[^\/]+)/,1]
132
+ pos = s.length - basepath.length
133
+
134
+ DfsFile.glob(s).map do |x|
135
+ pos2 = x =~ /#{s[pos..-1]}/
136
+ basepath + x[pos2..-1]
137
+ end
138
+
131
139
  else
132
140
  Dir.glob(s)
133
141
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rxfreadwrite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -35,7 +35,7 @@ cert_chain:
35
35
  gnYmJHVhKvNaFwL4ryulhkA+n8o3Ve6Kzo/AGlO2+Ge6H0bqIUbS8UisqDa7IwlY
36
36
  tvleW582+lzMrpAfWdGb4VFX
37
37
  -----END CERTIFICATE-----
38
- date: 2022-02-28 00:00:00.000000000 Z
38
+ date: 2022-04-11 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: rxfreader
@@ -43,20 +43,20 @@ dependencies:
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '0.2'
46
+ version: '0.3'
47
47
  - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: 0.2.1
49
+ version: 0.3.3
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.2'
56
+ version: '0.3'
57
57
  - - ">="
58
58
  - !ruby/object:Gem::Version
59
- version: 0.2.1
59
+ version: 0.3.3
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: drb_fileclient-readwrite
62
62
  requirement: !ruby/object:Gem::Requirement
@@ -66,7 +66,7 @@ dependencies:
66
66
  version: '0.1'
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: 0.1.4
69
+ version: 0.1.6
70
70
  type: :runtime
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
@@ -76,7 +76,7 @@ dependencies:
76
76
  version: '0.1'
77
77
  - - ">="
78
78
  - !ruby/object:Gem::Version
79
- version: 0.1.4
79
+ version: 0.1.6
80
80
  description:
81
81
  email: digital.robertson@gmail.com
82
82
  executables: []
metadata.gz.sig CHANGED
Binary file