Sha256: 217c76a321e18b826d51a97c9a2ec13b7975b1e4267430f02f520862679677f8

Contents?: true

Size: 583 Bytes

Versions: 11

Compression:

Stored size: 583 Bytes

Contents

# frozen_string_literal: true

module RailsAppGenerator
  # Custom add-ons for RailsAppGenerator
  module AddOns
    # Add ActsAsList to rails application
    class ActsAsList < AddOn
      depends_on :active_record
      required_gem gem.version('acts_as_list', '1.0.4', <<~COMMENT)
        This "acts_as" extension provides the capabilities for sorting and reordering a number of objects in a list.
        The class that has this specified needs to have a "position" column defined as an integer on the mapped database table.
      COMMENT

      def apply; end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rails_app_generator-0.1.26 lib/rails_app_generator/addons/acts_as_list.rb
rails_app_generator-0.1.25 lib/rails_app_generator/addons/acts_as_list.rb
rails_app_generator-0.1.24 lib/rails_app_generator/addons/acts_as_list.rb
rails_app_generator-0.1.23 lib/rails_app_generator/addons/acts_as_list.rb
rails_app_generator-0.1.22 lib/rails_app_generator/addons/acts_as_list.rb
rails_app_generator-0.1.21 lib/rails_app_generator/addons/acts_as_list.rb
rails_app_generator-0.1.20 lib/rails_app_generator/addons/acts_as_list.rb
rails_app_generator-0.1.19 lib/rails_app_generator/addons/acts_as_list.rb
rails_app_generator-0.1.18 lib/rails_app_generator/addons/acts_as_list.rb
rails_app_generator-0.1.17 lib/rails_app_generator/addons/acts_as_list.rb
rails_app_generator-0.1.16 lib/rails_app_generator/addons/acts_as_list.rb