build-files 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/build/files/version.rb +1 -1
- data/spec/build/files/path_spec.rb +9 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24c83aee7dd84e2705d41f1b2f8783da0de9c3c7
|
4
|
+
data.tar.gz: 892414687bacc2afa80f7bb365b19cbe594b8fbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c17a0de43686bb7b1cfcfc5e281c550a00f1e51ec1079af1f4697b8f2183eeb64861b5f36c4071fda2baf23bc45c1d48d62238a4d124bb1c041c6ade487f756
|
7
|
+
data.tar.gz: 2ae18629f8cbb12efa46f1557ed4f5d8dda6d8c9e998cf2d6b87dcc02b70a8f5a948b355a1434d2b6e967de7a8b1a77e4d1001491ad1ecfff99af825022402e9
|
data/lib/build/files/version.rb
CHANGED
@@ -36,6 +36,15 @@ module Build::Files::PathSpec
|
|
36
36
|
expect(Path["/foo/bar/baz"]).to be == path
|
37
37
|
end
|
38
38
|
|
39
|
+
it "should be equal" do
|
40
|
+
expect(path).to be_eql path
|
41
|
+
expect(path).to be == path
|
42
|
+
|
43
|
+
different_root_path = Path.join("/foo/bar", "baz")
|
44
|
+
expect(path).to_not be_eql different_root_path
|
45
|
+
expect(path).to be == different_root_path
|
46
|
+
end
|
47
|
+
|
39
48
|
it "should convert to string" do
|
40
49
|
expect(path.to_s).to be == "/foo/bar/baz"
|
41
50
|
|