Sha256: bca936c650b498408739b470663ac9a9af239addfcd84c0b0fcde02f23b7b417

Contents?: true

Size: 797 Bytes

Versions: 10

Compression:

Stored size: 797 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 '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

  desc 'Install ssl_requirement.'
  task :ssl do
    plugins = [ 'git://github.com/rails/ssl_requirement.git' ]
    system "script/plugin install #{plugins.join(' ')} --force"
  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
fesplugas-typus-0.9.0 tasks/typus_tasks.rake
fesplugas-typus-0.9.1 tasks/typus_tasks.rake
fesplugas-typus-0.9.2 tasks/typus_tasks.rake
fesplugas-typus-0.9.3 tasks/typus_tasks.rake
fesplugas-typus-0.9.4 tasks/typus_tasks.rake
fesplugas-typus-0.9.5 tasks/typus_tasks.rake
fesplugas-typus-0.9.6 tasks/typus_tasks.rake
fesplugas-typus-0.9.7 tasks/typus_tasks.rake
fesplugas-typus-0.9.8 tasks/typus_tasks.rake
fesplugas-typus-0.9.9 tasks/typus_tasks.rake