capistrano 3.0.0.pre12 → 3.0.0.pre13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c85da524f86ff24c149245e88621eed81c343d01
4
- data.tar.gz: 8f9441dbef84ecb8ccd18e0cf677803e66d12cf6
3
+ metadata.gz: c30b25d97cfa811596b16d276fb221d0ea55ac9a
4
+ data.tar.gz: 2fcf56587e9193ed85b61e822fcd73bf7ecf4809
5
5
  SHA512:
6
- metadata.gz: 773aa32dcfb8af105095fb7e7668df9bad3e88a136ee7b3ea11037463ce1e5c638e3a983a72ad151820b97c2ccebb3baa644e32224e962084be7f568407e7645
7
- data.tar.gz: 5025485abba537eab25b32a5daa1c63b9d33514dde47fdb0c95b4be8c34e3d64e74150eeb0f1573e371ca3ad214bee6bc94900aab6414d4994d21a5f2ef46362
6
+ metadata.gz: 589c4f870e7f58a316ed3f5cad74b3febbcc3c4ededb3dfb30decdee293c09030c2f75f4f180c9e504bd2825d32d5b452c08c94a77d9c31eca281686ae658b19
7
+ data.tar.gz: 20f0cc7c0cad5561b3e9bad0e048d63c6912f4ef5b12a5cac05625090fc99640125f4254be236bcdd46e8f0831c83813ff6572181d6c739e37755c97599829f9
@@ -113,7 +113,7 @@ namespace :deploy do
113
113
  desc 'Clean up old releases'
114
114
  task :cleanup do
115
115
  on roles :all do |host|
116
- releases = capture(:ls, '-xt', releases_path).split.reverse
116
+ releases = capture(:ls, '-x', releases_path).split
117
117
  if releases.count >= fetch(:keep_releases)
118
118
  info t(:keeping_releases, host: host.to_s, keep_releases: fetch(:keep_releases), releases: releases.count)
119
119
  directories = (releases - releases.last(fetch(:keep_releases))).map { |release|
@@ -135,7 +135,7 @@ namespace :deploy do
135
135
  desc 'Rollback to the last release'
136
136
  task :rollback do
137
137
  on roles(:all) do
138
- last_release = capture(:ls, '-xt', releases_path).split[1]
138
+ last_release = capture(:ls, '-xr', releases_path).split[1]
139
139
  set(:rollback_release_timestamp, last_release)
140
140
  set(:branch, last_release)
141
141
  set(:revision_log_message, rollback_log_message)
@@ -56,6 +56,7 @@ namespace :git do
56
56
  '--depth 1', \
57
57
  '--recursive', \
58
58
  '--no-hardlinks', \
59
+ '--', \
59
60
  repo_path, release_path
60
61
  end
61
62
  end
@@ -1,3 +1,3 @@
1
1
  module Capistrano
2
- VERSION = "3.0.0.pre12"
2
+ VERSION = "3.0.0.pre13"
3
3
  end
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: 3.0.0.pre12
4
+ version: 3.0.0.pre13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Clements
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-09 00:00:00.000000000 Z
12
+ date: 2013-07-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sshkit