forked from aaronmallen/activeinteractor
-
Notifications
You must be signed in to change notification settings - Fork 1
/
activeinteractor.gemspec
45 lines (36 loc) · 1.94 KB
/
activeinteractor.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
# frozen_string_literal: true
load 'lib/active_interactor/version.rb'
ACTIVE_INTERACTOR_GEM_VERSION = ActiveInteractor::Version.gem_version.freeze
ACTIVE_INTERACTOR_SEMVER = ActiveInteractor::Version.semver.freeze
ActiveInteractor.send(:remove_const, :Version)
Gem::Specification.new do |spec|
spec.platform = Gem::Platform::RUBY
spec.name = 'activeinteractor'
spec.version = ACTIVE_INTERACTOR_GEM_VERSION
spec.summary = 'Ruby interactors with ActiveModel::Validations'
spec.description = <<~DESC
An implementation of the Command Pattern for Ruby with ActiveModel::Validations inspired by the interactor gem.
Rich support for attributes, callbacks, and validations, and thread safe performance methods.
DESC
spec.required_ruby_version = '>= 2.5.0'
spec.license = 'MIT'
spec.authors = ['Aaron Allen']
spec.email = ['hello@aaronmallen.me']
spec.homepage = 'https://github.com/aaronmallen/activeinteractor'
spec.files = Dir['.yardopts', 'CHANGELOG.md', 'LICENSE', 'README.md', 'lib/**/*']
spec.require_paths = ['lib']
spec.test_files = Dir['spec/**/*']
spec.metadata = {
'bug_tracker_uri' => 'https://github.com/aaronmallen/activeinteractor/issues',
'changelog_uri' => "https://github.com/aaronmallen/activeinteractor/blob/v#{ACTIVE_INTERACTOR_SEMVER}/CHANGELOG.md",
'documentation_uri' => "https://www.rubydoc.info/gems/activeinteractor/#{ACTIVE_INTERACTOR_GEM_VERSION}",
'hompage_uri' => spec.homepage,
'source_code_uri' => "https://github.com/aaronmallen/activeinteractor/tree/v#{ACTIVE_INTERACTOR_SEMVER}",
'wiki_uri' => 'https://github.com/aaronmallen/activeinteractor/wiki'
}
spec.add_dependency 'activemodel', '>= 4.2', '~> 7'
spec.add_dependency 'activesupport', '>= 4.2', '~> 7'
spec.add_development_dependency 'bundler', '~> 2.0'
spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'rspec', '~> 3.9'
end