spurious-server 0.6.0 → 0.6.1
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/spurious/server/app.rb +1 -0
- data/lib/spurious/server/cli.rb +3 -2
- data/lib/spurious/server/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: 2d5a7836bb08629e8cb7560fdf3a72e308a3be64
|
4
|
+
data.tar.gz: 4d544b7753e336f5afbc595dc10877bc05d36e99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 08a52245fd67d839afd7b94c24be5e402a81a0cbf7cd15ca11560dab68c01d5f2f341b043c0b3a3305b584b9f5cf044cec0579d97913300bc54115f0e6f52562
|
7
|
+
data.tar.gz: 3c8bc18b9d46dd4ea9a4e9d8bd484eaba69f664454aac9978842bf86eb797be3ff01965dd0749b6528b44f7000169650dc4c088e0cc53a5eb506b89b9808b282
|
data/lib/spurious/server/app.rb
CHANGED
data/lib/spurious/server/cli.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
require "docker"
|
1
2
|
require "thor"
|
2
3
|
require "spurious/server"
|
3
4
|
require "spurious/server/options"
|
@@ -66,7 +67,7 @@ module Spurious
|
|
66
67
|
end
|
67
68
|
|
68
69
|
def docker_daemon_available?
|
69
|
-
say "Checking
|
70
|
+
say "Checking if docker daemon is available...", :blue
|
70
71
|
Excon.defaults[:connect_timeout] = Excon.defaults[:read_timeout] = TIMEOUT
|
71
72
|
Docker.info
|
72
73
|
true
|
@@ -87,7 +88,7 @@ module Spurious
|
|
87
88
|
|
88
89
|
def check_and_clear_id
|
89
90
|
if pid_exists? && ! is_process_running?
|
90
|
-
say "Process isn't running but PID file exists
|
91
|
+
say "Process isn't running but PID file exists, removing", :red
|
91
92
|
File.delete PID
|
92
93
|
elsif pid_exists?
|
93
94
|
error "Server already running"
|