forked from pluginaweek/state_machine
-
Notifications
You must be signed in to change notification settings - Fork 2
/
state_machine.gemspec
22 lines (20 loc) · 1.09 KB
/
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
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
require 'state_machine/version'
Gem::Specification.new do |s|
s.name = "state_machine"
s.version = StateMachine::VERSION
s.authors = ["Aaron Pfeifer"]
s.email = "[email protected]"
s.homepage = "http://www.pluginaweek.org"
s.description = "Adds support for creating state machines for attributes on any Ruby class"
s.summary = "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 state_machine --main README.md)
s.extra_rdoc_files = %w(README.md CHANGELOG.md LICENSE)
s.add_development_dependency("rake")
s.add_development_dependency("simplecov")
s.add_development_dependency("appraisal", "~> 0.5.0")
end