dctl_rb 0.8.0 → 0.9.0
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/Gemfile.lock +10 -10
- data/exe/dctl +3 -1
- data/lib/dctl/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9ad659592a9e3095704e40a76282f22b08906aa3742784a15768066f39ef7174
|
|
4
|
+
data.tar.gz: 1e2f46ef490f198c5dfbae2473654344a7964a340178d133c1cc7a39f03fbc2d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8b0ae766cc35704b80408efe14e04c351454566516b521bcf461a4eb4e5f720aec2a542e879bd5149aaeb06d230c407d49cd64bb6d81f268cb04206af51ffc0d
|
|
7
|
+
data.tar.gz: 75edbae0c8222eb7f41e4214934d2c72c4cbb460a127ea2c8cbd0297bdff0a9e395c747f81ea461ef04887a95964b94077a4d35ead7942ae8c0f4c0237f75c95
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
dctl_rb (0.
|
|
4
|
+
dctl_rb (0.9.0)
|
|
5
5
|
config (>= 1, < 2)
|
|
6
6
|
rainbow (>= 2.2, < 3)
|
|
7
7
|
rake (~> 12)
|
|
@@ -10,25 +10,25 @@ PATH
|
|
|
10
10
|
GEM
|
|
11
11
|
remote: https://rubygems.org/
|
|
12
12
|
specs:
|
|
13
|
-
activesupport (5.1.
|
|
13
|
+
activesupport (5.1.5)
|
|
14
14
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
15
15
|
i18n (~> 0.7)
|
|
16
16
|
minitest (~> 5.1)
|
|
17
17
|
tzinfo (~> 1.1)
|
|
18
18
|
byebug (9.1.0)
|
|
19
19
|
concurrent-ruby (1.0.5)
|
|
20
|
-
config (1.
|
|
20
|
+
config (1.7.0)
|
|
21
21
|
activesupport (>= 3.0)
|
|
22
|
-
deep_merge (~> 1.
|
|
22
|
+
deep_merge (~> 1.2.1)
|
|
23
23
|
dry-validation (>= 0.10.4)
|
|
24
|
-
deep_merge (1.
|
|
24
|
+
deep_merge (1.2.1)
|
|
25
25
|
diff-lcs (1.3)
|
|
26
26
|
dry-configurable (0.7.0)
|
|
27
27
|
concurrent-ruby (~> 1.0)
|
|
28
28
|
dry-container (0.6.0)
|
|
29
29
|
concurrent-ruby (~> 1.0)
|
|
30
30
|
dry-configurable (~> 0.1, >= 0.1.3)
|
|
31
|
-
dry-core (0.4.
|
|
31
|
+
dry-core (0.4.4)
|
|
32
32
|
concurrent-ruby (~> 1.0)
|
|
33
33
|
dry-equalizer (0.2.0)
|
|
34
34
|
dry-logic (0.4.2)
|
|
@@ -50,10 +50,10 @@ GEM
|
|
|
50
50
|
dry-equalizer (~> 0.2)
|
|
51
51
|
dry-logic (~> 0.4, >= 0.4.0)
|
|
52
52
|
dry-types (~> 0.12.0)
|
|
53
|
-
i18n (0.9.
|
|
53
|
+
i18n (0.9.5)
|
|
54
54
|
concurrent-ruby (~> 1.0)
|
|
55
55
|
inflecto (0.0.2)
|
|
56
|
-
minitest (5.11.
|
|
56
|
+
minitest (5.11.3)
|
|
57
57
|
rainbow (2.2.2)
|
|
58
58
|
rake
|
|
59
59
|
rake (12.3.0)
|
|
@@ -72,7 +72,7 @@ GEM
|
|
|
72
72
|
rspec-support (3.6.0)
|
|
73
73
|
thor (0.20.0)
|
|
74
74
|
thread_safe (0.3.6)
|
|
75
|
-
tzinfo (1.2.
|
|
75
|
+
tzinfo (1.2.5)
|
|
76
76
|
thread_safe (~> 0.1)
|
|
77
77
|
|
|
78
78
|
PLATFORMS
|
|
@@ -85,4 +85,4 @@ DEPENDENCIES
|
|
|
85
85
|
rspec (~> 3.0)
|
|
86
86
|
|
|
87
87
|
BUNDLED WITH
|
|
88
|
-
1.16.
|
|
88
|
+
1.16.1
|
data/exe/dctl
CHANGED
|
@@ -17,6 +17,7 @@ module Dctl
|
|
|
17
17
|
class_option :env, default: "dev", type: :string
|
|
18
18
|
|
|
19
19
|
desc "build", "Build images. Pass image name to build a specific one; otherwise builds all"
|
|
20
|
+
option :pull, type: :boolean, default: true
|
|
20
21
|
def build(*images)
|
|
21
22
|
dctl = Dctl::Main.new env: options[:env]
|
|
22
23
|
images = dctl.expand_images *images
|
|
@@ -28,8 +29,9 @@ module Dctl
|
|
|
28
29
|
images.each do |image|
|
|
29
30
|
tag = dctl.image_tag(image)
|
|
30
31
|
dockerfile = dctl.image_dockerfile(image)
|
|
32
|
+
pull = options[:pull]
|
|
31
33
|
|
|
32
|
-
commands << "#{sudo}docker #{docker_opts} build -f #{dockerfile} -t #{tag} ."
|
|
34
|
+
commands << "#{sudo}docker #{docker_opts} build -f #{dockerfile} -t #{tag}#{pull ? " --pull=true" : ""} ."
|
|
33
35
|
end
|
|
34
36
|
|
|
35
37
|
stream_output commands.join(" && "), exec: true
|
data/lib/dctl/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dctl_rb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.9.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Toniazzo
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-02-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -173,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
173
173
|
version: '0'
|
|
174
174
|
requirements: []
|
|
175
175
|
rubyforge_project:
|
|
176
|
-
rubygems_version: 2.7.
|
|
176
|
+
rubygems_version: 2.7.6
|
|
177
177
|
signing_key:
|
|
178
178
|
specification_version: 4
|
|
179
179
|
summary: Simple dockerized app config
|