gitti 0.4.1 → 0.4.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 22e1840beecff16feb5247fa52e7c6c5ce7deaa3
4
- data.tar.gz: 70495a4374a990460a505c3b927f3501b91c74a5
3
+ metadata.gz: 651f519f3b5f3ecf8a13a5125554cac2d69790f6
4
+ data.tar.gz: 7ae7285e8ac625336869c7d4de1d078c11c5ee6d
5
5
  SHA512:
6
- metadata.gz: 196886378c5879ff3ac790e25e017cd0c48af5d8c15f2073f99b2d25caca2ec878e81a073da1ca2cbf4f2fd40e76317b7e01a2a7fb4268d325db4a36f1e58bad
7
- data.tar.gz: b15e3d0bbcdfa562ee4ac600fd8b2acd6d72d52c331e124defe04d12cb5e944844f28ba042c3390f7de8cfa5aabea702f2cbce6ed4baacd9c058d60a28662281
6
+ metadata.gz: 7c002bac4f5622a3083b27fa2e29d69736821d14c7b521ecd1a00b06cd62d80cae762e853e96943baa242e77568043a356fecc8c036c8856f18c8eac42facf0c
7
+ data.tar.gz: 694934d8ea8263d11b90f7a14a01f8f59d3d71a695b728ebd82927e66d554cf1e59195199af7c960e930cc9cb4d9ad4c3d93abec28df9fe1aca931304e1f4698
@@ -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 #{repo}"
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
 
@@ -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 = 1
11
+ PATCH = 2
12
12
  VERSION = [MAJOR,MINOR,PATCH].join('.')
13
13
 
14
14
  def self.version
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitti
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gerald Bauer