drb_fileclient-reader 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/drb_fileclient-reader.rb +6 -2
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de6a3b50827e3fe464e1b2ad65754ca33b8300a7dca175f8c766fe9e27862161
|
4
|
+
data.tar.gz: b2b685201d4151fb198af7cb8232dfc616fd992f48eebaeee9c6cd350111bf3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0370e96c8d9a9f7209150e2ecb734f071cab935a4c17904f22d8627e4d21571a00ae41613989ed959415421ffcea3f2af19e1d66544a8f023a9b2647be0107a5
|
7
|
+
data.tar.gz: 4f75275a2856d1589249a1d7fadd8ea41746a2eb49f25938cd23210d97a3f11ef67be4cff98679aa58f7ce5effa1c6e4f51fe6ba48d3a8364487ec273c56eb05
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -32,7 +32,10 @@ class DRbFileClientReader
|
|
32
32
|
return File.exists? filename unless @@directory or filename =~ /^dfs:\/\//
|
33
33
|
|
34
34
|
if filename =~ /^dfs:\/\// then
|
35
|
-
|
35
|
+
|
36
|
+
file, filename2 = parse_path(filename)
|
37
|
+
@@file ||= file
|
38
|
+
|
36
39
|
else
|
37
40
|
|
38
41
|
filename2 = File.join(@@directory, filename)
|
@@ -49,7 +52,8 @@ class DRbFileClientReader
|
|
49
52
|
return File.read(filename) unless @@directory or filename =~ /^dfs:\/\//
|
50
53
|
|
51
54
|
if filename =~ /^dfs:\/\// then
|
52
|
-
|
55
|
+
file, path = parse_path(filename)
|
56
|
+
@@file ||= file
|
53
57
|
else
|
54
58
|
path = File.join(@@directory, filename)
|
55
59
|
end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: drb_fileclient-reader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
im+YlEcJfPax42Av6oEBmm6oUqxICcrKX8DdDuNFC44LAC66kmOdMTNiVdeS82BG
|
36
36
|
CGf+32hX61V/Gw6Jiazh7a6L
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2022-08-
|
38
|
+
date: 2022-08-18 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: c32
|
metadata.gz.sig
CHANGED
Binary file
|