docker_compose_ruby 0.1.3 → 0.1.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 +4 -4
- data/README.md +0 -2
- data/lib/docker_compose_ruby/version.rb +1 -1
- data/lib/docker_compose_ruby.rb +13 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 648712a2aa2b740032a8c39da7910fdfdad8ad59
|
4
|
+
data.tar.gz: 0846c6ce8f38217b189676c64839a37e2e96f651
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86e033ffc490ede860426e9234ee0c1872978e0c218fd721fd54c31c5f5523d8a7f88961cf02b843bbf81eb53f4073dd50e171fc4b8558a8e70f6b356f727f3e
|
7
|
+
data.tar.gz: 06664d33efeae88708daaf9172d582252e9e4a4e80634ff54c93cffe0747d4f06ee4e42afa7648f5e765618a95b4dbbf2dcfdac97eae48fa7d24d269ab577502
|
data/README.md
CHANGED
data/lib/docker_compose_ruby.rb
CHANGED
@@ -44,6 +44,18 @@ module DockerCompose
|
|
44
44
|
compose('up',options)
|
45
45
|
end
|
46
46
|
|
47
|
+
# Ups the set of containers listed in your compose file.
|
48
|
+
#
|
49
|
+
# @param options [Hash]
|
50
|
+
# @return [String]
|
51
|
+
#
|
52
|
+
# @example
|
53
|
+
# DockerCompose.up
|
54
|
+
def pull(options = {})
|
55
|
+
options = nil if options.empty?
|
56
|
+
compose('pull',options)
|
57
|
+
end
|
58
|
+
|
47
59
|
# Deletes the set of containers listed in your compose file.
|
48
60
|
#
|
49
61
|
# @param options [Hash]
|
@@ -99,7 +111,7 @@ module DockerCompose
|
|
99
111
|
when 'delete'
|
100
112
|
`docker-compose #{options} #{@yaml_path} #{@project_name} kill`
|
101
113
|
`docker-compose #{options} #{@yaml_path} #{@project_name} rm -f`
|
102
|
-
when 'stop', 'start', 'version'
|
114
|
+
when 'stop', 'start', 'version', 'pull'
|
103
115
|
`docker-compose #{options} #{@yaml_path} #{@project_name} #{command}`
|
104
116
|
end
|
105
117
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docker_compose_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mitch Eaton
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|