Sha256: d42eb68eec4fbf9183a7e701b2f408bafefedb3fe5f1611f142f41926f8ea5b1

Contents?: true

Size: 379 Bytes

Versions: 17

Compression:

Stored size: 379 Bytes

Contents

# frozen_string_literal: true

module RailsAppGenerator
  # Custom add-ons for RailsAppGenerator
  module AddOns
    # Add Kaminari to rails application
    class Kaminari < RailsAppGenerator::Addon
      required_gem gem.version('kaminari', '1.2.2', 'Easily add pagination to your Ruby web apps')

      def apply
        generate('kaminari:config')
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
rails_app_generator-0.3.6 lib/rails_app_generator/addons/kaminari.rb
rails_app_generator-0.3.5 lib/rails_app_generator/addons/kaminari.rb
rails_app_generator-0.3.4 lib/rails_app_generator/addons/kaminari.rb
rails_app_generator-0.3.3 lib/rails_app_generator/addons/kaminari.rb
rails_app_generator-0.3.2 lib/rails_app_generator/addons/kaminari.rb
rails_app_generator-0.3.1 lib/rails_app_generator/addons/kaminari.rb
rails_app_generator-0.3.0 lib/rails_app_generator/addons/kaminari.rb
rails_app_generator-0.2.43 lib/rails_app_generator/addons/kaminari.rb
rails_app_generator-0.2.42 lib/rails_app_generator/addons/kaminari.rb
rails_app_generator-0.2.41 lib/rails_app_generator/addons/kaminari.rb
rails_app_generator-0.2.40 lib/rails_app_generator/addons/kaminari.rb
rails_app_generator-0.2.39 lib/rails_app_generator/addons/kaminari.rb
rails_app_generator-0.2.38 lib/rails_app_generator/addons/kaminari.rb
rails_app_generator-0.2.37 lib/rails_app_generator/addons/kaminari.rb
rails_app_generator-0.2.36 lib/rails_app_generator/addons/kaminari.rb
rails_app_generator-0.2.35 lib/rails_app_generator/addons/kaminari.rb
rails_app_generator-0.2.34 lib/rails_app_generator/addons/kaminari.rb