raykit 0.0.438 → 0.0.440
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 +2 -3
- 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: d8c2403f2969862b6794ccee4702f40f3b62b450d057a58a5c7f3acfb20f2d7a
|
|
4
|
+
data.tar.gz: bc98bdd06e4d2743b3a6f3dc9ca1216aa852d440db77147c2513042d793ccae6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3108eb214771280ff819e06f024ff547f25f3e92e92439b60c56c9473ff8f69914651d6e5619eab9b5588d9f7803fe658d06723f90250794d671361e27c65ff3
|
|
7
|
+
data.tar.gz: a027e05958a96158ef2125d5ca76358f36eda1c3adf28ecbfec9a7f7ed17b39bd77a9537f59a5c7e2b8bb3b42fa40f527a567f72335f7b72635266db7f694e46
|
|
@@ -149,7 +149,7 @@ module Raykit
|
|
|
149
149
|
filename = "#{Raykit::Environment::log_dir}/work_#{relative_path.gsub("/", "-")}.json"
|
|
150
150
|
if (Raykit::Git::Directory.new(get_dev_dir("work")).outstanding_commit?)
|
|
151
151
|
puts " outstanding commit in #{get_dev_dir("work")}"
|
|
152
|
-
work_cmd = Raykit::Git::Repository::
|
|
152
|
+
work_cmd = Raykit::Git::Repository::work_url(url, command)
|
|
153
153
|
work_cmd.save_as(filename)
|
|
154
154
|
return work_cmd
|
|
155
155
|
else
|
|
@@ -197,12 +197,11 @@ module Raykit
|
|
|
197
197
|
|
|
198
198
|
def self.work_url(url, cmd)
|
|
199
199
|
repo = Raykit::Git::Repository.new(url)
|
|
200
|
-
puts " work #{url} #{
|
|
200
|
+
puts " work #{url} #{cmd}"
|
|
201
201
|
work_dir = repo.get_dev_dir("work")
|
|
202
202
|
repo.clone(work_dir) if !Dir.exist?(work_dir)
|
|
203
203
|
Dir.chdir(work_dir) do
|
|
204
204
|
run("git pull")
|
|
205
|
-
#run(cmd)
|
|
206
205
|
cmd = Raykit::Command.new(cmd)
|
|
207
206
|
cmd = cmd.run().summary()
|
|
208
207
|
cmd
|