dory 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/dory +9 -1
- data/lib/dory/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0a229283bb0a4fd5f93556b55d92e2b3c296748
|
4
|
+
data.tar.gz: ebda24b25809a5422a1a980b9387dbe14935165d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91f6f16e663b974e626f6516d071c809b2d5f42f5496891de01128a824a7f3040e161126dfa30f386153bbe3d3e479b62a8e36ee6a2ec90100da59010a95081f
|
7
|
+
data.tar.gz: b78b1c079d77f788abb21a81c1a3d36a8d0b45c8d30a70de460613ca8fbedc49b86b3733a6c18fc6ac30af6ea556d44689d4fd3166b71bfcce404607e0fed19e
|
data/bin/dory
CHANGED
@@ -108,7 +108,7 @@ class DoryBin < Thor
|
|
108
108
|
|
109
109
|
> $ dory attach [proxy] [dns]
|
110
110
|
LONGDESC
|
111
|
-
def attach(service)
|
111
|
+
def attach(service = nil)
|
112
112
|
exec_attach(service, options)
|
113
113
|
end
|
114
114
|
|
@@ -124,6 +124,14 @@ class DoryBin < Thor
|
|
124
124
|
nil
|
125
125
|
end
|
126
126
|
if mod
|
127
|
+
unless mod.running?
|
128
|
+
puts "Service '#{service}' is not running. Starting...".green
|
129
|
+
if mod.start
|
130
|
+
puts "Service '#{service}' successfully started.".green
|
131
|
+
else
|
132
|
+
puts "Error starting service '#{service}'".red
|
133
|
+
end
|
134
|
+
end
|
127
135
|
if mod.running?
|
128
136
|
puts "Note that if you Ctrl + C after attaching,".yellow
|
129
137
|
puts "the service will need to be restarted.".yellow
|
data/lib/dory/version.rb
CHANGED