forked from AaronLasseigne/active_interaction
-
Notifications
You must be signed in to change notification settings - Fork 0
/
active_interaction.gemspec
60 lines (52 loc) · 1.93 KB
/
active_interaction.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
52
53
54
55
56
57
58
59
60
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.push(lib) unless $LOAD_PATH.include?(lib)
require 'active_interaction/version'
Gem::Specification.new do |gem| # rubocop:disable Metrics/BlockLength
gem.name = 'active_interaction'
gem.version = ActiveInteraction::VERSION
gem.licenses = %w[MIT]
gem.summary = 'Manage application specific business logic.'
gem.description = <<-'TEXT'
ActiveInteraction manages application-specific business logic. It is an
implementation of the command pattern in Ruby.
TEXT
gem.metadata = {
'homepage_uri' => 'https://github.com/AaronLasseigne/active_interaction',
'source_code_uri' => 'https://github.com/AaronLasseigne/active_interaction',
'changelog_uri' => 'https://github.com/AaronLasseigne/active_interaction/blob/master/CHANGELOG.md',
'rubygems_mfa_required' => 'true'
}
gem.required_ruby_version = '>= 2.5'
{
'Aaron Lasseigne' => '[email protected]',
'Taylor Fausak' => '[email protected]'
}.tap do |hash|
gem.authors = hash.keys
gem.email = hash.values
end
gem.files = %w[CHANGELOG.md CONTRIBUTING.md LICENSE.md README.md] +
Dir.glob(File.join('lib', '**', '*.rb')) +
Dir.glob(File.join('lib', 'active_interaction', 'locale', '*.yml'))
gem.test_files = Dir.glob(File.join('spec', '**', '*.rb'))
gem.add_dependency 'activemodel', '>= 5', '< 8'
gem.add_dependency 'activesupport', '>= 5', '< 8'
{
'actionpack' => [],
'activerecord' => [],
'benchmark-ips' => ['~> 2.7'],
'kramdown' => ['~> 2.1'],
'rake' => ['~> 13.0'],
'rspec' => ['~> 3.5'],
'rubocop' => ['~> 1.24.0'],
'rubocop-rake' => ['~> 0.6.0'],
'rubocop-rspec' => ['~> 2.7.0'],
'yard' => ['~> 0.9']
}.each do |name, versions|
gem.add_development_dependency name, *versions
end
if defined?(JRUBY_VERSION)
gem.add_development_dependency 'activerecord-jdbcsqlite3-adapter'
else
gem.add_development_dependency 'sqlite3'
end
end