Sha256: f3a111ee20adcaeb38a7d7460d59af77754250edd4d990676d741b575f97b5d6

Contents?: true

Size: 270 Bytes

Versions: 8

Compression:

Stored size: 270 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

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
typus-3.0.2 lib/tasks/typus.rake
typus-3.0.1 lib/tasks/typus.rake
typus-3.0.0 lib/tasks/typus.rake
typus-1.0.0.pre13 lib/tasks/typus.rake
typus-1.0.0.pre12 lib/tasks/typus.rake
typus-1.0.0.pre11 lib/tasks/typus.rake
typus-1.0.0.pre10 lib/tasks/typus.rake
typus-1.0.0.pre9 lib/tasks/typus.rake