Skip to content

Commit

Permalink
Fix a small regression and bump Capistrano::Version to 2.13.3
Browse files Browse the repository at this point in the history
  • Loading branch information
carsomyr committed Aug 21, 2012
1 parent 04c1e55 commit 30a942c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG
@@ -1,4 +1,4 @@
## 2.13.2 / August 21 2012
## 2.13.3 / August 21 2012

This release contains multiple bugfixes and handling of exotic situations. The
`Configuration#capture` method should now work in spite of `ActiveSupport`
Expand Down
2 changes: 1 addition & 1 deletion lib/capistrano/configuration/callbacks.rb
Expand Up @@ -122,7 +122,7 @@ def filter_deprecated_tasks(names)
if names == "deploy:symlink"
warn deprecation_msg
names = "deploy:create_symlink"
elsif names.is_a?(Array)
elsif names.is_a?(Array) && names.include?("deploy:symlink")
warn deprecation_msg
names = names.map { |name| name == "deploy:symlink" ? "deploy:create_symlink" : name }
end
Expand Down
2 changes: 1 addition & 1 deletion lib/capistrano/version.rb
Expand Up @@ -2,7 +2,7 @@ module Capistrano
class Version
MAJOR = 2
MINOR = 13
PATCH = 2
PATCH = 3

def self.to_s
"#{MAJOR}.#{MINOR}.#{PATCH}"
Expand Down

0 comments on commit 30a942c

Please sign in to comment.