capistrano-fig 0.3.1 → 0.3.3

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.3.3
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "capistrano-fig"
8
- s.version = "0.3.0"
8
+ s.version = "0.3.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Nick Schuch"]
@@ -14,15 +14,20 @@ Capistrano::Configuration.instance(:must_exist).load do
14
14
 
15
15
  set :fig_bin, "fig"
16
16
 
17
- after "deploy:update_code", "fig:up"
17
+ after "deploy:update_code", "fig:kill", "fig:up"
18
18
 
19
19
  namespace :fig do
20
20
 
21
- desc "Rebuild the Docker containers with Fig."
21
+ desc "Start the Docker containers with Fig."
22
22
  task :up do
23
23
  run "cd #{app_path} && #{fig_bin} up -d"
24
24
  end
25
25
 
26
+ desc "Kill the Docker containers with Fig."
27
+ task :kill do
28
+ run "cd #{app_path} && #{fig_bin} kill"
29
+ end
30
+
26
31
  end
27
32
 
28
33
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-fig
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -55,7 +55,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
55
55
  version: '0'
56
56
  segments:
57
57
  - 0
58
- hash: 1221011560037601064
58
+ hash: -2152003526893681027
59
59
  required_rubygems_version: !ruby/object:Gem::Requirement
60
60
  none: false
61
61
  requirements: