From ee2c18daf0512eb50fd767825d41f4a2e07ce868 Mon Sep 17 00:00:00 2001 From: Scott Barron Date: Tue, 29 Apr 2008 18:13:38 -0400 Subject: [PATCH] Adding a gemspec - trying out github's gem hosting --- aasm.gemspec | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 aasm.gemspec diff --git a/aasm.gemspec b/aasm.gemspec new file mode 100644 index 0000000..584e61d --- /dev/null +++ b/aasm.gemspec @@ -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