validating-workflow 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +7 -0
- data/MIT-LICENSE +20 -0
- data/README.markdown +550 -0
- data/Rakefile +44 -0
- data/VERSION +1 -0
- data/lib/workflow/state_dependent_validations.rb +44 -0
- data/lib/workflow.rb +405 -0
- data/test/couchtiny_example.rb +46 -0
- data/test/main_test.rb +483 -0
- data/test/multiple_workflows_test.rb +84 -0
- data/test/readme_example.rb +37 -0
- data/test/test_helper.rb +39 -0
- data/test/without_active_record_test.rb +54 -0
- data/workflow.rb +1 -0
- metadata +98 -0
metadata
ADDED
@@ -0,0 +1,98 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: validating-workflow
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 7
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 7
|
9
|
+
- 2
|
10
|
+
version: 0.7.2
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Vladimir Dobriakov
|
14
|
+
- Willem van Kerkhof
|
15
|
+
autorequire:
|
16
|
+
bindir: bin
|
17
|
+
cert_chain: []
|
18
|
+
|
19
|
+
date: 2010-10-16 00:00:00 +02:00
|
20
|
+
default_executable:
|
21
|
+
dependencies: []
|
22
|
+
|
23
|
+
description: |
|
24
|
+
Workflow is a finite-state-machine-inspired API for modeling and interacting
|
25
|
+
with what we tend to refer to as 'workflow'.
|
26
|
+
|
27
|
+
* nice DSL to describe your states, events and transitions
|
28
|
+
* robust integration with ActiveRecord and non relational data stores
|
29
|
+
* various hooks for single transitions, entering state etc.
|
30
|
+
* convenient access to the workflow specification: list states, possible events
|
31
|
+
for particular state
|
32
|
+
* state and transition dependent validations for ActiveModel
|
33
|
+
|
34
|
+
email:
|
35
|
+
- vladimir@geekq.net
|
36
|
+
- wvk@consolving.de
|
37
|
+
executables: []
|
38
|
+
|
39
|
+
extensions: []
|
40
|
+
|
41
|
+
extra_rdoc_files:
|
42
|
+
- README.markdown
|
43
|
+
files:
|
44
|
+
- .gitignore
|
45
|
+
- MIT-LICENSE
|
46
|
+
- README.markdown
|
47
|
+
- Rakefile
|
48
|
+
- VERSION
|
49
|
+
- lib/workflow.rb
|
50
|
+
- test/couchtiny_example.rb
|
51
|
+
- test/main_test.rb
|
52
|
+
- test/multiple_workflows_test.rb
|
53
|
+
- test/readme_example.rb
|
54
|
+
- test/test_helper.rb
|
55
|
+
- test/without_active_record_test.rb
|
56
|
+
- workflow.rb
|
57
|
+
- lib/workflow/state_dependent_validations.rb
|
58
|
+
has_rdoc: true
|
59
|
+
homepage: http://www.geekq.net/workflow/
|
60
|
+
licenses: []
|
61
|
+
|
62
|
+
post_install_message:
|
63
|
+
rdoc_options:
|
64
|
+
- --charset=UTF-8
|
65
|
+
require_paths:
|
66
|
+
- lib
|
67
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
69
|
+
requirements:
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
hash: 3
|
73
|
+
segments:
|
74
|
+
- 0
|
75
|
+
version: "0"
|
76
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
77
|
+
none: false
|
78
|
+
requirements:
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
hash: 3
|
82
|
+
segments:
|
83
|
+
- 0
|
84
|
+
version: "0"
|
85
|
+
requirements: []
|
86
|
+
|
87
|
+
rubyforge_project: workflow
|
88
|
+
rubygems_version: 1.3.7
|
89
|
+
signing_key:
|
90
|
+
specification_version: 3
|
91
|
+
summary: A replacement for acts_as_state_machine.
|
92
|
+
test_files:
|
93
|
+
- test/couchtiny_example.rb
|
94
|
+
- test/main_test.rb
|
95
|
+
- test/test_helper.rb
|
96
|
+
- test/without_active_record_test.rb
|
97
|
+
- test/multiple_workflows_test.rb
|
98
|
+
- test/readme_example.rb
|