lib/capistrano-configuration.rb in capistrano-configuration-0.2.0 vs lib/capistrano-configuration.rb in capistrano-configuration-0.2.1
- old
+ new
@@ -49,11 +49,11 @@
Capistrano::Configuration.instance.load do
namespace :deploy do
- namespace :configuration do
+ namespace :configurations do
desc 'Write the configuration files based on whats in @@configurations'
task :write, :role => :app do
abort "@@configurations is empty. Did you forget to define some configurations?" if @@configurations.empty?
@@configurations.each do |configuration, value|
@@ -65,10 +65,10 @@
end
end
- after "deploy:symlink", "deploy:configuration:write"
+ after "deploy:symlink", "deploy:configurations:write"
end
private