Adding a gemspec - trying out github's gem hosting

This commit is contained in:
Scott Barron 2008-04-29 18:13:38 -04:00
parent 482e8d970d
commit ee2c18daf0
1 changed files with 24 additions and 0 deletions

24
aasm.gemspec Normal file
View File

@ -0,0 +1,24 @@
require 'rake'
PKG_FILES = FileList['[A-Z]*',
'lib/**/*.rb',
'doc/**/*'
]
Gem::Specification.new do |s|
s.name = 'aasm'
s.version = "0.0.1"
s.summary = 'State machine mixin for Ruby objects'
s.description = <<-EOF
AASM is a continuation of the acts as state machine rails plugin, built for plain Ruby objects.
EOF
s.files = PKG_FILES.to_a
s.require_path = 'lib'
s.has_rdoc = true
s.extra_rdoc_files = ['README.rdoc', 'MIT-LICENSE', 'TODO', 'CHANGELOG']
s.rdoc_options = '--line-numbers' << '--inline-source' << '--main' << 'README.rdoc' << '--title' << 'AASM'
s.author = 'Scott Barron'
s.email = 'scott@elitists.net'
s.homepage = 'http://rubyi.st/aasm'
end