Sha256: d3b433d6e561caada5f11bc692a9525b241d63c8e7239dc3f42e7c17d7048460

Contents?: true

Size: 1018 Bytes

Versions: 35

Compression:

Stored size: 1018 Bytes

Contents

namespace :typus do

  desc 'Install acts_as_list, acts_as_tree and paperclip.'
  task :misc do
    plugins = [ 'git://github.com/thoughtbot/paperclip.git', 
                'git://github.com/rails/acts_as_list.git', 
                'git://github.com/rails/acts_as_tree.git' ]
    system "script/plugin install #{plugins.join(' ')} --force"
  end

  desc 'Install ssl_requirement.'
  task :ssl do
    system "script/plugin install git://github.com/rails/ssl_requirement.git --force"
  end

  desc 'Install tiny_mce.'
  task :tiny_mce do
    system "script/plugin install git://github.com/kete/tiny_mce.git --force"
    load File.join Rails.root, 'vendor', 'plugins', 'tiny_mce', 'tasks', 'tiny_mce.rake'
    Rake::Task["tiny_mce:install"].invoke
  end

  desc 'List current roles.'
  task :roles => :environment do
    Typus::Configuration.roles.each do |role|
      puts "\n#{role.first.capitalize} role has access to:"
      role.last.each { |key, value| puts "- #{key}: #{value}" }
    end
    puts "\n"
  end

end

Version data entries

35 entries across 30 versions & 2 rubygems

Version Path
fesplugas-typus-0.9.10 tasks/typus_tasks.rake
fesplugas-typus-0.9.11 tasks/typus_tasks.rake
fesplugas-typus-0.9.12 tasks/typus_tasks.rake
fesplugas-typus-0.9.13 tasks/typus_tasks.rake
fesplugas-typus-0.9.14 tasks/typus_tasks.rake
fesplugas-typus-0.9.15 tasks/typus_tasks.rake
fesplugas-typus-0.9.16 tasks/typus_tasks.rake
fesplugas-typus-0.9.17 tasks/typus_tasks.rake
typus-0.9.39 tasks/typus_tasks.rake
typus-0.9.39 generators/typus/templates/lib/tasks/typus_tasks.rake
typus-0.9.38 tasks/typus_tasks.rake
typus-0.9.38 generators/typus/templates/lib/tasks/typus_tasks.rake
typus-0.9.37 tasks/typus_tasks.rake
typus-0.9.37 generators/typus/templates/lib/tasks/typus_tasks.rake
typus-0.9.36 tasks/typus_tasks.rake
typus-0.9.36 generators/typus/templates/lib/tasks/typus_tasks.rake
typus-0.9.35 generators/typus/templates/lib/tasks/typus_tasks.rake
typus-0.9.35 tasks/typus_tasks.rake
typus-0.9.34 tasks/typus_tasks.rake
typus-0.9.33 tasks/typus_tasks.rake