-
Notifications
You must be signed in to change notification settings - Fork 139
/
active_interaction.gemspec
56 lines (48 loc) · 1.83 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
# frozen_string_literal: true
require_relative 'lib/active_interaction/version'
Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
spec.name = 'active_interaction'
spec.version = ActiveInteraction::VERSION
spec.license = 'MIT'
{
'Aaron Lasseigne' => '[email protected]',
'Taylor Fausak' => '[email protected]'
}.tap do |hash|
spec.authors = hash.keys
spec.email = hash.values
end
spec.summary = 'Manage application specific business logic.'
spec.description = <<~'TEXT'
ActiveInteraction manages application-specific business logic. It is an
implementation of what are called service objects, interactors, or the
command pattern. No matter what you call it, its built to work seamlessly
with Rails.
TEXT
spec.homepage = 'https://github.com/AaronLasseigne/active_interaction'
spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = spec.homepage
spec.metadata['changelog_uri'] = "#{spec.homepage}/blob/main/CHANGELOG.md"
spec.metadata['rubygems_mfa_required'] = 'true'
spec.required_ruby_version = '>= 2.7'
spec.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'))
spec.test_files = Dir.glob(File.join('spec', '**', '*.rb'))
spec.add_dependency 'activemodel', '>= 5.2', '< 8'
spec.add_dependency 'activesupport', '>= 5.2', '< 8'
{
'actionpack' => [],
'activerecord' => [],
'kramdown' => ['~> 2.1'],
'rake' => ['~> 13.0'],
'rspec' => ['~> 3.5'],
'rubocop' => ['~> 1.26.1'],
'rubocop-rake' => ['~> 0.6.0'],
'rubocop-rspec' => ['~> 2.9.0'],
'sqlite3' => [],
'yard' => ['~> 0.9']
}.each do |name, versions|
spec.add_development_dependency name, *versions
end
end