forked from paper-trail-gem/paper_trail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
paper_trail.gemspec
40 lines (34 loc) · 1.56 KB
/
paper_trail.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
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
require 'paper_trail/version_number'
Gem::Specification.new do |s|
s.name = 'paper_trail'
s.version = PaperTrail::VERSION
s.platform = Gem::Platform::RUBY
s.summary = "Track changes to your models' data. Good for auditing or versioning."
s.description = s.summary
s.homepage = 'https://github.com/airblade/paper_trail'
s.authors = ['Andy Stewart', 'Ben Atkins']
s.email = '[email protected]'
s.license = 'MIT'
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.required_rubygems_version = '>= 1.3.6'
s.add_dependency 'activerecord', ['>= 3.0', '< 5.0']
s.add_dependency 'activesupport', ['>= 3.0', '< 5.0']
s.add_development_dependency 'rake'
s.add_development_dependency 'shoulda', '~> 3.5'
# s.add_development_dependency 'shoulda-matchers', '~> 1.5' # needed for ActiveRecord < 4
s.add_development_dependency 'ffaker', '>= 1.15'
s.add_development_dependency 'railties', ['>= 3.0', '< 5.0']
s.add_development_dependency 'sinatra', '~> 1.0'
s.add_development_dependency 'rack-test', '>= 0.6'
s.add_development_dependency 'rspec-rails', '~> 2.14'
# JRuby support for the test ENV
unless defined?(JRUBY_VERSION)
s.add_development_dependency 'sqlite3', '~> 1.2'
else
s.add_development_dependency 'activerecord-jdbcsqlite3-adapter', '~> 1.3'
end
end