raykit 0.0.435 → 0.0.436
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 +0 -4
- 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: 5d865316dff0eca92f0b0f857c9e2d95bd8d01812c736ed9f5a49129df2e5bd5
|
4
|
+
data.tar.gz: 3828e7dddeb815466c09e3f2b62b6fc714ac58f4c2bcb1031bda574628c0e27a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b08f54e7782e0f17a6e710df3e6837f27409ac0fe38fcf9cd38e04376651835c123f30629ecd42f19e847a1064bfa7380f1ffb74bf65aa490055bf4bf954dc6a
|
7
|
+
data.tar.gz: 03e01d3138d5f57d766b83b4fb03045400fd431809f2658d9ab976def318a8496d3696c9523e880dbc76cd8edf38aeb6692d135ffcd0a50934357052bac6672f
|
@@ -147,7 +147,6 @@ module Raykit
|
|
147
147
|
def work(command)
|
148
148
|
pull if (!Dir.exist?(get_dev_dir("work")))
|
149
149
|
filename = "#{Raykit::Environment::log_dir}/work_#{relative_path.gsub("/", "-")}.json"
|
150
|
-
puts " filename #{filename}"
|
151
150
|
if (Raykit::Git::Directory.new(get_dev_dir("work")).outstanding_commit?)
|
152
151
|
puts " outstanding commit in #{get_dev_dir("work")}"
|
153
152
|
work_cmd = Raykit::Git::Repository::work(url, command)
|
@@ -156,7 +155,6 @@ module Raykit
|
|
156
155
|
else
|
157
156
|
if (File.exist?(filename))
|
158
157
|
return Raykit::Command::parse(IO.read(filename))
|
159
|
-
#work_cmd.summary(true).details_on_failure
|
160
158
|
else
|
161
159
|
work_cmd = Raykit::Git::Repository::work_url(url, command)
|
162
160
|
work_cmd.save_as(filename)
|
@@ -169,10 +167,8 @@ module Raykit
|
|
169
167
|
commit_id = "#{latest_commit(default_branch)}"
|
170
168
|
make_id = "make_#{relative_path.gsub("/", "-")}_#{commit_id}"
|
171
169
|
filename = "#{Raykit::Environment::log_dir}/#{make_id}.json"
|
172
|
-
puts " filename #{filename}"
|
173
170
|
if (File.exist?(filename))
|
174
171
|
return Raykit::Command::parse(IO.read(filename))
|
175
|
-
#make_cmd.summary(true).details_on_failure
|
176
172
|
else
|
177
173
|
make_cmd = Raykit::Git::Repository::make_url(url, commit_id, "rake default")
|
178
174
|
make_cmd.save_as(filename)
|