-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsortifiable.gemspec
45 lines (40 loc) · 1.44 KB
/
sortifiable.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
35
36
37
38
39
40
41
42
43
44
45
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "sortifiable/version"
Gem::Specification.new do |s|
s.name = "sortifiable"
s.version = Sortifiable::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Andrew White"]
s.email = ["andyw@pixeltrix.co.uk"]
s.homepage = %q{http://github.com/pixeltrix/sortifiable/}
s.summary = %q{Sort your models}
s.description = <<-EOF
This gem provides an acts_as_list compatible capability 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.
This gem requires ActiveRecord 3.0 as it has been refactored to use
the scope methods and query interface introduced with Ruby on Rails 3.0
EOF
s.files = [
".gemtest",
"CHANGELOG",
"LICENSE",
"README.md",
"Rakefile",
"lib/sortifiable.rb",
"lib/sortifiable/version.rb",
"sortifiable.gemspec",
"test/sortifiable_test.rb"
]
s.test_files = ["test/sortifiable_test.rb"]
s.require_paths = ["lib"]
s.add_dependency "activesupport", ">= 3.0"
s.add_dependency "activerecord", ">= 3.0"
s.add_development_dependency "appraisal", "~> 0.5"
s.add_development_dependency "mysql", ">= 2.8.1"
s.add_development_dependency "mysql2", ">= 0.2.7"
s.add_development_dependency "pg", ">= 0.9.0"
s.add_development_dependency "sqlite3", ">= 1.3.3"
end