capistrano 2.5.11 → 2.5.12

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -6,3 +6,4 @@ pkg
6
6
  *.gem
7
7
  *.sh
8
8
  .DS_Store
9
+ capistrano.gemspec
@@ -1,3 +1,11 @@
1
+ == 2.5.12 / 5 January 2010
2
+
3
+ * Tweak the directory version listing (caused a lot of problems, please upgrade immediately)
4
+
5
+ == 2.5.11 / December 2009
6
+
7
+ * Deprecations and other small changes
8
+
1
9
  == 2.5.10 / 3 November 2009
2
10
 
3
11
  * Fixes Darcs remote repository problem when using the copy strategy [Alex `regularfry` Young]
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.5.11
1
+ 2.5.12
@@ -51,7 +51,9 @@ _cset(:shared_path) { File.join(deploy_to, shared_dir) }
51
51
  _cset(:current_path) { File.join(deploy_to, current_dir) }
52
52
  _cset(:release_path) { File.join(releases_path, release_name) }
53
53
 
54
- _cset(:releases) { capture("ls -x #{releases_path}").split.reverse }
54
+ # re: https://capistrano.lighthouseapp.com/projects/8716/tickets/88-getting-the-newest-directory
55
+ # remove system inconsistencies with ls and let ruby sort the releases
56
+ _cset(:releases) { capture("ls -x #{releases_path}").split.sort }
55
57
  _cset(:current_release) { File.join(releases_path, releases.last) }
56
58
  _cset(:previous_release) { releases.length > 1 ? File.join(releases_path, releases[-2]) : nil }
57
59
 
@@ -386,6 +388,7 @@ namespace :deploy do
386
388
  else raise ArgumentError, "unknown migration target #{migrate_target.inspect}"
387
389
  end
388
390
 
391
+ puts "#{migrate_target} => #{directory}"
389
392
  run "cd #{directory}; #{rake} RAILS_ENV=#{rails_env} #{migrate_env} db:migrate"
390
393
  end
391
394
 
@@ -6,7 +6,7 @@ module Capistrano
6
6
  class Version < Net::SSH::Version
7
7
  MAJOR = 2
8
8
  MINOR = 5
9
- TINY = 10
9
+ TINY = 12
10
10
 
11
11
  # The current version, as a Version instance
12
12
  CURRENT = new(MAJOR, MINOR, TINY)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.11
4
+ version: 2.5.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamis Buck
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-12-29 00:00:00 +00:00
13
+ date: 2010-01-05 00:00:00 +00:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency