docker_compose_ruby 0.1.3 → 0.1.4

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: bdc079e7c3844e1cd2ae057f63e32a50aa435897
4
- data.tar.gz: e63b53363102127136f982252db24c632f56a5a9
3
+ metadata.gz: 648712a2aa2b740032a8c39da7910fdfdad8ad59
4
+ data.tar.gz: 0846c6ce8f38217b189676c64839a37e2e96f651
5
5
  SHA512:
6
- metadata.gz: 125f9a63063488d2ab8d14052bb544eca6b072e64dc33929e37117297dc71e5128bdcef9d0dcf28dfb3bece9d3210f3ff1c4fe0e74aa2f9bbf2e50680f7f6ce3
7
- data.tar.gz: f955e5aa40920c714cd59dc3c098de6490fe287673b874a6cc5be03130b6f7f2e10c58896fcb1f822870e4f33e237d1525d41550d488f6145029f93924a0cdbb
6
+ metadata.gz: 86e033ffc490ede860426e9234ee0c1872978e0c218fd721fd54c31c5f5523d8a7f88961cf02b843bbf81eb53f4073dd50e171fc4b8558a8e70f6b356f727f3e
7
+ data.tar.gz: 06664d33efeae88708daaf9172d582252e9e4a4e80634ff54c93cffe0747d4f06ee4e42afa7648f5e765618a95b4dbbf2dcfdac97eae48fa7d24d269ab577502
data/README.md CHANGED
@@ -2,8 +2,6 @@
2
2
 
3
3
  Simple Ruby wrapper for the docker compose cli
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
6
-
7
5
  ## Installation
8
6
 
9
7
  You need to have the docker compose cli installed.
@@ -1,3 +1,3 @@
1
1
  module DockerComposeRuby
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
@@ -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.3
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-02-29 00:00:00.000000000 Z
11
+ date: 2016-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler