scm_workspace 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/scm_workspace/version.rb +1 -1
- data/lib/scm_workspace.rb +4 -0
- data/spec/scm_workspace_spec.rb +7 -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: 99dc52c5c303b85855a5926f2f2be19af620b793
|
4
|
+
data.tar.gz: 15b8d698f5d4a5d7d4970158093309472d635e13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a09fe9bf444998f0bafa1c702aa6f4a9cb9b90e0c760dc2aa349abee70392df00fc3f2d9a99dfeca0e3c7b85d74555d301f4c731e851850c8d34545de06e217
|
7
|
+
data.tar.gz: d223c163a460ea1d96efb6e3afdf747c4f853debcb332fe8a41061c61d4517a0a82cd79915e68525795c793733c62bdef3571c4ab70e5c837ba560f99bee70a6
|
data/lib/scm_workspace.rb
CHANGED
data/spec/scm_workspace_spec.rb
CHANGED
@@ -78,6 +78,13 @@ describe ScmWorkspace do
|
|
78
78
|
}
|
79
79
|
end
|
80
80
|
|
81
|
+
it{ subject.contains?("a0eaf8cca31080ca26edbae0daddaa9931edd6d6").should be_true }
|
82
|
+
it{ subject.contains?("v0.0.2").should be_true }
|
83
|
+
it{ subject.contains?("v0.0.0").should be_false }
|
84
|
+
# it{ subject.contains?("master").should be_true }
|
85
|
+
it{ subject.contains?("develop").should be_true }
|
86
|
+
it{ subject.contains?("removed").should be_false }
|
87
|
+
|
81
88
|
it :fetch do
|
82
89
|
@scm_workspace.fetch
|
83
90
|
end
|