-
Notifications
You must be signed in to change notification settings - Fork 0
/
stateful.rb.gemspec
24 lines (18 loc) · 1 KB
/
stateful.rb.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
require_relative './lib/Stateful/VERSION'
Gem::Specification.new do |spec|
spec.name = 'stateful.rb' # I would have preferred 'stateful', but there's a gem with the name of stateful already.
spec.version = Stateful::VERSION
spec.date = '2020-03-31'
spec.summary = "A Ruby state machine."
spec.description = "Easily add state to Poro and ActiveRecord objects."
spec.author = 'thoran'
spec.email = '[email protected]'
spec.homepage = 'http://github.com/thoran/Stateful'
spec.license = 'MIT'
spec.files = Dir['lib/**/*.rb']
spec.required_ruby_version = '>= 2.5' # The required version of Ruby is this high solely because of the migrations have been made to require AR 6.0, but otherwise this should work with much lower versions of Ruby and ActiveRecord, even down to 2.3 (or lower) and AR 3 (or lower).
spec.add_development_dependency('minitest')
spec.add_development_dependency('minitest-spec-context')
spec.add_development_dependency('activerecord')
spec.add_development_dependency('pg')
end