epitools 0.5.70 → 0.5.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/epitools/path.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b7ec51f36b60a8d9b4197e95cc99ebe03f7ee431
|
|
4
|
+
data.tar.gz: 2b82e0fc8a2e95849772e1de9bc6beb8d88a9053
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1849cdbebc22b12f7f39a34b67d62b9c3f22a56130770b832b6c1add7419316cb3bdcc8cfd2a538c082e83612b4339d67d945e06e9f198d1cc013e86f0681c65
|
|
7
|
+
data.tar.gz: fc05462fedcda26792f9b067150cc73491de870607fd3792219118d82730def6a56953f50db3886ee41d23daf7fe08c1a4bcef9f2149478313f3b10f5cdfea32
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.5.
|
|
1
|
+
0.5.71
|
data/lib/epitools/path.rb
CHANGED
|
@@ -123,7 +123,7 @@ class Path
|
|
|
123
123
|
###############################################################################
|
|
124
124
|
|
|
125
125
|
def initialize(newpath, hints={})
|
|
126
|
-
|
|
126
|
+
send("path=", newpath, hints)
|
|
127
127
|
end
|
|
128
128
|
|
|
129
129
|
def initialize_copy(other)
|
|
@@ -299,7 +299,7 @@ class Path
|
|
|
299
299
|
|
|
300
300
|
num_dots = anchor.dirs.size - first_mismatch
|
|
301
301
|
|
|
302
|
-
result =
|
|
302
|
+
result = dup
|
|
303
303
|
result.dirs = ([".."] * num_dots) + dirs[first_mismatch..-1]
|
|
304
304
|
|
|
305
305
|
result
|
|
@@ -311,7 +311,7 @@ class Path
|
|
|
311
311
|
if relative?
|
|
312
312
|
File.join(*dirs)
|
|
313
313
|
else
|
|
314
|
-
File
|
|
314
|
+
File.join("", *dirs)
|
|
315
315
|
end
|
|
316
316
|
else
|
|
317
317
|
nil
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: epitools
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.71
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- epitron
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-02-
|
|
11
|
+
date: 2015-02-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|