le1t0-deprec 2.1.6.005 → 2.1.6.006
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -0
- data/lib/deprec/recipes/rails.rb +8 -8
- metadata +3 -3
data/CHANGELOG
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# deprec changelog
|
2
2
|
|
3
|
+
= 2.1.6.006 (Jun 4, 2010)
|
4
|
+
|
5
|
+
* again fixed variable names in rails recipe for being compatible with modify-alternatives-registration branch
|
6
|
+
|
3
7
|
= 2.1.6.005 (Jun 3, 2010)
|
4
8
|
|
5
9
|
* fixed variable names in rails recipe for being compatible with modify-alternatives-registration branch
|
data/lib/deprec/recipes/rails.rb
CHANGED
@@ -30,7 +30,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
30
30
|
top.deprec.rails.config
|
31
31
|
top.deprec.rails.activate_services
|
32
32
|
top.deprec.rails.set_perms_on_shared_and_releases
|
33
|
-
top.deprec.web.reload if
|
33
|
+
top.deprec.web.reload if web_choice.to_s != 'none'
|
34
34
|
top.deprec.rails.setup_database
|
35
35
|
end
|
36
36
|
|
@@ -125,14 +125,14 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
125
125
|
|
126
126
|
desc "Generate config files for rails app."
|
127
127
|
task :config_gen do
|
128
|
-
top.deprec.web.config_gen_project if
|
129
|
-
top.deprec.app.config_gen_project if
|
128
|
+
top.deprec.web.config_gen_project if web_choice.to_s != 'none'
|
129
|
+
top.deprec.app.config_gen_project if app_choice.to_s != 'none'
|
130
130
|
end
|
131
131
|
|
132
132
|
desc "Push out config files for rails app."
|
133
133
|
task :config do
|
134
|
-
top.deprec.web.config_project if
|
135
|
-
top.deprec.app.config_project if
|
134
|
+
top.deprec.web.config_project if web_choice.to_s != 'none'
|
135
|
+
top.deprec.app.config_project if app_choice.to_s != 'none'
|
136
136
|
end
|
137
137
|
|
138
138
|
task :create_config_dir, :roles => :app do
|
@@ -185,7 +185,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
185
185
|
|
186
186
|
# Setup database server.
|
187
187
|
task :setup_db, :roles => :db, :only => { :primary => true } do
|
188
|
-
top.deprec.mysql.setup if
|
188
|
+
top.deprec.mysql.setup if db_choice.to_s == 'mysql' # FIXME: should be generic db namespace call?
|
189
189
|
end
|
190
190
|
|
191
191
|
# setup extra paths required for deployment
|
@@ -233,8 +233,8 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
233
233
|
|
234
234
|
desc "Activate web, app and monit"
|
235
235
|
task :activate_services do
|
236
|
-
top.deprec.web.activate if
|
237
|
-
top.deprec.app.activate if
|
236
|
+
top.deprec.web.activate if web_choice.to_s != 'none'
|
237
|
+
top.deprec.app.activate if app_choice.to_s != 'none'
|
238
238
|
top.deprec.monit.activate if use_monit # FIXME: should be generic namespace monitoring, with :none option
|
239
239
|
end
|
240
240
|
|
metadata
CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
|
|
6
6
|
- 2
|
7
7
|
- 1
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 2.1.6.
|
9
|
+
- 6
|
10
|
+
version: 2.1.6.006
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Le1t0
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-06-
|
18
|
+
date: 2010-06-04 00:00:00 +02:00
|
19
19
|
default_executable: depify
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|