capistrano-multiproject 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -5
- data/capistrano-multiproject.gemspec +1 -1
- data/lib/capistrano/multiproject/filter_roles.rb +1 -1
- metadata +53 -33
data/README.md
CHANGED
@@ -151,11 +151,7 @@ Example config/deploy/projects/admin.rb:
|
|
151
151
|
Compatibility
|
152
152
|
-------------
|
153
153
|
|
154
|
-
|
155
|
-
|
156
|
-
There is no good reason why it would not work with ruby 1.8, if you find problem with that, come
|
157
|
-
back to me and we will fix it together :)
|
158
|
-
|
154
|
+
Tested against MRI 1.9.3 and 1.8.7.
|
159
155
|
|
160
156
|
License
|
161
157
|
-------
|
@@ -4,7 +4,7 @@ Capistrano::Configuration.instance.load do
|
|
4
4
|
task :filter_roles do
|
5
5
|
project_roles_sym = project_roles.map { |o| o.to_sym }
|
6
6
|
roles.delete_if { |k,v| !project_roles_sym.include?(k) }
|
7
|
-
logger.info "Filtered roles down to '#{roles.keys.sort.join(', ')}'"
|
7
|
+
logger.info "Filtered roles down to '#{roles.keys.map { |o| o.to_s }.sort.join(', ')}'"
|
8
8
|
if roles.empty? && project_roles == [project]
|
9
9
|
abort "Define servers of role '#{project}' in stage '#{stage}' configuration, or specify project roles in project recipe (e.g. 'set :project_roles, [:foo, :bar]')"
|
10
10
|
end
|
metadata
CHANGED
@@ -1,39 +1,50 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-multiproject
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Olek Poplavsky
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2012-01-26 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
15
21
|
name: capistrano
|
16
|
-
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
24
|
none: false
|
18
|
-
requirements:
|
25
|
+
requirements:
|
19
26
|
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 43
|
29
|
+
segments:
|
30
|
+
- 2
|
31
|
+
- 9
|
32
|
+
- 0
|
21
33
|
version: 2.9.0
|
22
34
|
type: :runtime
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
Capistrano-multiproject solves this problem by allowing splitting up deploy.rb into
|
29
|
-
multiple project-specific recipe files.\n "
|
30
|
-
email:
|
35
|
+
version_requirements: *id001
|
36
|
+
description: "\n\
|
37
|
+
Everybody knows/uses original multistage extension written by Jamis Buck. It works great while you have only one project/app to deploy.\n\
|
38
|
+
It is not quite enough if you have multiple projects to deploy (SOA would be one big use case here). Capistrano-multiproject solves this problem by allowing splitting up deploy.rb into multiple project-specific recipe files.\n "
|
39
|
+
email:
|
31
40
|
- olek@woodenbits.com
|
32
41
|
executables: []
|
42
|
+
|
33
43
|
extensions: []
|
34
|
-
|
44
|
+
|
45
|
+
extra_rdoc_files:
|
35
46
|
- README.md
|
36
|
-
files:
|
47
|
+
files:
|
37
48
|
- capistrano-multiproject.gemspec
|
38
49
|
- Gemfile
|
39
50
|
- lib/capistrano/multiproject/configurations.rb
|
@@ -46,27 +57,36 @@ files:
|
|
46
57
|
- README.md
|
47
58
|
homepage: https://github.com/woodenbits/capistrano-multiproject
|
48
59
|
licenses: []
|
60
|
+
|
49
61
|
post_install_message:
|
50
|
-
rdoc_options:
|
62
|
+
rdoc_options:
|
51
63
|
- --charset=UTF-8
|
52
|
-
require_paths:
|
64
|
+
require_paths:
|
53
65
|
- lib
|
54
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
66
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
55
67
|
none: false
|
56
|
-
requirements:
|
57
|
-
- -
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
|
60
|
-
|
68
|
+
requirements:
|
69
|
+
- - ">="
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
hash: 3
|
72
|
+
segments:
|
73
|
+
- 0
|
74
|
+
version: "0"
|
75
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
61
76
|
none: false
|
62
|
-
requirements:
|
63
|
-
- -
|
64
|
-
- !ruby/object:Gem::Version
|
65
|
-
|
77
|
+
requirements:
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
hash: 3
|
81
|
+
segments:
|
82
|
+
- 0
|
83
|
+
version: "0"
|
66
84
|
requirements: []
|
85
|
+
|
67
86
|
rubyforge_project:
|
68
|
-
rubygems_version: 1.8.
|
87
|
+
rubygems_version: 1.8.13
|
69
88
|
signing_key:
|
70
89
|
specification_version: 3
|
71
90
|
summary: Capistrano extension that allows to deploy multiple projects from one location
|
72
91
|
test_files: []
|
92
|
+
|