capistrano-dockercompose-interactive 0.0.3 → 0.0.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6c4fc563a82ca1443b06ce198355efdb5d16b8a7
4
- data.tar.gz: '008460d2842906d2520ddc75c34c4107f8d6b760'
3
+ metadata.gz: a080d0912a2c3fc23b0e743ce518513695234610
4
+ data.tar.gz: ba2082c24e0058adfb91bf4a7dbf871c847868ca
5
5
  SHA512:
6
- metadata.gz: dc61a0dfdb13a3b20f61533cacd6d74b23caa9e3a79f2f526ec25b5047d206380e9e60fa7111637a4c7e08181b5cca8d26851e3d014419be410706518d8082c0
7
- data.tar.gz: b1d5095ae7930f041b5257abf750654f765f9a4a9ee9a2177bfb21629daf7e4694ae70802e9a578cba1b653f35ea552b05cf035796962de9abecfa769dfcbee6
6
+ metadata.gz: e7df1c265206a731ec6d41cb7b1dba2e79b9d29697dbacca91c6bcd997e27e39dfa7854349fba6dab0a5ee8b6a2d3a19bd6c8037fdfa2fc1515b050aaddabeca
7
+ data.tar.gz: f282424621b0c012bf0ecd2084e8644819218b9db93ca4f622d5f7f426eb4e949a781ffc46431f992e316d05c82e2059bb5d8fa73b76927bc082976da23d3685
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'capistrano-dockercompose-interactive'
7
- spec.version = '0.0.3'
7
+ spec.version = '0.0.4'
8
8
  spec.date = '2018-02-01'
9
9
  spec.summary = 'Helps managing docker compose excution on local or remote with inetractive shell support'
10
10
  spec.description = spec.summary
@@ -14,6 +14,10 @@ class Instance
14
14
  @config = YAML.load(raw_config)
15
15
  end
16
16
 
17
+ def execute(cmd, capture = false)
18
+ execute_compose_command(cmd, capture)
19
+ end
20
+
17
21
  def execute_compose_command(cmd, capture = false)
18
22
  project = @project.empty? ? "" : "-p #{@project}"
19
23
  file = @file.empty? ? "" : "--file #{@file}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-dockercompose-interactive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Hanoldt