eac_docker 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/eac_docker/rspec/setup.rb +17 -0
- data/lib/eac_docker/version.rb +1 -1
- metadata +11 -5
- data/lib/eac_docker/rspec/setup_include.rb +0 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a0db3a2d136f74a3f4794e70a5641bb10d679be7a21731c67a8869b282d3f51
|
4
|
+
data.tar.gz: 496a58ae61c00001258bf0886de2f02a30d127384b0d822c408251d2e4770c26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61ae5de6921486e25d33e2718c80dbd15b2634985e8f0fb1d2bae3222f07846392ef3b4b1f971d3e9b32475bd473f9d402102a8634920866959670fa4a9dec89
|
7
|
+
data.tar.gz: 128a951fb2c98561b707aca8926a3289139fb4835c42de07ee9339a0802e33680a1b6aabc9d450ec8b9712364d6551668996ce9068f442d3c847c30885abb7b9
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_docker/executables'
|
4
|
+
|
5
|
+
module EacDocker
|
6
|
+
module Rspec
|
7
|
+
module Setup
|
8
|
+
def self.extended(obj)
|
9
|
+
obj.setup_conditional_docker_executable
|
10
|
+
end
|
11
|
+
|
12
|
+
def setup_conditional_docker_executable
|
13
|
+
conditional(:docker) { ::EacDocker::Executables.docker.validate }
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
data/lib/eac_docker/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eac_docker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Put here the authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: eac_ruby_utils
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.74'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0.
|
26
|
+
version: '0.74'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: eac_templates
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -45,6 +45,9 @@ dependencies:
|
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0.3'
|
48
|
+
- - ">="
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: 0.3.3
|
48
51
|
type: :development
|
49
52
|
prerelease: false
|
50
53
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -52,6 +55,9 @@ dependencies:
|
|
52
55
|
- - "~>"
|
53
56
|
- !ruby/object:Gem::Version
|
54
57
|
version: '0.3'
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 0.3.3
|
55
61
|
description:
|
56
62
|
email:
|
57
63
|
executables: []
|
@@ -69,7 +75,7 @@ files:
|
|
69
75
|
- lib/eac_docker/images/templatized.rb
|
70
76
|
- lib/eac_docker/registry.rb
|
71
77
|
- lib/eac_docker/rspec.rb
|
72
|
-
- lib/eac_docker/rspec/
|
78
|
+
- lib/eac_docker/rspec/setup.rb
|
73
79
|
- lib/eac_docker/version.rb
|
74
80
|
homepage:
|
75
81
|
licenses: []
|
@@ -1,23 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_ruby_utils/rspec/conditional'
|
4
|
-
require 'eac_docker/executables'
|
5
|
-
|
6
|
-
module EacDocker
|
7
|
-
module Rspec
|
8
|
-
module SetupInclude
|
9
|
-
class << self
|
10
|
-
def setup(setup_obj)
|
11
|
-
setup_conditional_docker_executable(setup_obj)
|
12
|
-
end
|
13
|
-
|
14
|
-
def setup_conditional_docker_executable(setup_obj)
|
15
|
-
::EacRubyUtils::Rspec::Conditional.default.add(:docker) do
|
16
|
-
::EacDocker::Executables.docker.validate
|
17
|
-
end
|
18
|
-
::EacRubyUtils::Rspec::Conditional.default.configure(setup_obj.rspec_config)
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|