Sha256: 9ef6ef81c4f6615b734d86fc948c788e0e0476e17fc05a0f9c753d80c8edcf48

Contents?: true

Size: 379 Bytes

Versions: 18

Compression:

Stored size: 379 Bytes

Contents

# frozen_string_literal: true

module RailsAppGenerator
  # Custom add-ons for RailsAppGenerator
  module AddOns
    # Add Annotate for ActiveRecord models to rails application
    class Annotate < AddOn
      depends_on :active_record

      def apply
        template('auto_annotate_models.rake', 'lib/tasks/auto_annotate_models.rake', force: true)
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
rails_app_generator-0.1.7 lib/rails_app_generator/addons/annotate.rb
rails_app_generator-0.1.6 lib/rails_app_generator/addons/annotate.rb
rails_app_generator-0.1.5 lib/rails_app_generator/addons/annotate.rb
rails_app_generator-0.1.4 lib/rails_app_generator/addons/annotate.rb
rails_app_generator-0.1.3 lib/rails_app_generator/addons/annotate.rb
rails_app_generator-0.1.2 lib/rails_app_generator/addons/annotate.rb
rails_app_generator-0.1.1 lib/rails_app_generator/addons/annotate.rb
rails_app_generator-0.1.0 lib/rails_app_generator/addons/annotate.rb
rails_app_generator-0.0.15 lib/rails_app_generator/addons/annotate.rb
rails_app_generator-0.0.14 lib/rails_app_generator/addons/annotate.rb
rails_app_generator-0.0.13 lib/rails_app_generator/addons/annotate.rb
rails_app_generator-0.0.12 lib/rails_app_generator/addons/annotate.rb
rails_app_generator-0.0.11 lib/rails_app_generator/addons/annotate.rb
rails_app_generator-0.0.10 lib/rails_app_generator/addons/annotate.rb
rails_app_generator-0.0.9 lib/rails_app_generator/addons/annotate.rb
rails_app_generator-0.0.8 lib/rails_app_generator/addons/annotate.rb
rails_app_generator-0.0.7 lib/rails_app_generator/addons/annotate.rb
rails_app_generator-0.0.6 lib/rails_app_generator/addons/annotate.rb