raykit 0.0.426 → 0.0.428

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b63f84f49ffb7b8bc5464db8d057bd80ba63edb086524c930f6b6a4f8fd750ef
4
- data.tar.gz: 8ef1d462d03e4f93ffa991488b6ec215a19be2d2b2b928bc87093a10c0a6ae45
3
+ metadata.gz: 10fe3667006f4432fbc48b22108cb2520f996e2bdd19f660f1207bb571e66b35
4
+ data.tar.gz: 044d6478d23f86f2268830ea5fdccdc5fd64f07e78118d57da0a9ad4efd1e325
5
5
  SHA512:
6
- metadata.gz: 4b9a34de23a7c8b41e3d2a86faa6d901ed4af906c8b54b429d994f96aa9a2e534819e74336f1193761e94c4a4228890f08cf84b0ada3b74d8da971869ba63070
7
- data.tar.gz: 3999d8f4a3512d99e5ab68ee42d9cc9397e6519ed32b11bd37e7f9c846e780b999087075bcbd226a4c28a039a9bce6da01a5481cbc772f99b774a15aa5512aa1
6
+ metadata.gz: 169f4e8d9d9a48e569d7451916fb707a741035dfa47ddb9e1b39b873933e1b0a73ad30a7e7d4557e89c76a5ca38bf844fa9ceffbd43dc112836362e893d1b2ac
7
+ data.tar.gz: 3c933d5709040b55dfa7a1590d1f47e083173b50cbef5292745e91151999e6fed28c49bf5a9593975df7f8e555cc31335e9300645a63dd0846c5cad35c490fe3
@@ -213,7 +213,7 @@ module Raykit
213
213
  cmd = "#{Rainbow(SECRETS.hide(@command)).yellow}"
214
214
  if show_directory
215
215
  puts "#{symbol} #{cmd} " + Rainbow("#{elapsed_str}").cyan
216
- puts Rainbow(" #{@directory}").cyan
216
+ puts Rainbow(" #{@directory}").white + " "
217
217
  else
218
218
  puts "#{symbol} #{Rainbow(SECRETS.hide(@command)).yellow} " + Rainbow("#{elapsed_str}").cyan
219
219
  #puts "#{symbol} #{Rainbow(SECRETS.hide(@command)).yellow} (#{elapsed_str})"
@@ -77,6 +77,7 @@ module Raykit
77
77
  # The latest commit id for a branch of the repostiory
78
78
  def latest_commit(branch)
79
79
  if checkout_local_clone_directory_branch(branch)
80
+ update_local_clone_directory
80
81
  Dir.chdir(local_clone_directory) do
81
82
  text = `git log -n 1`
82
83
  scan = text.scan(/commit (\w+)\s/)
@@ -100,7 +101,9 @@ module Raykit
100
101
  public def update_local_clone_directory
101
102
  if Dir.exist?(local_clone_directory)
102
103
  Dir.chdir(local_clone_directory) do
103
- Raykit::Command.new("git pull")
104
+ pull = Raykit::Command.new("git pull")
105
+ pull.run
106
+ pull
104
107
  # t = `git pull`
105
108
  end
106
109
  else
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.426
4
+ version: 0.0.428
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow