raykit 0.0.469 → 0.0.470
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/raykit/project.rb +6 -4
- data/lib/raykit/version.rb +1 -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: 58f2f51ae64b4e01957e95d9137b376277da475841970c05cfae502cc387e440
|
4
|
+
data.tar.gz: 80117a88f447f0bde522922e54dcb6c8c08fff382ae7ffd1aee08027d3b224ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcf031ab001b1e6a91e3f377af916b6af2f58d4d6066c8c9b78c9b0f5e710b5157031dedb00718f80dd23995b7a6dd008b364f97c2aa70cf7c727178da0c7973
|
7
|
+
data.tar.gz: e9f14e573acc836ec6e08ae8dfb93ab7b9c8b556589dc83971dc66469cb58a483d050a0cd9049bd85cefc348258b236c071d82e29813f570bae5eff914cf8278
|
data/lib/raykit/project.rb
CHANGED
@@ -61,10 +61,12 @@ module Raykit
|
|
61
61
|
end
|
62
62
|
end
|
63
63
|
|
64
|
-
if version.length.zero?
|
65
|
-
|
66
|
-
|
67
|
-
|
64
|
+
if version.length.zero?
|
65
|
+
if defined?(VERSION)
|
66
|
+
@version = VERSION
|
67
|
+
else
|
68
|
+
@version = Raykit::Version.detect(@name, true)
|
69
|
+
end
|
68
70
|
end
|
69
71
|
|
70
72
|
@repository = Raykit::Git::Repository.new(@remote)
|
data/lib/raykit/version.rb
CHANGED