spurious-server 0.6.1 → 0.6.2
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/cli.rb +5 -1
- data/lib/spurious/server/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 01dcea033121c1e4081b5b759b51cdbdd095ab87
|
|
4
|
+
data.tar.gz: e5350cc715280bd3d8ddb9ecaa1f6e9317660dd5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b63e839bdeefdb57aa8f32415de5619365f740438a1e1f4042b0d34537ade47fc934a9e6461dc048e88d0942d50886a948f6a3eecd2df2b9dc9b86ce30cd9ebd
|
|
7
|
+
data.tar.gz: ca883ef9449ce0c74b9e41735cfb53f6bda2f8cd6464fbc7d2778a3c140f50e7e20e89885821af24b0bca45c748b1cc69bfaedc5ba892b65535c0eb57654c752
|
data/lib/spurious/server/cli.rb
CHANGED
|
@@ -68,11 +68,15 @@ module Spurious
|
|
|
68
68
|
|
|
69
69
|
def docker_daemon_available?
|
|
70
70
|
say "Checking if docker daemon is available...", :blue
|
|
71
|
+
if ENV["DOCKER_TLS_VERIFY"] == '0'
|
|
72
|
+
say 'Turning off TLS verification...'
|
|
73
|
+
Excon.defaults[:ssl_verify_peer] = false
|
|
74
|
+
end
|
|
71
75
|
Excon.defaults[:connect_timeout] = Excon.defaults[:read_timeout] = TIMEOUT
|
|
72
76
|
Docker.info
|
|
73
77
|
true
|
|
74
78
|
rescue Excon::Errors::SocketError, Excon::Errors::Timeout, Docker::Error::TimeoutError => e
|
|
75
|
-
error "Connection to the docker daemon (#{ENV["DOCKER_HOST"]}) failed
|
|
79
|
+
error "Connection to the docker daemon (#{ENV["DOCKER_HOST"]}) failed with error: #{e}"
|
|
76
80
|
false
|
|
77
81
|
end
|
|
78
82
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spurious-server
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Steven Jack
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-05-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|