Sha256: 35a05828baf9aa02c381331b9ca413e4af2e4671c1ba632ec6c4a5f3ff953a60

Contents?: true

Size: 801 Bytes

Versions: 2

Compression:

Stored size: 801 Bytes

Contents

module Bently
  class Cancan < RailsRecipe

    title 'cancan'
    category 'gem'
    description 'downloads and installs cancan gem'
    homepage 'https://github.com/ryanb/cancan/blob/master/README.rdoc'

    def initialize
      gem 'cancan'
      bundle
      generate 'cancan:ability'
      todo 'See Defining Abilities: https://github.com/ryanb/cancan/wiki/defining-abilities'
      todo 'See Checking Abilities: https://github.com/ryanb/cancan/wiki/checking-abilities'
      todo 'See Authorizing Controller Actions: https://github.com/ryanb/cancan/wiki/authorizing-controller-actions'
      todo 'See Exception Handling: https://github.com/ryanb/cancan/wiki/exception-handling'
      todo 'See Ensure Authorization: https://github.com/ryanb/cancan/wiki/Ensure-Authorization'
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bently-1.0.2 lib/bently/recipe/cancan.rb
bently-1.0.1 lib/bently/recipe/cancan.rb