Sha256: b1f8c9b5c97525bca6530789451de031fc4f39de914a2b9a0a8fdf7feac8cf54

Contents?: true

Size: 453 Bytes

Versions: 35

Compression:

Stored size: 453 Bytes

Contents

# encoding: utf-8

desc "List the configured plugins"
task :plugins => :environment do |t,args|
  if Adhearsion::Plugin.subclasses.length > 0
    puts "You have #{Adhearsion::Plugin.subclasses.length} plugin(s) in your Adhearsion application:\n"
    Adhearsion::Plugin.subclasses.each do |plugin|
      puts "* #{plugin.plugin_name}: #{plugin.name}"
    end
  else
    puts "There is no Adhearsion plugin used in your application"
  end
  puts "\n"
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
adhearsion-2.6.4 lib/adhearsion/tasks/plugins.rb
adhearsion-2.6.3 lib/adhearsion/tasks/plugins.rb
adhearsion-3.0.0.rc1 lib/adhearsion/tasks/plugins.rb
adhearsion-3.0.0.beta2 lib/adhearsion/tasks/plugins.rb
adhearsion-3.0.0.beta1 lib/adhearsion/tasks/plugins.rb
adhearsion-2.6.2 lib/adhearsion/tasks/plugins.rb
adhearsion-2.6.1 lib/adhearsion/tasks/plugins.rb
adhearsion-2.6.0 lib/adhearsion/tasks/plugins.rb
adhearsion-2.5.4 lib/adhearsion/tasks/plugins.rb
adhearsion-2.5.3 lib/adhearsion/tasks/plugins.rb
adhearsion-2.5.2 lib/adhearsion/tasks/plugins.rb
adhearsion-2.5.0 lib/adhearsion/tasks/plugins.rb
adhearsion-2.4.0 lib/adhearsion/tasks/plugins.rb
adhearsion-2.4.0.beta3 lib/adhearsion/tasks/plugins.rb
adhearsion-2.4.0.beta2 lib/adhearsion/tasks/plugins.rb
adhearsion-2.4.0.beta1 lib/adhearsion/tasks/plugins.rb
adhearsion-2.3.5 lib/adhearsion/tasks/plugins.rb
adhearsion-2.3.4 lib/adhearsion/tasks/plugins.rb
adhearsion-2.3.3 lib/adhearsion/tasks/plugins.rb
adhearsion-2.3.2 lib/adhearsion/tasks/plugins.rb