Sha256: 211d45173e78ca2b9559fc8a428b4ee0ecca9fe89b61a8be53d5a92a97823e68

Contents?: true

Size: 344 Bytes

Versions: 10

Compression:

Stored size: 344 Bytes

Contents

class Recipes::Annotate < Rails::AppBuilder
  def create
    gather_gems(:development) do
      gather_gem('annotate')
    end

    template '../assets/lib/tasks/auto_annotate_models.rake',
      'lib/tasks/auto_annotate_models.rake'
  end

  def install
    create
    after(:gem_install) do
      run "bundle exec annotate"
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
potassium-5.2.3 lib/potassium/recipes/annotate.rb
potassium-5.2.2 lib/potassium/recipes/annotate.rb
potassium-5.2.1 lib/potassium/recipes/annotate.rb
potassium-5.2.0 lib/potassium/recipes/annotate.rb
potassium-5.1.4 lib/potassium/recipes/annotate.rb
potassium-5.1.3 lib/potassium/recipes/annotate.rb
potassium-5.1.2 lib/potassium/recipes/annotate.rb
potassium-5.1.1 lib/potassium/recipes/annotate.rb
potassium-3.0.0 lib/potassium/recipes/annotate.rb
potassium-2.3.0 lib/potassium/recipes/annotate.rb