gitti 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gitti/git.rb +3 -2
- data/lib/gitti/version.rb +1 -1
- 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: 651f519f3b5f3ecf8a13a5125554cac2d69790f6
|
4
|
+
data.tar.gz: 7ae7285e8ac625336869c7d4de1d078c11c5ee6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c002bac4f5622a3083b27fa2e29d69736821d14c7b521ecd1a00b06cd62d80cae762e853e96943baa242e77568043a356fecc8c036c8856f18c8eac42facf0c
|
7
|
+
data.tar.gz: 694934d8ea8263d11b90f7a14a01f8f59d3d71a695b728ebd82927e66d554cf1e59195199af7c960e930cc9cb4d9ad4c3d93abec28df9fe1aca931304e1f4698
|
data/lib/gitti/git.rb
CHANGED
@@ -17,9 +17,10 @@ class Git ## make Git a module - why? why not?
|
|
17
17
|
## "setup" starter git commands
|
18
18
|
|
19
19
|
def self.clone( repo, name=nil, depth: nil )
|
20
|
-
cmd = "git clone
|
21
|
-
cmd << " #{name}" unless name.nil? || name.empty?
|
20
|
+
cmd = "git clone"
|
22
21
|
cmd << " --depth #{depth}" unless depth.nil?
|
22
|
+
cmd << " #{repo}"
|
23
|
+
cmd << " #{name}" unless name.nil? || name.empty?
|
23
24
|
Shell.run( cmd )
|
24
25
|
end
|
25
26
|
|
data/lib/gitti/version.rb
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
module GittiCore ## todo/check: rename GittiBase or GittiMeta or such - why? why not?
|
9
9
|
MAJOR = 0 ## todo: namespace inside version or something - why? why not??
|
10
10
|
MINOR = 4
|
11
|
-
PATCH =
|
11
|
+
PATCH = 2
|
12
12
|
VERSION = [MAJOR,MINOR,PATCH].join('.')
|
13
13
|
|
14
14
|
def self.version
|