forked from buffpojken/workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
44 lines (37 loc) · 1.29 KB
/
Rakefile
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
32
33
34
35
36
37
38
39
40
41
42
43
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