le1t0-capistrano 2.5.18.004 → 2.5.18.005

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ == 2.5.18.005 / Jun 7, 2010
2
+
3
+ Added :migrations boolean variable, so we can easily see we are running migrations or not.
4
+
1
5
  == 2.5.18.004 / May 19, 2010
2
6
 
3
7
  Fixed loading of multistage support.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.5.18.004
1
+ 2.5.18.005
@@ -25,6 +25,7 @@ _cset(:repository) { abort "Please specify the repository that houses your appl
25
25
  _cset :scm, :subversion
26
26
  _cset :deploy_via, :checkout
27
27
  _cset :running_cold_deploy, false
28
+ _cset :running_migrations, false
28
29
 
29
30
  _cset(:deploy_to) { "/u/apps/#{application}" }
30
31
  _cset(:revision) { source.head }
@@ -401,6 +402,7 @@ namespace :deploy do
401
402
  task :migrations do
402
403
  # when using bundler, symlink has to run before migrate (unless you want to fully rebundle each deployment)
403
404
  set :migrate_target, :current
405
+ set :running_migrations, true
404
406
  update_code
405
407
  symlink
406
408
  migrate
@@ -483,6 +485,7 @@ namespace :deploy do
483
485
  DESC
484
486
  task :migrations do
485
487
  set :running_cold_deploy, true
488
+ set :running_migrations, true
486
489
  update
487
490
  migrate
488
491
  end
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 2
7
7
  - 5
8
8
  - 18
9
- - 4
10
- version: 2.5.18.004
9
+ - 5
10
+ version: 2.5.18.005
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-05-19 00:00:00 +02:00
18
+ date: 2010-06-07 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency