Sha256: 29bb85100f9381503630e37270a20ee59fdd2b5e77f8ee0d5c73781fef603f9b

Contents?: true

Size: 595 Bytes

Versions: 8

Compression:

Stored size: 595 Bytes

Contents

namespace :typus do

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

  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 "rails plugin install #{plugins.join(" ")} --force"
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
typus-1.0.0.pre8 lib/tasks/typus.rake
typus-1.0.0.pre7 lib/tasks/typus.rake
typus-1.0.0.pre6 lib/tasks/typus.rake
typus-1.0.0.pre5 lib/tasks/typus.rake
typus-1.0.0.pre4 lib/tasks/typus.rake
typus-1.0.0.pre3 lib/tasks/typus.rake
typus-1.0.0.pre2 lib/tasks/typus.rake
typus-1.0.0.pre lib/tasks/typus.rake