Sha256: 4cae8c571c9cd912807c493307f9966c4dbb1e38dc54797e3442b293bb51ce3b

Contents?: true

Size: 431 Bytes

Versions: 13

Compression:

Stored size: 431 Bytes

Contents

# frozen_string_literal: true

module RailsAppGenerator
  # Custom add-ons for RailsAppGenerator
  module AddOns
    # Add FriendlyId to rails application
    class FriendlyId < RailsAppGenerator::Addon
      required_gem gem.version('friendly_id', '5.4.2', 'FriendlyId provides slugging and permalink support for Active Record.')

      def apply
        bundle_install
        generate('friendly_id')
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rails_app_generator-0.3.6 lib/rails_app_generator/addons/friendly_id.rb
rails_app_generator-0.3.5 lib/rails_app_generator/addons/friendly_id.rb
rails_app_generator-0.3.4 lib/rails_app_generator/addons/friendly_id.rb
rails_app_generator-0.3.3 lib/rails_app_generator/addons/friendly_id.rb
rails_app_generator-0.3.2 lib/rails_app_generator/addons/friendly_id.rb
rails_app_generator-0.3.1 lib/rails_app_generator/addons/friendly_id.rb
rails_app_generator-0.3.0 lib/rails_app_generator/addons/friendly_id.rb
rails_app_generator-0.2.43 lib/rails_app_generator/addons/friendly_id.rb
rails_app_generator-0.2.42 lib/rails_app_generator/addons/friendly_id.rb
rails_app_generator-0.2.41 lib/rails_app_generator/addons/friendly_id.rb
rails_app_generator-0.2.40 lib/rails_app_generator/addons/friendly_id.rb
rails_app_generator-0.2.39 lib/rails_app_generator/addons/friendly_id.rb
rails_app_generator-0.2.38 lib/rails_app_generator/addons/friendly_id.rb