docker-compose 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 29ab019002254403adcb4a1ac1eb8f0de9eae404
4
- data.tar.gz: 3f811096eb9db88a6a258f7d1a3cd52aee1e7b5b
3
+ metadata.gz: 01ad9b933461fa3bce239f8060f28951cda911dc
4
+ data.tar.gz: d44b8d0a11df14f64f52127146ace0f5bea2fff1
5
5
  SHA512:
6
- metadata.gz: 43a2569c8c2b64cda6c1f2d0296429a313220c83c8b4a44aef84e344e99cde89d4293b0386ed5623cd572fc59ec9af2b5c7a3a198f6bf24debcfbe1fe5bb8250
7
- data.tar.gz: 8dacdec35378f7d22b9c681af9a9411b3617647d4627b54180159b9db0f7139e07f8aac1bca68488211516daff95f061b2d05ed76ae7663e6eb4d58708d177a3
6
+ metadata.gz: c0bb7c19ff8c0101fe754eec4eae4886f305091179e2b100858c66c81bc1950a9038c0d5504d8a3c928511e71f7bc535397b80649eef6b07093071e7c9156b60
7
+ data.tar.gz: 0d9b04cc1671bf1dd6fd7a982cb4a4bbcdc7726a281f29910fc85b3da0cd310c98543879299f60b4e283ae054bb7fa7ec2d83c23853e3b858c94080b45394149
data/README.md CHANGED
@@ -1,3 +1,8 @@
1
+
2
+
3
+ [![Build Status](https://travis-ci.org/xeger/docker-compose.svg)](https://travis-ci.org/xeger/docker-compose) [![Docs](https://img.shields.io/badge/docs-rubydoc-orange.svg)](http://www.rubydoc.info/gems/docker-compose)
4
+
5
+
1
6
  # Docker::Compose
2
7
 
3
8
  This is a Ruby OOP wrapper for the [docker-compose](https://github.com/docker/compose)
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ['lib']
21
21
 
22
- spec.add_dependency 'backticks', '~> 0.4'
22
+ spec.add_dependency 'backticks', '~> 0.5'
23
23
 
24
24
  spec.add_development_dependency 'bundler', '~> 1.10'
25
25
  spec.add_development_dependency 'rake', '~> 10.0'
@@ -17,7 +17,7 @@ module Docker::Compose
17
17
  class Session
18
18
  attr_reader :dir, :file
19
19
 
20
- def initialize(shell = Backticks::Runner.new(interactive: true),
20
+ def initialize(shell = Backticks::Runner.new(buffered:[:stderr], interactive: true),
21
21
  dir:Dir.pwd, file:'docker-compose.yml')
22
22
  @shell = shell
23
23
  @dir = dir
@@ -160,6 +160,11 @@ module Docker::Compose
160
160
  end
161
161
  end
162
162
 
163
+ def build(*services, force_rm:false, no_cache:false, pull:false)
164
+ result = run!('build', services,
165
+ force_rm:force_rm, no_cache:no_cache, pull:pull)
166
+ end
167
+
163
168
  # Run a docker-compose command without validating that the CLI parameters
164
169
  # make sense. Prepend project and file options if suitable.
165
170
  #
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  module Docker
3
3
  module Compose
4
- VERSION = '0.8.0'
4
+ VERSION = '0.8.1'
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docker-compose
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Spataro
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-18 00:00:00.000000000 Z
11
+ date: 2016-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: backticks
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.5'
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.4'
26
+ version: '0.5'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement