specinfra 2.0.0.beta28 → 2.0.0.beta29

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e3fa490ab0c9733b0b982b6f216af4bad1f2c1ee
4
- data.tar.gz: 792cdee18f73a99eac62287a922662f30aada61b
3
+ metadata.gz: 19b475b396b0e94a215d943a2f7edf0973772776
4
+ data.tar.gz: 5ba06b04d558edc33cfc7202dd1da4ab95c36cb1
5
5
  SHA512:
6
- metadata.gz: ffe4ea43dc3b396f99497b34b1ce9038526b205d54918efdeacc74d92975dea598a1b3a4d403161bc0a309487e59ef6058dd030aad6f594cff5ff3ef78f5223b
7
- data.tar.gz: bd383c9e44fcef5b04dd0642a19bdb4f5745e73b089aaead1a73ad2acb1a4bb67e0e253ff85aa24262e159bf985b94112fb927d89449bb1287ad94d8f89edad4
6
+ metadata.gz: fac9490794ce3527d376f619d3834edcef8918b3bc649c593662f30d072a8dee63bc67b70e8682c9b593181e98063d2cd2a329733653a542be7c21374464537d
7
+ data.tar.gz: 9d207df541d529d36f9aefc62047d46a1622db73075784f7dba471eb3a883e0bf68a978c8f2b1ce7a893f7c98099971a8c91676cd7d614f983b843451ba2628a
@@ -2,6 +2,12 @@ module Specinfra
2
2
  module Backend
3
3
  class Docker < Exec
4
4
  def initialize
5
+ begin
6
+ require 'docker' unless defined?(::Docker)
7
+ rescue LoadError
8
+ fail "Docker client library is not available. Try installing `docker-api' gem."
9
+ end
10
+
5
11
  @images = []
6
12
  ::Docker.url = Specinfra.configuration.docker_url
7
13
  end
@@ -1,3 +1,3 @@
1
1
  module Specinfra
2
- VERSION = "2.0.0.beta28"
2
+ VERSION = "2.0.0.beta29"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: specinfra
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.beta28
4
+ version: 2.0.0.beta29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita