raykit 0.0.389 → 0.0.392
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 -3
- 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: 2005f08905162cbd1cf4c9be5ba7da958da94dfafe7265b51262410e8d4d935f
|
4
|
+
data.tar.gz: 63056698c7a5d84744fe82196746f67d3ca3ebadc81ee0ac4409376123b9ddcb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 905322a038d07d223790510ab2c6734953f73aad8109c69890b9caa00f774f4987659ff0555ead4d59775433e29fc30ccc5c8d80086fb956a874f94b22d5d1c8
|
7
|
+
data.tar.gz: 74d37a0642256aa9ec086d3ec9f1ca9ca6c264c28e0af5cd087fa5ca087f751595de33779ec29cd5bd5c72e5e5d366c5c68c35ffeca505e7253714170927d3e3
|
@@ -139,11 +139,15 @@ 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
|
+
FileUtils.rm_rf(make_dir)
|
144
|
+
end
|
145
|
+
run("git clone #{url} #{make_dir}")
|
143
146
|
cmd = 0
|
144
147
|
Dir.chdir(make_dir) do
|
145
|
-
run("git
|
146
|
-
|
148
|
+
run("git tag").details
|
149
|
+
run("git reset --hard #{commit_id}")
|
150
|
+
cmd = run(command).details
|
147
151
|
end
|
148
152
|
FileUtils.rm_rf(make_dir) if (cmd.exitstatus == 0)
|
149
153
|
cmd
|
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.392
|
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-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|