-
Notifications
You must be signed in to change notification settings - Fork 2
/
statesman-multi_state.gemspec
26 lines (21 loc) · 1.05 KB
/
statesman-multi_state.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
# frozen_string_literal: true
require_relative 'lib/statesman/multi_state/version'
Gem::Specification.new do |spec|
spec.name = 'statesman-multi_state'
spec.version = Statesman::MultiState::VERSION
spec.authors = ['Chedli Bourguiba']
spec.email = ['bourguiba.chedli@gmail.com']
spec.homepage = 'https://github.com/chaadow/statesman-multi_state'
spec.summary = 'Rails/Statesman plugin that handle multiple state machines on the same model through `has_one_state_machine` ActiveRecord macro'
spec.description = spec.summary
spec.license = 'MIT'
spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = spec.homepage
spec.metadata['changelog_uri'] = 'https://github.com/chaadow/statesman-multi_state/blob/master/CHANGELOG.md'
spec.files = Dir.chdir(File.expand_path(__dir__)) do
Dir['{app,config,db,lib}/**/*', 'MIT-LICENSE', 'Rakefile', 'README.md']
end
spec.required_ruby_version = '>= 2.7.0'
spec.add_dependency 'rails', '>= 6'
spec.add_dependency 'statesman', '>= 9.0.0'
end