raykit 0.0.427 → 0.0.429

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: 4b054f6d6eee8ca19818cfe94f8adc052e1e403fe2907cbdba5a35f68fbb3c46
4
- data.tar.gz: ba8f9f1102ceb359af1a0777fc1d558130a43077888be383a59bc3ee5fd9d390
3
+ metadata.gz: 19fc63ebff5649bd19ffad36303de980600e700eb0be48a71b12fc071279224a
4
+ data.tar.gz: 0b945fbbd2d3cecc2cf89f74c4b4f5b30f9eb45bb4a344c653165729b11b14b6
5
5
  SHA512:
6
- metadata.gz: 300fbd6f956c2bf560981af7a6fa94d5b57ff4be83de46acba69af581a31d1fa3660b9b040a0aeafa71d9035c867157eb312e3713ead9eff9f925b0dfd29b719
7
- data.tar.gz: d4891d18f0a68dd3fa4d9dbd2a82975c8c5e5e3c3c8e51860c4e14c864c08cedbd6902fbcd64640d2f7a0aca39dc465d51f31337aaf8e7ab16e59de6fdb38905
6
+ metadata.gz: b1becdb82c456b73d3096a80dfca8ec2b7cdfaa15f257eefc6914c019881e22be7113a23735761bd163a6e9e86228b88c90c716a7e9679c987868da1381d7043
7
+ data.tar.gz: 7cc18d00d936d6d308f5f637eace3b6e9c16f3ac90416a0df420c83057e0cfe5f21c6106f14195f39d92a65dd612c18b86d9c7cecad81712cb948b34202b23a0
@@ -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})"
@@ -34,7 +34,7 @@ module Raykit
34
34
 
35
35
  def get_dev_dir(dir)
36
36
  dev_dir = Environment.get_dev_dir(dir)
37
- "#{dev_dir}/#{relative_path}"
37
+ Raykit::Environment::normalize_path("#{dev_dir}/#{relative_path}")
38
38
  end
39
39
 
40
40
  # Clone the repository to a specific directory
@@ -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/)
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.427
4
+ version: 0.0.429
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow