raykit 0.0.391 → 0.0.392
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 +4 -4
- data/lib/raykit/git/repository.rb +1 -5
- metadata +1 -1
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
|
@@ -141,17 +141,13 @@ module Raykit
|
|
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
143
|
FileUtils.rm_rf(make_dir)
|
144
|
-
#Dir.chdir(make_dir) do
|
145
|
-
# run("git pull")
|
146
|
-
#end
|
147
144
|
end
|
148
145
|
run("git clone #{url} #{make_dir}")
|
149
146
|
cmd = 0
|
150
147
|
Dir.chdir(make_dir) do
|
151
148
|
run("git tag").details
|
152
149
|
run("git reset --hard #{commit_id}")
|
153
|
-
|
154
|
-
cmd = run(command)
|
150
|
+
cmd = run(command).details
|
155
151
|
end
|
156
152
|
FileUtils.rm_rf(make_dir) if (cmd.exitstatus == 0)
|
157
153
|
cmd
|