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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2d5a7836bb08629e8cb7560fdf3a72e308a3be64
4
- data.tar.gz: 4d544b7753e336f5afbc595dc10877bc05d36e99
3
+ metadata.gz: 01dcea033121c1e4081b5b759b51cdbdd095ab87
4
+ data.tar.gz: e5350cc715280bd3d8ddb9ecaa1f6e9317660dd5
5
5
  SHA512:
6
- metadata.gz: 08a52245fd67d839afd7b94c24be5e402a81a0cbf7cd15ca11560dab68c01d5f2f341b043c0b3a3305b584b9f5cf044cec0579d97913300bc54115f0e6f52562
7
- data.tar.gz: 3c8bc18b9d46dd4ea9a4e9d8bd484eaba69f664454aac9978842bf86eb797be3ff01965dd0749b6528b44f7000169650dc4c088e0cc53a5eb506b89b9808b282
6
+ metadata.gz: b63e839bdeefdb57aa8f32415de5619365f740438a1e1f4042b0d34537ade47fc934a9e6461dc048e88d0942d50886a948f6a3eecd2df2b9dc9b86ce30cd9ebd
7
+ data.tar.gz: ca883ef9449ce0c74b9e41735cfb53f6bda2f8cd6464fbc7d2778a3c140f50e7e20e89885821af24b0bca45c748b1cc69bfaedc5ba892b65535c0eb57654c752
@@ -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... Check that it's running"
79
+ error "Connection to the docker daemon (#{ENV["DOCKER_HOST"]}) failed with error: #{e}"
76
80
  false
77
81
  end
78
82
 
@@ -1,5 +1,5 @@
1
1
  module Spurious
2
2
  module Server
3
- VERSION = "0.6.1"
3
+ VERSION = "0.6.2"
4
4
  end
5
5
  end
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.1
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-02-06 00:00:00.000000000 Z
11
+ date: 2015-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler