raykit 0.0.425 → 0.0.427
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 +8 -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: 4b054f6d6eee8ca19818cfe94f8adc052e1e403fe2907cbdba5a35f68fbb3c46
|
|
4
|
+
data.tar.gz: ba8f9f1102ceb359af1a0777fc1d558130a43077888be383a59bc3ee5fd9d390
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 300fbd6f956c2bf560981af7a6fa94d5b57ff4be83de46acba69af581a31d1fa3660b9b040a0aeafa71d9035c867157eb312e3713ead9eff9f925b0dfd29b719
|
|
7
|
+
data.tar.gz: d4891d18f0a68dd3fa4d9dbd2a82975c8c5e5e3c3c8e51860c4e14c864c08cedbd6902fbcd64640d2f7a0aca39dc465d51f31337aaf8e7ab16e59de6fdb38905
|
|
@@ -97,10 +97,12 @@ module Raykit
|
|
|
97
97
|
clone_dir = "#{Environment.get_dev_dir("clone")}/#{relative_path}"
|
|
98
98
|
end
|
|
99
99
|
|
|
100
|
-
|
|
100
|
+
public def update_local_clone_directory
|
|
101
101
|
if Dir.exist?(local_clone_directory)
|
|
102
102
|
Dir.chdir(local_clone_directory) do
|
|
103
|
-
Raykit::Command.new("git pull")
|
|
103
|
+
pull = Raykit::Command.new("git pull")
|
|
104
|
+
pull.run
|
|
105
|
+
pull
|
|
104
106
|
# t = `git pull`
|
|
105
107
|
end
|
|
106
108
|
else
|
|
@@ -146,7 +148,10 @@ module Raykit
|
|
|
146
148
|
repo.clone(work_dir) if !Dir.exist?(work_dir)
|
|
147
149
|
Dir.chdir(work_dir) do
|
|
148
150
|
run("git pull")
|
|
149
|
-
run(cmd)
|
|
151
|
+
#run(cmd)
|
|
152
|
+
cmd = Raykit::Command.new(cmd)
|
|
153
|
+
cmd = cmd.run().summary().details_on_failure
|
|
154
|
+
cmd
|
|
150
155
|
end
|
|
151
156
|
end
|
|
152
157
|
|