2017-12-10 23:05:11 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-03-27 18:32:52 -04:00
|
|
|
$LOAD_PATH.unshift File.expand_path("lib", __dir__)
|
2016-03-05 17:07:32 -05:00
|
|
|
require "paper_trail/version_number"
|
2009-05-27 13:31:20 -04:00
|
|
|
|
|
|
|
Gem::Specification.new do |s|
|
2016-04-09 00:31:44 -04:00
|
|
|
s.name = "paper_trail"
|
2016-12-30 11:47:50 -05:00
|
|
|
s.version = PaperTrail::VERSION::STRING
|
2016-04-09 00:31:44 -04:00
|
|
|
s.platform = Gem::Platform::RUBY
|
2016-12-04 17:36:52 -05:00
|
|
|
s.summary = "Track changes to your models."
|
|
|
|
s.description = <<-EOS
|
|
|
|
Track changes to your models, for auditing or versioning. See how a model looked
|
|
|
|
at any stage in its lifecycle, revert it to any version, or restore it after it
|
|
|
|
has been destroyed.
|
|
|
|
EOS
|
2018-05-09 07:25:56 -04:00
|
|
|
s.homepage = "https://github.com/paper-trail-gem/paper_trail"
|
2017-06-09 20:46:08 -04:00
|
|
|
s.authors = ["Andy Stewart", "Ben Atkins", "Jared Beck"]
|
2017-12-15 11:47:32 -05:00
|
|
|
s.email = "jared@jaredbeck.com"
|
2016-04-09 00:31:44 -04:00
|
|
|
s.license = "MIT"
|
2009-05-27 13:31:20 -04:00
|
|
|
|
2017-07-09 02:15:38 -04:00
|
|
|
s.files = `git ls-files -z`.split("\x0").select { |f|
|
2017-10-17 18:25:27 -04:00
|
|
|
f.match(%r{^(Gemfile|LICENSE|lib|paper_trail.gemspec)/})
|
2017-07-09 02:15:38 -04:00
|
|
|
}
|
|
|
|
s.executables = []
|
2016-03-05 17:07:32 -05:00
|
|
|
s.require_paths = ["lib"]
|
2010-10-15 07:53:33 -04:00
|
|
|
|
2016-03-05 17:07:32 -05:00
|
|
|
s.required_rubygems_version = ">= 1.3.6"
|
2017-12-10 22:53:39 -05:00
|
|
|
s.required_ruby_version = ">= 2.3.0"
|
2013-12-11 17:45:50 -05:00
|
|
|
|
2016-12-03 20:24:16 -05:00
|
|
|
# Rails does not follow semver, makes breaking changes in minor versions.
|
2019-01-25 11:13:41 -05:00
|
|
|
s.add_dependency "activerecord", [">= 4.2", "< 6.1"]
|
2016-03-05 17:07:32 -05:00
|
|
|
s.add_dependency "request_store", "~> 1.1"
|
2011-02-08 12:16:35 -05:00
|
|
|
|
2017-10-17 18:14:16 -04:00
|
|
|
s.add_development_dependency "appraisal", "~> 2.2"
|
2018-03-27 18:09:39 -04:00
|
|
|
s.add_development_dependency "byebug", "~> 10.0"
|
2018-03-27 18:49:51 -04:00
|
|
|
s.add_development_dependency "ffaker", "~> 2.8"
|
2017-10-17 18:14:16 -04:00
|
|
|
s.add_development_dependency "generator_spec", "~> 0.9.4"
|
2019-03-08 00:17:31 -05:00
|
|
|
s.add_development_dependency "memory_profiler", "~> 0.9.12"
|
2018-08-18 17:36:07 -04:00
|
|
|
s.add_development_dependency "mysql2", "~> 0.5.2"
|
2019-01-22 14:44:03 -05:00
|
|
|
s.add_development_dependency "paper_trail-association_tracking", "~> 2.0.0"
|
2018-08-18 17:36:07 -04:00
|
|
|
s.add_development_dependency "pg", "~> 1.0"
|
2017-11-30 20:59:49 -05:00
|
|
|
s.add_development_dependency "rake", "~> 12.3"
|
2018-08-18 17:36:07 -04:00
|
|
|
s.add_development_dependency "rspec-rails", "~> 3.8"
|
2019-01-01 19:14:47 -05:00
|
|
|
s.add_development_dependency "rubocop", "~> 0.62.0"
|
2018-08-18 17:36:07 -04:00
|
|
|
s.add_development_dependency "rubocop-rspec", "~> 1.28.0"
|
2019-02-06 15:30:49 -05:00
|
|
|
s.add_development_dependency "sqlite3", "~> 1.3.13"
|
2009-05-27 13:31:20 -04:00
|
|
|
end
|