jive 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jive/git.rb +3 -5
- data/lib/jive/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3205ae4955fafc394318f7daccceacf3d7728b15450649e66c198ce514ecef22
|
4
|
+
data.tar.gz: 128bdd0f9d8cf584503a714e0a92b4064d3cbb94f227ed9e4f50622a212e14b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4e02857d8f45d0a4d678418f4e9a56b009e96256ea23dcf763f67bf2e1af568509af8162303979b7ad3f998cbba0e11ff9d9ba224df1df379d90bd4ff4ed125
|
7
|
+
data.tar.gz: ecb75b2857218cd72ab6a6693e15320bed3aa77f219437f4e616afe6fa66d9d23153e037920060e7cf9b91b4402cb7e8fc4d12a98709cb895bb53a84a05a16d0
|
data/lib/jive/git.rb
CHANGED
@@ -11,12 +11,10 @@ module Jive
|
|
11
11
|
def clone(slug, host: "github.com")
|
12
12
|
dir = target_dir_for(slug, host: host)
|
13
13
|
unless dir.exist?
|
14
|
-
shell.
|
15
|
-
|
16
|
-
[:git, "clone", "git@#{host}:#{slug}", dir]
|
17
|
-
])
|
14
|
+
shell.execute([:mkdir, "-p", dir.parent.to_s])
|
15
|
+
shell.execute([:git, "clone", "git@#{host}:#{slug}", dir])
|
18
16
|
end
|
19
|
-
cd(slug, host: host)
|
17
|
+
cd(slug, host: host) if dir.exist?
|
20
18
|
end
|
21
19
|
|
22
20
|
def cd(slug, host: "github.com")
|
data/lib/jive/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jive
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mo khan
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-02-
|
11
|
+
date: 2021-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|