Sha256: 02a66561168627c28a7e066c74fbe33386dc016d1503e980e8597d92cf157d64

Contents?: true

Size: 272 Bytes

Versions: 77

Compression:

Stored size: 272 Bytes

Contents

module SpecInfra
  module Helper
    module Docker
      def self.included(klass)
        require 'docker' unless defined?(::Docker)
      rescue LoadError
        fail "Docker client library is not available. Try installing `docker-api' gem."
      end
    end
  end
end

Version data entries

77 entries across 77 versions & 1 rubygems

Version Path
specinfra-1.27.5 lib/specinfra/helper/docker.rb
specinfra-1.27.4 lib/specinfra/helper/docker.rb
specinfra-1.27.3 lib/specinfra/helper/docker.rb
specinfra-1.27.2 lib/specinfra/helper/docker.rb
specinfra-1.27.1 lib/specinfra/helper/docker.rb
specinfra-1.27.0 lib/specinfra/helper/docker.rb
specinfra-1.26.0 lib/specinfra/helper/docker.rb
specinfra-1.25.8 lib/specinfra/helper/docker.rb
specinfra-1.25.7 lib/specinfra/helper/docker.rb
specinfra-1.25.6 lib/specinfra/helper/docker.rb
specinfra-1.25.5 lib/specinfra/helper/docker.rb
specinfra-1.25.4 lib/specinfra/helper/docker.rb
specinfra-1.25.3 lib/specinfra/helper/docker.rb
specinfra-1.25.2 lib/specinfra/helper/docker.rb
specinfra-1.25.1 lib/specinfra/helper/docker.rb
specinfra-1.25.0 lib/specinfra/helper/docker.rb
specinfra-1.24.0 lib/specinfra/helper/docker.rb
specinfra-1.23.1 lib/specinfra/helper/docker.rb
specinfra-1.23.0 lib/specinfra/helper/docker.rb
specinfra-1.22.1 lib/specinfra/helper/docker.rb