lib/adhearsion/tasks/configuration.rb in adhearsion-2.0.0.alpha2 vs lib/adhearsion/tasks/configuration.rb in adhearsion-2.0.0.alpha3

- old
+ new

@@ -1,7 +1,7 @@ namespace :config do desc "Show configuration values; accepts a parameter: [nil|platform|<plugin-name>|all]" - task :show, :name, :needs => :environment do |t, args| + task :show, [:name] => [:environment] do |t, args| name = args.name.nil? ? :all : args.name.to_sym puts "\nAdhearsion.config do |config|\n\n" puts Adhearsion.config.description name, :show_values => true puts "end" end