Permalink
Browse files

Fix: Inconsistent use of :no_release

Some tasks reference :no_releases instead of :no_release.
  • Loading branch information...
1 parent 588ed1d commit 263906548ebf495bc824c4d8d34d7a119aba7811 @lunohodov lunohodov committed Feb 9, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/capcake.rb
View
6 lib/capcake.rb
@@ -503,7 +503,7 @@ def remote_file_exists?(full_path)
desc <<-DESC
Creates MySQL database, database user and grants permissions on DB servers
DESC
- task :create, :roles => :db, :except => { :no_releases => true } do
+ task :create, :roles => :db, :except => { :no_release => true } do
require 'erb'
_cset :mysql_admin_user, defaults(Capistrano::CLI.ui.ask("username [root]:"), 'root')
@@ -530,7 +530,7 @@ def remote_file_exists?(full_path)
desc <<-DESC
Creates database tables on primary DB servers
DESC
- task :schema, :roles => :db, :primary => true, :except => { :no_releases => true } do
+ task :schema, :roles => :db, :primary => true, :except => { :no_release => true } do
# ...
end
desc <<-DESC
@@ -571,4 +571,4 @@ def remote_file_exists?(full_path)
end
-end # Capistrano::Configuration.instance(:must_exist).load do
+end # Capistrano::Configuration.instance(:must_exist).load do

0 comments on commit 2639065

Please sign in to comment.