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 +4 -4
- data/lib/raykit/command.rb +1 -1
- data/lib/raykit/git/repository.rb +2 -1
- 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: 19fc63ebff5649bd19ffad36303de980600e700eb0be48a71b12fc071279224a
|
4
|
+
data.tar.gz: 0b945fbbd2d3cecc2cf89f74c4b4f5b30f9eb45bb4a344c653165729b11b14b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1becdb82c456b73d3096a80dfca8ec2b7cdfaa15f257eefc6914c019881e22be7113a23735761bd163a6e9e86228b88c90c716a7e9679c987868da1381d7043
|
7
|
+
data.tar.gz: 7cc18d00d936d6d308f5f637eace3b6e9c16f3ac90416a0df420c83057e0cfe5f21c6106f14195f39d92a65dd612c18b86d9c7cecad81712cb948b34202b23a0
|
data/lib/raykit/command.rb
CHANGED
@@ -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}").
|
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/)
|