codebase4 1.0.10 → 1.0.11
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/codebase/recipes.rb +3 -3
- metadata +22 -8
data/lib/codebase/recipes.rb
CHANGED
@@ -13,12 +13,12 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
13
13
|
|
14
14
|
cmd = ["cb deploy #{previous_revision} #{current_revision}"]
|
15
15
|
|
16
|
-
branch
|
16
|
+
set :branch, (respond_to?(:branch) ? branch : 'master')
|
17
17
|
|
18
18
|
if respond_to?(:environment)
|
19
|
-
environment
|
19
|
+
set :environment, environment
|
20
20
|
elsif respond_to?(:rails_env)
|
21
|
-
environment = rails_env
|
21
|
+
set :environment = rails_env
|
22
22
|
end
|
23
23
|
|
24
24
|
cmd << "-s #{roles.values.collect{|r| r.servers}.flatten.collect{|s| s.host}.uniq.join(',') rescue ''}"
|
metadata
CHANGED
@@ -1,8 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codebase4
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 1
|
4
5
|
prerelease:
|
5
|
-
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
- 11
|
10
|
+
version: 1.0.11
|
6
11
|
platform: ruby
|
7
12
|
authors:
|
8
13
|
- Adam Cooke
|
@@ -10,8 +15,7 @@ autorequire:
|
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
17
|
|
13
|
-
date: 2011-
|
14
|
-
default_executable:
|
18
|
+
date: 2011-10-24 00:00:00 Z
|
15
19
|
dependencies:
|
16
20
|
- !ruby/object:Gem::Dependency
|
17
21
|
name: json
|
@@ -21,6 +25,11 @@ dependencies:
|
|
21
25
|
requirements:
|
22
26
|
- - ">="
|
23
27
|
- !ruby/object:Gem::Version
|
28
|
+
hash: 25
|
29
|
+
segments:
|
30
|
+
- 1
|
31
|
+
- 1
|
32
|
+
- 5
|
24
33
|
version: 1.1.5
|
25
34
|
type: :runtime
|
26
35
|
version_requirements: *id001
|
@@ -34,13 +43,12 @@ extensions: []
|
|
34
43
|
extra_rdoc_files: []
|
35
44
|
|
36
45
|
files:
|
37
|
-
- bin/codebase
|
38
46
|
- bin/cb
|
39
|
-
-
|
40
|
-
- lib/codebase/recipes.rb
|
47
|
+
- bin/codebase
|
41
48
|
- lib/codebase/cli.rb
|
42
49
|
- lib/codebase/config.rb
|
43
|
-
|
50
|
+
- lib/codebase/recipes.rb
|
51
|
+
- lib/codebase.rb
|
44
52
|
homepage: http://atechmedia.com
|
45
53
|
licenses: []
|
46
54
|
|
@@ -54,17 +62,23 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
54
62
|
requirements:
|
55
63
|
- - ">="
|
56
64
|
- !ruby/object:Gem::Version
|
65
|
+
hash: 3
|
66
|
+
segments:
|
67
|
+
- 0
|
57
68
|
version: "0"
|
58
69
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
59
70
|
none: false
|
60
71
|
requirements:
|
61
72
|
- - ">="
|
62
73
|
- !ruby/object:Gem::Version
|
74
|
+
hash: 3
|
75
|
+
segments:
|
76
|
+
- 0
|
63
77
|
version: "0"
|
64
78
|
requirements: []
|
65
79
|
|
66
80
|
rubyforge_project:
|
67
|
-
rubygems_version: 1.
|
81
|
+
rubygems_version: 1.8.10
|
68
82
|
signing_key:
|
69
83
|
specification_version: 3
|
70
84
|
summary: The RubyGem for Codebase v4 Deployment Tracking (replaces previous codebase gems)
|