Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 84961104fd
Fetching contributors…

Cannot retrieve contributors at this time

45 lines (37 sloc) 1.322 kB
require 'rubygems'
require 'rubygems/package_task'
require 'rake/testtask'
require 'rdoc/task'
task :default => [:test]
Rake::TestTask.new do |t|
t.verbose = true
t.warning = true
t.pattern = 'test/*_test.rb'
end
Rake::RDocTask.new do |rdoc|
rdoc.rdoc_files.include("lib/**/*.rb")
rdoc.options << "-S"
end
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "workflow"
gemspec.rubyforge_project = 'workflow'
gemspec.email = "vladimir@geekq.net"
gemspec.homepage = "http://www.geekq.net/workflow/"
gemspec.authors = ["Vladimir Dobriakov"]
gemspec.summary = "A replacement for acts_as_state_machine."
gemspec.description = <<-EOS
Workflow is a finite-state-machine-inspired API for modeling and interacting
with what we tend to refer to as 'workflow'.
* nice DSL to describe your states, events and transitions
* robust integration with ActiveRecord and non relational data stores
* various hooks for single transitions, entering state etc.
* convenient access to the workflow specification: list states, possible events
for particular state
EOS
Jeweler::GemcutterTasks.new
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
Jump to Line
Something went wrong with that request. Please try again.