2011-02-08 12:16:35 -05:00
|
|
|
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
|
2010-10-12 08:15:56 -04:00
|
|
|
require 'paper_trail/version_number'
|
2009-05-27 13:31:20 -04:00
|
|
|
|
|
|
|
Gem::Specification.new do |s|
|
2011-02-08 12:16:35 -05:00
|
|
|
s.name = 'paper_trail'
|
|
|
|
s.version = PaperTrail::VERSION
|
|
|
|
s.summary = "Track changes to your models' data. Good for auditing or versioning."
|
|
|
|
s.description = s.summary
|
|
|
|
s.homepage = 'http://github.com/airblade/paper_trail'
|
2013-08-07 10:54:19 -04:00
|
|
|
s.authors = ['Andy Stewart', 'Ben Atkins']
|
2011-02-08 12:16:35 -05:00
|
|
|
s.email = 'boss@airbladesoftware.com'
|
2009-05-27 13:31:20 -04:00
|
|
|
|
2011-02-08 12:16:35 -05:00
|
|
|
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']
|
2010-10-15 07:53:33 -04:00
|
|
|
|
2013-07-31 20:37:04 -04:00
|
|
|
s.add_dependency 'activerecord', ['>= 3.0', '< 5.0']
|
2011-02-08 12:16:35 -05:00
|
|
|
|
2011-11-09 06:16:41 -05:00
|
|
|
s.add_development_dependency 'rake'
|
2013-07-31 20:37:04 -04:00
|
|
|
s.add_development_dependency 'shoulda', '~> 3.5'
|
2013-03-26 12:28:16 -04:00
|
|
|
s.add_development_dependency 'ffaker', '>= 1.15'
|
2013-08-13 17:10:41 -04:00
|
|
|
s.add_development_dependency 'railties', ['>= 3.0', '< 5.0']
|
|
|
|
s.add_development_dependency 'sinatra', '~> 1.0'
|
|
|
|
s.add_development_dependency 'rack-test', '>= 0.6'
|
2013-04-10 13:58:39 -04:00
|
|
|
s.add_development_dependency 'rspec-rails', '~> 2.14'
|
2013-08-07 10:54:19 -04:00
|
|
|
|
2013-03-26 12:28:16 -04:00
|
|
|
# JRuby support for the test ENV
|
|
|
|
unless defined?(JRUBY_VERSION)
|
|
|
|
s.add_development_dependency 'sqlite3', '~> 1.2'
|
|
|
|
else
|
2013-08-19 11:33:03 -04:00
|
|
|
s.add_development_dependency 'activerecord-jdbcsqlite3-adapter', ['>= 1.3.0.rc1', '< 1.4']
|
2013-03-26 12:28:16 -04:00
|
|
|
end
|
2009-05-27 13:31:20 -04:00
|
|
|
end
|