docker_core 0.0.24 → 0.0.25
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/lib/docker_core.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1aa25b8f032a45928140b7f29a149f6dfd9e5b658775027a68c0af0149c3a56
|
4
|
+
data.tar.gz: 0e7384b6cfacba90eaea5a6fcc1c95fad176a350b644030a82aecb01ca41710d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1152e77399f32f7339b421a8f7a589d2c14545a40ca6670459a56a190e6e73749d01d055649dbc12c2c091aa67690101524ea9e890428a76f8a0217a35adc59b
|
7
|
+
data.tar.gz: 31bb09aa3c9c01d053764efd20264fc21453e6bb0a0f3c8d26ea71e7804f23f7b90bf190339a7dc91cb382a45cf151eca488bd2f37b595f080b2625e50b4eb66
|
data/lib/docker_core.rb
CHANGED
@@ -136,7 +136,7 @@ module DockerCore
|
|
136
136
|
# @param [Boolean] echo
|
137
137
|
def self.capture(*arguments, sudo: SUDO, throw: false, wait: 0, strip: true, echo: false)
|
138
138
|
begin
|
139
|
-
command = self.command(*arguments,
|
139
|
+
command = self.command(*arguments, sudo: sudo)
|
140
140
|
|
141
141
|
if echo
|
142
142
|
Color.echo(": #{command}", Color::YELLOW)
|
@@ -158,7 +158,7 @@ module DockerCore
|
|
158
158
|
# @param [Numeric] wait
|
159
159
|
# @param [Boolean] echo
|
160
160
|
def self.run(*arguments, sudo: SUDO, throw: true, wait: 0, echo: true)
|
161
|
-
command = self.command(*arguments,
|
161
|
+
command = self.command(*arguments, sudo: sudo)
|
162
162
|
|
163
163
|
if echo
|
164
164
|
Color.echo("+ #{command}", Color::GREEN)
|
@@ -172,7 +172,7 @@ module DockerCore
|
|
172
172
|
# @param [Array] arguments
|
173
173
|
# @param [Boolean, String] sudo
|
174
174
|
def self.execute(*arguments, sudo: SUDO, echo: true)
|
175
|
-
command = self.command(*arguments,
|
175
|
+
command = self.command(*arguments, sudo: sudo)
|
176
176
|
|
177
177
|
if echo
|
178
178
|
Color.echo("= #{command}", Color::CYAN)
|