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 +4 -4
- data/README.md +5 -0
- data/docker-compose.gemspec +1 -1
- data/lib/docker/compose/session.rb +6 -1
- data/lib/docker/compose/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01ad9b933461fa3bce239f8060f28951cda911dc
|
4
|
+
data.tar.gz: d44b8d0a11df14f64f52127146ace0f5bea2fff1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|
data/docker-compose.gemspec
CHANGED
@@ -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.
|
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
|
#
|
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.
|
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
|
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.
|
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.
|
26
|
+
version: '0.5'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|