forked from JackDanger/permanent_records
-
Notifications
You must be signed in to change notification settings - Fork 0
/
permanent_records.gemspec
38 lines (35 loc) · 1.35 KB
/
permanent_records.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
# encoding: utf-8
Gem::Specification.new do |s|
s.name = 'permanent_records'
s.version = File.read('VERSION')
s.license = 'MIT'
s.authors = ['Jack Danger Canty', 'David Sulc', 'Joe Nelson',
'Trond Arve Nordheim', 'Josh Teneycke', 'Maximilian Herold',
'Hugh Evans', 'Sergey Gnuskov', 'aq']
s.summary = 'Soft-delete your ActiveRecord records'
s.description = <<-EOS
Never Lose Data. Rather than deleting rows this sets Record#deleted_at and
gives you all the scopes you need to work with your data.
EOS
s.email = '[email protected]'
s.extra_rdoc_files = [
'LICENSE',
'README.md'
]
s.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
s.homepage = 'https://github.com/JackDanger/permanent_records'
s.require_paths = ['lib']
# For testing against multiple AR versions
ver = ENV['AR_TEST_VERSION']
ver = ver.dup.chomp if ver
s.add_runtime_dependency('activerecord', ver || '>= 4.2.0')
s.add_runtime_dependency('activesupport', ver || '>= 4.2.0')
s.add_development_dependency('database_cleaner', '>= 1.5.1')
s.add_development_dependency('pry-byebug')
s.add_development_dependency('rake') # For Travis-ci
s.add_development_dependency('rspec', '~> 2.14.1')
s.add_development_dependency('rubocop', '0.39.0')
s.add_development_dependency('sqlite3')
end