-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathenum_state_machine.gemspec
31 lines (28 loc) · 1.53 KB
/
enum_state_machine.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
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
require 'enum_state_machine/version'
Gem::Specification.new do |s|
s.name = "enum_state_machine"
s.version = EnumStateMachine::VERSION
s.authors = ["The HornsAndHooves Team"]
s.email = ["[email protected]"]
s.homepage = "https://github.com/HornsAndHooves/enum_state_machine"
s.description = "Adds support for creating enum state machines for attributes on any Ruby class"
s.summary = "Enum State machines for attributes"
s.require_paths = ["lib"]
ignores = File.read(".gitignore").split.map {|i| i.sub(/\/$/, "/*").sub(/^[^\/]/, "**/\\0")}
s.files = (Dir[".*"] + Dir["**/*"]).select {|f| File.file?(f) && !ignores.any? {|i| File.fnmatch(i, "/#{f}")}}
s.test_files = s.files.grep(/^test\//)
s.rdoc_options = %w(--line-numbers --inline-source --title enum_state_machine --main README.md)
s.extra_rdoc_files = %w(README.md CHANGELOG.md LICENSE)
s.license = 'MIT'
s.add_dependency "rails", ">= 6.0", "< 7.0"
s.add_dependency "activerecord-deprecated_finders", ">= 1.0.3"
#s.add_dependency "rails-observers", ">= 0.1.2"
s.add_dependency "power_enum", "> 2.8", "< 4.0"
s.add_development_dependency "rake"
s.add_development_dependency "minitest", "~> 5.1"
s.add_development_dependency "simplecov"
s.add_development_dependency "yard"
s.add_development_dependency "sqlite3", "~> 1.3.9"
s.add_development_dependency "ruby-graphviz"
end