Sha256: 3f7e8f2abc56908413f2c8428769082a1f3fc7b1741f60da019383b013e69614

Contents?: true

Size: 373 Bytes

Versions: 32

Compression:

Stored size: 373 Bytes

Contents

# encoding: utf-8

namespace :config do
  desc "Show configuration values; accepts a parameter: [nil|platform|<plugin-name>|all]"
  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
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
adhearsion-2.6.4 lib/adhearsion/tasks/configuration.rb
adhearsion-2.6.3 lib/adhearsion/tasks/configuration.rb
adhearsion-2.6.2 lib/adhearsion/tasks/configuration.rb
adhearsion-2.6.1 lib/adhearsion/tasks/configuration.rb
adhearsion-2.6.0 lib/adhearsion/tasks/configuration.rb
adhearsion-2.5.4 lib/adhearsion/tasks/configuration.rb
adhearsion-2.5.3 lib/adhearsion/tasks/configuration.rb
adhearsion-2.5.2 lib/adhearsion/tasks/configuration.rb
adhearsion-2.5.0 lib/adhearsion/tasks/configuration.rb
adhearsion-2.4.0 lib/adhearsion/tasks/configuration.rb
adhearsion-2.4.0.beta3 lib/adhearsion/tasks/configuration.rb
adhearsion-2.4.0.beta2 lib/adhearsion/tasks/configuration.rb
adhearsion-2.4.0.beta1 lib/adhearsion/tasks/configuration.rb
adhearsion-2.3.5 lib/adhearsion/tasks/configuration.rb
adhearsion-2.3.4 lib/adhearsion/tasks/configuration.rb
adhearsion-2.3.3 lib/adhearsion/tasks/configuration.rb
adhearsion-2.3.2 lib/adhearsion/tasks/configuration.rb
adhearsion-2.3.1 lib/adhearsion/tasks/configuration.rb
adhearsion-2.3.0 lib/adhearsion/tasks/configuration.rb
adhearsion-2.2.1 lib/adhearsion/tasks/configuration.rb