capistrano-af83 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,6 +7,7 @@ location = fetch(:stage_dir, "config/deploy")
7
7
  unless exists?(:stages)
8
8
  set :stages, Dir["#{location}/*.rb"].map { |f| File.basename(f, ".rb") }
9
9
  end
10
+ set :stages, stages.map(&:to_sym)
10
11
 
11
12
  desc "Set the target stage to `dev'."
12
13
  task :dev do
@@ -37,10 +38,10 @@ task :prod do
37
38
  load "#{location}/#{stage}"
38
39
  end
39
40
 
40
- stages.each do |name|
41
+ (stages - default_stages).each do |name|
41
42
  desc "Set the target stage to `#{name}'."
42
43
  task(name) do
43
- set :stage, name.to_sym
44
+ set :stage, name
44
45
  load "#{location}/#{stage}"
45
46
  end
46
47
  end
@@ -55,4 +56,4 @@ namespace :multistage do
55
56
  end
56
57
  end
57
58
 
58
- on :start, "multistage:ensure"
59
+ on :start, "multistage:ensure", except: default_stages + stages
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module AF83
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-af83
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-19 00:00:00.000000000 Z
12
+ date: 2011-12-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
16
- requirement: &73998440 !ruby/object:Gem::Requirement
16
+ requirement: &76297920 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '2.9'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *73998440
24
+ version_requirements: *76297920
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: capistrano_colors
27
- requirement: &73997810 !ruby/object:Gem::Requirement
27
+ requirement: &76296910 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0.5'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *73997810
35
+ version_requirements: *76296910
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: capistrano-notification
38
- requirement: &73996970 !ruby/object:Gem::Requirement
38
+ requirement: &76296530 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0.1'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *73996970
46
+ version_requirements: *76296530
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: sushi
49
- requirement: &73996230 !ruby/object:Gem::Requirement
49
+ requirement: &76296150 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: 0.0.2
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *73996230
57
+ version_requirements: *76296150
58
58
  description: Capistrano recipes for af83
59
59
  email: bruno.michel@af83.com
60
60
  executables: []