epitools 0.5.84 → 0.5.85
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/TODO +3 -0
- data/VERSION +1 -1
- data/lib/epitools/autoloads.rb +1 -0
- data/lib/epitools/path.rb +2 -2
- data/spec/path_spec.rb +3 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 82e55cb9616386886e65746f877bd30630cccede
|
|
4
|
+
data.tar.gz: 91912ecab8cf845e802d2a2ebd3ed1ca028ef9e1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fc129fa94cd978d17f046384aaeab7c2a47bfcdfcfbcf90ce6f94da3b33d1b6b7f19e008d842129867af378480a64611bb31872c3b59c0b59a06165dfcee7ec3
|
|
7
|
+
data.tar.gz: 1f3a0b926bbc652f97d65097770ba02d5766ec8c0190496ad7d2bc62301da3dc0c3f5c7b635486a86443251def8ada1515127114242421ada65ff292ae4efa88
|
data/TODO
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.5.
|
|
1
|
+
0.5.85
|
data/lib/epitools/autoloads.rb
CHANGED
data/lib/epitools/path.rb
CHANGED
|
@@ -546,7 +546,7 @@ class Path
|
|
|
546
546
|
cmd += ["-x", key]
|
|
547
547
|
else
|
|
548
548
|
# set
|
|
549
|
-
cmd += ["-n", key, "-v", value]
|
|
549
|
+
cmd += ["-n", key, "-v", value.to_s.strip]
|
|
550
550
|
end
|
|
551
551
|
|
|
552
552
|
cmd << path
|
|
@@ -1293,7 +1293,7 @@ class Path
|
|
|
1293
1293
|
# the directory for the duration of the block, then puts you back where you
|
|
1294
1294
|
# came from once the block is finished.
|
|
1295
1295
|
#
|
|
1296
|
-
def self.cd(dest
|
|
1296
|
+
def self.cd(dest)
|
|
1297
1297
|
dest = Path[dest]
|
|
1298
1298
|
|
|
1299
1299
|
raise "Can't 'cd' into #{dest}" unless dest.dir?
|
data/spec/path_spec.rb
CHANGED
|
@@ -546,6 +546,9 @@ describe Path do
|
|
|
546
546
|
attrs["user.diff_element"] = "newtest"
|
|
547
547
|
file.attrs = attrs
|
|
548
548
|
file["user.diff_element"].should == "newtest"
|
|
549
|
+
|
|
550
|
+
file["user.null-terminated-string"] = "stuff\u0000"
|
|
551
|
+
file["user.null-terminated-string"].should == "stuff"
|
|
549
552
|
end
|
|
550
553
|
|
|
551
554
|
it "changes mtime/atime" do
|
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.85
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- epitron
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-06-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|
|
@@ -128,3 +128,4 @@ signing_key:
|
|
|
128
128
|
specification_version: 3
|
|
129
129
|
summary: Not utils... METILS!
|
|
130
130
|
test_files: []
|
|
131
|
+
has_rdoc:
|