raykit 0.0.316 → 0.0.317
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/project.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: aa07fead18ef9902e82769149e1a8e3726c32a6a1cea7a71c76d71bdafb15129
|
4
|
+
data.tar.gz: 48e9c08682afe3ea23b32c0eb965ac30bc0c6aaeeddeb588090bab3b4d322475
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 760aa8b3e3c8711796478bf57f1588dc70feec024901be41961c91ad6e77a270f83c719e88c22678e3bbcd2ddd4c8ae7d4542a0ef32f89ba5d343840c23eaeda
|
7
|
+
data.tar.gz: 402a930944e26707f778d65a8dec9d67d0f7478fbe808d764634b408d9bb776023d305f96c0b6abc10f9f48b83a53e067b5314c9938945684081585283b88140
|
data/lib/raykit/project.rb
CHANGED
@@ -95,6 +95,7 @@ module Raykit
|
|
95
95
|
end
|
96
96
|
|
97
97
|
def detached?
|
98
|
+
return true if @git_directory.nil?
|
98
99
|
@git_directory.detached?
|
99
100
|
end
|
100
101
|
|
@@ -184,7 +185,7 @@ module Raykit
|
|
184
185
|
puts 'PROJECT.name'.ljust(ljust) + Rainbow(PROJECT.name).yellow.bright
|
185
186
|
puts 'PROJECT.version'.ljust(ljust) + Rainbow(PROJECT.version).yellow.bright
|
186
187
|
puts 'PROJECT.remote'.ljust(ljust) + Rainbow(PROJECT.remote).yellow.bright
|
187
|
-
puts 'PROJECT.branch'.ljust(ljust) + Rainbow(PROJECT.branch).yellow.bright
|
188
|
+
puts 'PROJECT.branch'.ljust(ljust) + Rainbow(PROJECT.branch).yellow.bright if !branch.nil?
|
188
189
|
puts 'PROJECT.detached?'.ljust(ljust) + Rainbow(PROJECT.detached?).yellow.bright
|
189
190
|
# puts "PROJECT.target".ljust(ljust) + Rainbow(PROJECT.target).yellow.bright
|
190
191
|
# puts "PROJECT.target_md5".ljust(ljust) + Rainbow(PROJECT.target_md5).yellow.bright
|