-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsti_factory.gemspec
24 lines (20 loc) · 947 Bytes
/
sti_factory.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
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "sti_factory/version"
Gem::Specification.new do |s|
s.name = "sti_factory"
s.version = StiFactory::VERSION
s.authors = ["Andy Vanasse"]
s.email = ["andyvanasse@gmail.com"]
s.homepage = ""
s.summary = %q{Converts ActiveRecord::Base#new into a subclass-aware factory method for tables using STI.}
s.description = %q{StiFactory converts the #new method of an ActiveRecord class into a subclass-aware factory method.}
s.rubyforge_project = "sti_factory"
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"]
s.add_development_dependency "rspec"
s.add_development_dependency "rails", "~> 3.1"
s.add_development_dependency "sqlite3-ruby"
end