raykit 0.0.389 → 0.0.390
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/raykit/git/repository.rb +7 -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: bb12af1057aa3299989b7abf7f72ec212d29ceb8b05bd4df3ec3b22d79186785
|
4
|
+
data.tar.gz: 8a9fe0bea74febde15c5805f9e6ccedd4cbbcb10dccbafc3e12c7fe6c4ce7280
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a0179beb632abaf48dcf2e322d6269f64f2237c4c92a52a77bc697114c6ec097d583e24f6f02e7d6a7c83f834ff34f351ff736302ef5d336e508298a00a8db2
|
7
|
+
data.tar.gz: 5d9942a5e7bfefee3d751ac6423ef42090e7339b9db4bab6f6060c2db25126096719ec687565bf9b940c1983861364e72fb3b630c890dadb2ca04319bf118b54
|
@@ -139,7 +139,13 @@ module Raykit
|
|
139
139
|
repo = Raykit::Git::Repository.new(url)
|
140
140
|
make_dir = repo.get_dev_dir("make") + "/" + commit_id
|
141
141
|
FileUtils.mkdir_p(repo.get_dev_dir("make")) if !Dir.exists?(repo.get_dev_dir("make"))
|
142
|
-
|
142
|
+
if (Dir.exists?(make_dir))
|
143
|
+
Dir.chdir(make_dir) do
|
144
|
+
run("git pull")
|
145
|
+
end
|
146
|
+
else
|
147
|
+
run("git clone #{url} #{make_dir}")
|
148
|
+
end
|
143
149
|
cmd = 0
|
144
150
|
Dir.chdir(make_dir) do
|
145
151
|
run("git checkout #{commit_id}")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raykit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.390
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lou Parslow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|