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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/raykit/git/repository.rb +8 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ee31dee4474229ada6ea6d1d83eb51f799247705154063b69c4a41c4313e9164
4
- data.tar.gz: 35457d6ad4bcb86edab1e6698b75a0e2ddad1b1215c823b8e227913e8957b51e
3
+ metadata.gz: 4b054f6d6eee8ca19818cfe94f8adc052e1e403fe2907cbdba5a35f68fbb3c46
4
+ data.tar.gz: ba8f9f1102ceb359af1a0777fc1d558130a43077888be383a59bc3ee5fd9d390
5
5
  SHA512:
6
- metadata.gz: 95cbeb5a53eb2e9264bb319f1a5e7f0489e9990e32595cf0db0f3f39c134b108f449399c897d0ca810fdb9e0aa53dedbca4f278c35ead4903b04430262ead177
7
- data.tar.gz: 0ed8fc07b8ba8c3a9af763772ebd4f60ea8826249bd17d543ddb34fd32ce7a7034b152b286eb0d3db277a95d1e5e189b6121c80d24ab4d57b6739da9251af40d
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
- private def update_local_clone_directory
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raykit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.425
4
+ version: 0.0.427
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow