drakkon 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/drakkon/init.rb +5 -0
- data/lib/drakkon/lib/hub.rb +4 -0
- data/lib/drakkon/release.rb +1 -1
- data/lib/drakkon/run/tty.rb +1 -1
- data/lib/drakkon/skeleton/install.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: 8b7f65a972668a6beb610ed53da219fb9cfaeff4b553b105ccc9836b8bfcd03b
|
4
|
+
data.tar.gz: addbf0433116e2fd71948ddd31076412aa29b34b35f25c2058ce61c02ce54373
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb1462dcc9c6ea1991f5fe9e205e30248d831729f4d6e6aa6d3a8156fba30bac4ca9d5fecd974777d61b8e5bfe2f38902b8271f8ef0f75dc880956ce7ee0165a
|
7
|
+
data.tar.gz: 1d27fdfa3c6df857e49d73111b2b4ca94e159d26facee57af6aeecae84f11b9dde8ba255fc5507bba8df7949f12ed57b9f01db71d2ff3f59c530e29f5db40db8
|
data/lib/drakkon/init.rb
CHANGED
@@ -15,6 +15,11 @@ module Drakkon
|
|
15
15
|
end
|
16
16
|
|
17
17
|
def self.run!
|
18
|
+
unless Hub.version_installed?
|
19
|
+
LogBot.warn('Init', 'No Drakkon Versions Installed, Run `drakkon install <dragonruby.zip>` first!')
|
20
|
+
exit(1)
|
21
|
+
end
|
22
|
+
|
18
23
|
exit if prompt.no?("Init Drakkon here? #{Dir.pwd.pastel(:yellow)}")
|
19
24
|
LogBot.info('Init', 'Start')
|
20
25
|
settings
|
data/lib/drakkon/lib/hub.rb
CHANGED
data/lib/drakkon/release.rb
CHANGED
data/lib/drakkon/run/tty.rb
CHANGED