forked from brendon/acts_as_list
-
Notifications
You must be signed in to change notification settings - Fork 0
/
acts_as_list.gemspec
34 lines (29 loc) · 1.66 KB
/
acts_as_list.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "acts_as_list/version"
Gem::Specification.new do |s|
# Description Meta...
s.name = "acts_as_list"
s.version = ActiveRecord::Acts::List::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Swanand Pagnis", "Brendon Muir"]
s.email = %w([email protected] [email protected])
s.homepage = "http://github.com/brendon/acts_as_list"
s.summary = "A gem adding sorting, reordering capabilities to an active_record model, allowing it to act as a list"
s.description = '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.'
s.license = "MIT"
s.required_ruby_version = ">= 2.4.7"
if s.respond_to?(:metadata)
s.metadata['changelog_uri'] = 'https://github.com/brendon/acts_as_list/blob/master/CHANGELOG.md'
s.metadata['source_code_uri'] = 'https://github.com/brendon/acts_as_list'
s.metadata['bug_tracker_uri'] = 'https://github.com/brendon/acts_as_list/issues'
end
# Load Paths...
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map {|f| File.basename(f)}
s.require_paths = ["lib"]
# Dependencies (installed via "bundle install")
s.add_dependency "activerecord", ">= 4.2"
s.add_development_dependency "bundler", ">= 1.0.0"
end