-
-
Notifications
You must be signed in to change notification settings - Fork 47
/
database_consistency.gemspec
51 lines (39 loc) · 1.89 KB
/
database_consistency.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
41
42
43
44
45
46
47
48
49
50
51
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'database_consistency/version'
Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
spec.name = 'database_consistency'
spec.version = DatabaseConsistency::VERSION
spec.authors = ['Evgeniy Demin']
spec.email = ['[email protected]']
spec.summary = 'Provide an easy way to check the consistency of the '\
'database constraints with the application validations.'
spec.post_install_message = <<~MSG
Thank you for using the gem!
If the project helps you or your organization, I would be very grateful if you contribute or donate.
Your support is an incredible motivation and the biggest reward for my hard work.
https://github.com/djezzzl/database_consistency#contributing
https://opencollective.com/database_consistency#support
Thank you for your attention,
Evgeniy Demin
MSG
spec.metadata = {
'funding_uri' => 'https://opencollective.com/database_consistency#support'
}
spec.homepage = 'https://github.com/djezzzl/database_consistency'
spec.license = 'MIT'
spec.files = Dir['lib/**/*']
spec.require_paths = ['lib']
spec.executables = ['database_consistency']
spec.required_ruby_version = '>= 2.4.0' # rubocop:disable Gemspec/RequiredRubyVersion
spec.add_dependency 'activerecord', '>= 3.2'
spec.add_development_dependency 'bundler', '> 1.16'
spec.add_development_dependency 'mysql2', '~> 0.5'
spec.add_development_dependency 'pg', '>= 0.2'
spec.add_development_dependency 'rake', '>= 12.3.3'
spec.add_development_dependency 'rspec', '~> 3.0'
spec.add_development_dependency 'rspec_junit_formatter', '~> 0.4'
spec.add_development_dependency 'rubocop', '~> 0.55'
spec.add_development_dependency 'sqlite3', '> 1.3'
end