aasm 2.1.1 → 5.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.document +6 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +27 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- data/.gitignore +20 -0
- data/.travis.yml +82 -0
- data/API +34 -0
- data/Appraisals +67 -0
- data/CHANGELOG.md +453 -0
- data/CODE_OF_CONDUCT.md +13 -0
- data/CONTRIBUTING.md +24 -0
- data/Dockerfile +44 -0
- data/Gemfile +6 -0
- data/Gemfile.lock_old +151 -0
- data/HOWTO +12 -0
- data/{MIT-LICENSE → LICENSE} +1 -1
- data/PLANNED_CHANGES.md +11 -0
- data/README.md +1524 -0
- data/README_FROM_VERSION_3_TO_4.md +240 -0
- data/Rakefile +20 -84
- data/TESTING.md +25 -0
- data/aasm.gemspec +37 -0
- data/docker-compose.yml +40 -0
- data/gemfiles/norails.gemfile +10 -0
- data/gemfiles/rails_4.2.gemfile +17 -0
- data/gemfiles/rails_4.2_mongoid_5.gemfile +12 -0
- data/gemfiles/rails_4.2_nobrainer.gemfile +9 -0
- data/gemfiles/rails_5.0.gemfile +14 -0
- data/gemfiles/rails_5.0_nobrainer.gemfile +9 -0
- data/gemfiles/rails_5.1.gemfile +14 -0
- data/gemfiles/rails_5.2.gemfile +14 -0
- data/lib/aasm/aasm.rb +160 -137
- data/lib/aasm/base.rb +290 -0
- data/lib/aasm/configuration.rb +48 -0
- data/lib/aasm/core/event.rb +177 -0
- data/lib/aasm/core/invoker.rb +129 -0
- data/lib/aasm/core/invokers/base_invoker.rb +75 -0
- data/lib/aasm/core/invokers/class_invoker.rb +52 -0
- data/lib/aasm/core/invokers/literal_invoker.rb +47 -0
- data/lib/aasm/core/invokers/proc_invoker.rb +59 -0
- data/lib/aasm/core/state.rb +91 -0
- data/lib/aasm/core/transition.rb +83 -0
- data/lib/aasm/dsl_helper.rb +32 -0
- data/lib/aasm/errors.rb +21 -0
- data/lib/aasm/instance_base.rb +133 -0
- data/lib/aasm/localizer.rb +64 -0
- data/lib/aasm/minitest/allow_event.rb +13 -0
- data/lib/aasm/minitest/allow_transition_to.rb +13 -0
- data/lib/aasm/minitest/have_state.rb +13 -0
- data/lib/aasm/minitest/transition_from.rb +21 -0
- data/lib/aasm/minitest.rb +5 -0
- data/lib/aasm/minitest_spec.rb +15 -0
- data/lib/aasm/persistence/active_record_persistence.rb +108 -173
- data/lib/aasm/persistence/base.rb +89 -0
- data/lib/aasm/persistence/core_data_query_persistence.rb +94 -0
- data/lib/aasm/persistence/dynamoid_persistence.rb +92 -0
- data/lib/aasm/persistence/mongoid_persistence.rb +126 -0
- data/lib/aasm/persistence/no_brainer_persistence.rb +105 -0
- data/lib/aasm/persistence/orm.rb +154 -0
- data/lib/aasm/persistence/plain_persistence.rb +26 -0
- data/lib/aasm/persistence/redis_persistence.rb +112 -0
- data/lib/aasm/persistence/sequel_persistence.rb +83 -0
- data/lib/aasm/persistence.rb +48 -10
- data/lib/aasm/rspec/allow_event.rb +26 -0
- data/lib/aasm/rspec/allow_transition_to.rb +26 -0
- data/lib/aasm/rspec/have_state.rb +22 -0
- data/lib/aasm/rspec/transition_from.rb +36 -0
- data/lib/aasm/rspec.rb +5 -0
- data/lib/aasm/state_machine.rb +40 -22
- data/lib/aasm/state_machine_store.rb +76 -0
- data/lib/aasm/version.rb +3 -0
- data/lib/aasm.rb +21 -1
- data/lib/generators/aasm/aasm_generator.rb +16 -0
- data/lib/generators/aasm/orm_helpers.rb +41 -0
- data/lib/generators/active_record/aasm_generator.rb +40 -0
- data/lib/generators/active_record/templates/migration.rb +8 -0
- data/lib/generators/active_record/templates/migration_existing.rb +5 -0
- data/lib/generators/mongoid/aasm_generator.rb +28 -0
- data/lib/generators/nobrainer/aasm_generator.rb +28 -0
- data/lib/motion-aasm.rb +37 -0
- data/spec/database.rb +57 -0
- data/spec/database.yml +3 -0
- data/spec/en.yml +9 -0
- data/spec/generators/active_record_generator_spec.rb +53 -0
- data/spec/generators/mongoid_generator_spec.rb +31 -0
- data/spec/generators/no_brainer_generator_spec.rb +29 -0
- data/spec/localizer_test_model_deprecated_style.yml +13 -0
- data/spec/localizer_test_model_new_style.yml +11 -0
- data/spec/models/active_record/active_record_callback.rb +93 -0
- data/spec/models/active_record/basic_active_record_two_state_machines_example.rb +25 -0
- data/spec/models/active_record/complex_active_record_example.rb +37 -0
- data/spec/models/active_record/derivate_new_dsl.rb +7 -0
- data/spec/models/active_record/false_state.rb +35 -0
- data/spec/models/active_record/gate.rb +39 -0
- data/spec/models/active_record/instance_level_skip_validation_example.rb +19 -0
- data/spec/models/active_record/invalid_persistor.rb +29 -0
- data/spec/models/active_record/localizer_test_model.rb +42 -0
- data/spec/models/active_record/namespaced.rb +16 -0
- data/spec/models/active_record/no_direct_assignment.rb +21 -0
- data/spec/models/active_record/no_scope.rb +21 -0
- data/spec/models/active_record/persisted_state.rb +12 -0
- data/spec/models/active_record/person.rb +23 -0
- data/spec/models/active_record/provided_and_persisted_state.rb +24 -0
- data/spec/models/active_record/reader.rb +7 -0
- data/spec/models/active_record/readme_job.rb +21 -0
- data/spec/models/active_record/silent_persistor.rb +29 -0
- data/spec/models/active_record/simple_new_dsl.rb +32 -0
- data/spec/models/active_record/thief.rb +29 -0
- data/spec/models/active_record/timestamp_example.rb +16 -0
- data/spec/models/active_record/transactor.rb +124 -0
- data/spec/models/active_record/transient.rb +6 -0
- data/spec/models/active_record/validator.rb +118 -0
- data/spec/models/active_record/with_enum.rb +39 -0
- data/spec/models/active_record/with_enum_without_column.rb +38 -0
- data/spec/models/active_record/with_false_enum.rb +31 -0
- data/spec/models/active_record/with_true_enum.rb +39 -0
- data/spec/models/active_record/work.rb +3 -0
- data/spec/models/active_record/worker.rb +2 -0
- data/spec/models/active_record/writer.rb +6 -0
- data/spec/models/basic_two_state_machines_example.rb +25 -0
- data/spec/models/callbacks/basic.rb +98 -0
- data/spec/models/callbacks/basic_multiple.rb +75 -0
- data/spec/models/callbacks/guard_within_block.rb +67 -0
- data/spec/models/callbacks/guard_within_block_multiple.rb +66 -0
- data/spec/models/callbacks/multiple_transitions_transition_guard.rb +66 -0
- data/spec/models/callbacks/multiple_transitions_transition_guard_multiple.rb +65 -0
- data/spec/models/callbacks/private_method.rb +44 -0
- data/spec/models/callbacks/private_method_multiple.rb +44 -0
- data/spec/models/callbacks/with_args.rb +62 -0
- data/spec/models/callbacks/with_args_multiple.rb +61 -0
- data/spec/models/callbacks/with_state_arg.rb +34 -0
- data/spec/models/callbacks/with_state_arg_multiple.rb +29 -0
- data/spec/models/complex_example.rb +222 -0
- data/spec/models/conversation.rb +93 -0
- data/spec/models/default_state.rb +12 -0
- data/spec/models/double_definer.rb +21 -0
- data/spec/models/dynamoid/complex_dynamoid_example.rb +37 -0
- data/spec/models/dynamoid/dynamoid_multiple.rb +18 -0
- data/spec/models/dynamoid/dynamoid_simple.rb +18 -0
- data/spec/models/foo.rb +106 -0
- data/spec/models/foo_callback_multiple.rb +45 -0
- data/spec/models/guard_arguments_check.rb +17 -0
- data/spec/models/guard_with_params.rb +24 -0
- data/spec/models/guard_with_params_multiple.rb +18 -0
- data/spec/models/guardian.rb +58 -0
- data/spec/models/guardian_multiple.rb +48 -0
- data/spec/models/guardian_without_from_specified.rb +18 -0
- data/spec/models/initial_state_proc.rb +31 -0
- data/spec/models/mongoid/complex_mongoid_example.rb +37 -0
- data/spec/models/mongoid/invalid_persistor_mongoid.rb +39 -0
- data/spec/models/mongoid/mongoid_relationships.rb +26 -0
- data/spec/models/mongoid/no_scope_mongoid.rb +21 -0
- data/spec/models/mongoid/silent_persistor_mongoid.rb +39 -0
- data/spec/models/mongoid/simple_mongoid.rb +23 -0
- data/spec/models/mongoid/simple_new_dsl_mongoid.rb +25 -0
- data/spec/models/mongoid/timestamp_example_mongoid.rb +20 -0
- data/spec/models/mongoid/validator_mongoid.rb +100 -0
- data/spec/models/multi_transitioner.rb +34 -0
- data/spec/models/multiple_transitions_that_differ_only_by_guard.rb +31 -0
- data/spec/models/namespaced_multiple_example.rb +42 -0
- data/spec/models/no_initial_state.rb +25 -0
- data/spec/models/nobrainer/complex_no_brainer_example.rb +36 -0
- data/spec/models/nobrainer/invalid_persistor_no_brainer.rb +39 -0
- data/spec/models/nobrainer/no_scope_no_brainer.rb +21 -0
- data/spec/models/nobrainer/nobrainer_relationships.rb +25 -0
- data/spec/models/nobrainer/silent_persistor_no_brainer.rb +39 -0
- data/spec/models/nobrainer/simple_new_dsl_nobrainer.rb +25 -0
- data/spec/models/nobrainer/simple_no_brainer.rb +23 -0
- data/spec/models/nobrainer/validator_no_brainer.rb +98 -0
- data/spec/models/not_auto_loaded/process.rb +21 -0
- data/spec/models/parametrised_event.rb +42 -0
- data/spec/models/parametrised_event_multiple.rb +29 -0
- data/spec/models/process_with_new_dsl.rb +31 -0
- data/spec/models/provided_state.rb +24 -0
- data/spec/models/redis/complex_redis_example.rb +40 -0
- data/spec/models/redis/redis_multiple.rb +20 -0
- data/spec/models/redis/redis_simple.rb +20 -0
- data/spec/models/sequel/complex_sequel_example.rb +46 -0
- data/spec/models/sequel/invalid_persistor.rb +52 -0
- data/spec/models/sequel/sequel_multiple.rb +25 -0
- data/spec/models/sequel/sequel_simple.rb +26 -0
- data/spec/models/sequel/silent_persistor.rb +50 -0
- data/spec/models/sequel/transactor.rb +112 -0
- data/spec/models/sequel/validator.rb +93 -0
- data/spec/models/sequel/worker.rb +12 -0
- data/spec/models/silencer.rb +27 -0
- data/spec/models/simple_custom_example.rb +53 -0
- data/spec/models/simple_example.rb +23 -0
- data/spec/models/simple_example_with_guard_args.rb +17 -0
- data/spec/models/simple_multiple_example.rb +42 -0
- data/spec/models/state_machine_with_failed_event.rb +20 -0
- data/spec/models/states_on_one_line_example.rb +8 -0
- data/spec/models/sub_class.rb +41 -0
- data/spec/models/sub_class_with_more_states.rb +18 -0
- data/spec/models/sub_classing.rb +3 -0
- data/spec/models/super_class.rb +46 -0
- data/spec/models/this_name_better_not_be_in_use.rb +11 -0
- data/spec/models/timestamps_example.rb +19 -0
- data/spec/models/timestamps_with_named_machine_example.rb +13 -0
- data/spec/models/valid_state_name.rb +23 -0
- data/spec/spec_helper.rb +41 -0
- data/spec/spec_helpers/active_record.rb +8 -0
- data/spec/spec_helpers/dynamoid.rb +35 -0
- data/spec/spec_helpers/mongoid.rb +26 -0
- data/spec/spec_helpers/nobrainer.rb +15 -0
- data/spec/spec_helpers/redis.rb +18 -0
- data/spec/spec_helpers/remove_warnings.rb +1 -0
- data/spec/spec_helpers/sequel.rb +7 -0
- data/spec/unit/abstract_class_spec.rb +27 -0
- data/spec/unit/api_spec.rb +104 -0
- data/spec/unit/basic_two_state_machines_example_spec.rb +10 -0
- data/spec/unit/callback_multiple_spec.rb +304 -0
- data/spec/unit/callbacks_spec.rb +521 -0
- data/spec/unit/complex_example_spec.rb +93 -0
- data/spec/unit/complex_multiple_example_spec.rb +115 -0
- data/spec/unit/edge_cases_spec.rb +16 -0
- data/spec/unit/event_multiple_spec.rb +73 -0
- data/spec/unit/event_naming_spec.rb +16 -0
- data/spec/unit/event_spec.rb +394 -0
- data/spec/unit/exception_spec.rb +11 -0
- data/spec/unit/guard_arguments_check_spec.rb +9 -0
- data/spec/unit/guard_multiple_spec.rb +60 -0
- data/spec/unit/guard_spec.rb +89 -0
- data/spec/unit/guard_with_params_multiple_spec.rb +10 -0
- data/spec/unit/guard_with_params_spec.rb +14 -0
- data/spec/unit/guard_without_from_specified_spec.rb +10 -0
- data/spec/unit/initial_state_multiple_spec.rb +15 -0
- data/spec/unit/initial_state_spec.rb +12 -0
- data/spec/unit/inspection_multiple_spec.rb +205 -0
- data/spec/unit/inspection_spec.rb +153 -0
- data/spec/unit/invoker_spec.rb +189 -0
- data/spec/unit/invokers/base_invoker_spec.rb +72 -0
- data/spec/unit/invokers/class_invoker_spec.rb +95 -0
- data/spec/unit/invokers/literal_invoker_spec.rb +86 -0
- data/spec/unit/invokers/proc_invoker_spec.rb +86 -0
- data/spec/unit/localizer_spec.rb +109 -0
- data/spec/unit/memory_leak_spec.rb +38 -0
- data/spec/unit/multiple_transitions_that_differ_only_by_guard_spec.rb +14 -0
- data/spec/unit/namespaced_multiple_example_spec.rb +75 -0
- data/spec/unit/new_dsl_spec.rb +12 -0
- data/spec/unit/override_warning_spec.rb +94 -0
- data/spec/unit/persistence/active_record_persistence_multiple_spec.rb +635 -0
- data/spec/unit/persistence/active_record_persistence_spec.rb +852 -0
- data/spec/unit/persistence/dynamoid_persistence_multiple_spec.rb +135 -0
- data/spec/unit/persistence/dynamoid_persistence_spec.rb +84 -0
- data/spec/unit/persistence/mongoid_persistence_multiple_spec.rb +200 -0
- data/spec/unit/persistence/mongoid_persistence_spec.rb +177 -0
- data/spec/unit/persistence/no_brainer_persistence_multiple_spec.rb +198 -0
- data/spec/unit/persistence/no_brainer_persistence_spec.rb +158 -0
- data/spec/unit/persistence/redis_persistence_multiple_spec.rb +88 -0
- data/spec/unit/persistence/redis_persistence_spec.rb +53 -0
- data/spec/unit/persistence/sequel_persistence_multiple_spec.rb +148 -0
- data/spec/unit/persistence/sequel_persistence_spec.rb +368 -0
- data/spec/unit/readme_spec.rb +41 -0
- data/spec/unit/reloading_spec.rb +15 -0
- data/spec/unit/rspec_matcher_spec.rb +88 -0
- data/spec/unit/simple_custom_example_spec.rb +39 -0
- data/spec/unit/simple_example_spec.rb +57 -0
- data/spec/unit/simple_multiple_example_spec.rb +91 -0
- data/spec/unit/state_spec.rb +105 -0
- data/spec/unit/states_on_one_line_example_spec.rb +16 -0
- data/spec/unit/subclassing_multiple_spec.rb +74 -0
- data/spec/unit/subclassing_spec.rb +46 -0
- data/spec/unit/timestamps_spec.rb +32 -0
- data/spec/unit/transition_spec.rb +436 -0
- data/test/minitest_helper.rb +57 -0
- data/test/unit/minitest_matcher_test.rb +80 -0
- metadata +607 -60
- data/CHANGELOG +0 -33
- data/README.rdoc +0 -122
- data/TODO +0 -9
- data/doc/jamis.rb +0 -591
- data/lib/aasm/event.rb +0 -76
- data/lib/aasm/state.rb +0 -35
- data/lib/aasm/state_transition.rb +0 -36
metadata
CHANGED
@@ -1,76 +1,623 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: aasm
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 5.2.0
|
5
5
|
platform: ruby
|
6
|
-
authors:
|
7
|
-
-
|
8
|
-
|
6
|
+
authors:
|
7
|
+
- Thorsten Boettger
|
8
|
+
- Anil Maurya
|
9
|
+
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
12
|
+
date: 2021-05-02 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: concurrent-ruby
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '1.0'
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '1.0'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: rake
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
35
|
+
type: :development
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: sdoc
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - ">="
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0'
|
49
|
+
type: :development
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: rspec
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '3'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '3'
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: generator_spec
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0'
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: appraisal
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - ">="
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '0'
|
91
|
+
type: :development
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - ">="
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '0'
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: simplecov
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0'
|
105
|
+
type: :development
|
106
|
+
prerelease: false
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - ">="
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '0'
|
112
|
+
- !ruby/object:Gem::Dependency
|
113
|
+
name: codecov
|
114
|
+
requirement: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - ">="
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: 0.1.21
|
119
|
+
type: :development
|
120
|
+
prerelease: false
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - ">="
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: 0.1.21
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: pry
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - ">="
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '0'
|
133
|
+
type: :development
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - ">="
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '0'
|
140
|
+
description: AASM is a continuation of the acts-as-state-machine rails plugin, built
|
141
|
+
for plain Ruby objects.
|
142
|
+
email: aasm@mt7.de, anilmaurya8dec@gmail.com
|
18
143
|
executables: []
|
19
|
-
|
20
144
|
extensions: []
|
21
|
-
|
22
|
-
|
23
|
-
-
|
24
|
-
-
|
25
|
-
-
|
26
|
-
-
|
27
|
-
|
28
|
-
-
|
29
|
-
-
|
145
|
+
extra_rdoc_files: []
|
146
|
+
files:
|
147
|
+
- ".document"
|
148
|
+
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
149
|
+
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
150
|
+
- ".gitignore"
|
151
|
+
- ".travis.yml"
|
152
|
+
- API
|
153
|
+
- Appraisals
|
154
|
+
- CHANGELOG.md
|
155
|
+
- CODE_OF_CONDUCT.md
|
156
|
+
- CONTRIBUTING.md
|
157
|
+
- Dockerfile
|
158
|
+
- Gemfile
|
159
|
+
- Gemfile.lock_old
|
160
|
+
- HOWTO
|
161
|
+
- LICENSE
|
162
|
+
- PLANNED_CHANGES.md
|
163
|
+
- README.md
|
164
|
+
- README_FROM_VERSION_3_TO_4.md
|
30
165
|
- Rakefile
|
31
|
-
-
|
32
|
-
-
|
166
|
+
- TESTING.md
|
167
|
+
- aasm.gemspec
|
168
|
+
- docker-compose.yml
|
169
|
+
- gemfiles/norails.gemfile
|
170
|
+
- gemfiles/rails_4.2.gemfile
|
171
|
+
- gemfiles/rails_4.2_mongoid_5.gemfile
|
172
|
+
- gemfiles/rails_4.2_nobrainer.gemfile
|
173
|
+
- gemfiles/rails_5.0.gemfile
|
174
|
+
- gemfiles/rails_5.0_nobrainer.gemfile
|
175
|
+
- gemfiles/rails_5.1.gemfile
|
176
|
+
- gemfiles/rails_5.2.gemfile
|
33
177
|
- lib/aasm.rb
|
34
178
|
- lib/aasm/aasm.rb
|
35
|
-
- lib/aasm/
|
36
|
-
- lib/aasm/
|
179
|
+
- lib/aasm/base.rb
|
180
|
+
- lib/aasm/configuration.rb
|
181
|
+
- lib/aasm/core/event.rb
|
182
|
+
- lib/aasm/core/invoker.rb
|
183
|
+
- lib/aasm/core/invokers/base_invoker.rb
|
184
|
+
- lib/aasm/core/invokers/class_invoker.rb
|
185
|
+
- lib/aasm/core/invokers/literal_invoker.rb
|
186
|
+
- lib/aasm/core/invokers/proc_invoker.rb
|
187
|
+
- lib/aasm/core/state.rb
|
188
|
+
- lib/aasm/core/transition.rb
|
189
|
+
- lib/aasm/dsl_helper.rb
|
190
|
+
- lib/aasm/errors.rb
|
191
|
+
- lib/aasm/instance_base.rb
|
192
|
+
- lib/aasm/localizer.rb
|
193
|
+
- lib/aasm/minitest.rb
|
194
|
+
- lib/aasm/minitest/allow_event.rb
|
195
|
+
- lib/aasm/minitest/allow_transition_to.rb
|
196
|
+
- lib/aasm/minitest/have_state.rb
|
197
|
+
- lib/aasm/minitest/transition_from.rb
|
198
|
+
- lib/aasm/minitest_spec.rb
|
37
199
|
- lib/aasm/persistence.rb
|
38
|
-
- lib/aasm/
|
200
|
+
- lib/aasm/persistence/active_record_persistence.rb
|
201
|
+
- lib/aasm/persistence/base.rb
|
202
|
+
- lib/aasm/persistence/core_data_query_persistence.rb
|
203
|
+
- lib/aasm/persistence/dynamoid_persistence.rb
|
204
|
+
- lib/aasm/persistence/mongoid_persistence.rb
|
205
|
+
- lib/aasm/persistence/no_brainer_persistence.rb
|
206
|
+
- lib/aasm/persistence/orm.rb
|
207
|
+
- lib/aasm/persistence/plain_persistence.rb
|
208
|
+
- lib/aasm/persistence/redis_persistence.rb
|
209
|
+
- lib/aasm/persistence/sequel_persistence.rb
|
210
|
+
- lib/aasm/rspec.rb
|
211
|
+
- lib/aasm/rspec/allow_event.rb
|
212
|
+
- lib/aasm/rspec/allow_transition_to.rb
|
213
|
+
- lib/aasm/rspec/have_state.rb
|
214
|
+
- lib/aasm/rspec/transition_from.rb
|
39
215
|
- lib/aasm/state_machine.rb
|
40
|
-
- lib/aasm/
|
41
|
-
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
-
|
49
|
-
-
|
50
|
-
-
|
51
|
-
-
|
52
|
-
-
|
53
|
-
-
|
54
|
-
|
216
|
+
- lib/aasm/state_machine_store.rb
|
217
|
+
- lib/aasm/version.rb
|
218
|
+
- lib/generators/aasm/aasm_generator.rb
|
219
|
+
- lib/generators/aasm/orm_helpers.rb
|
220
|
+
- lib/generators/active_record/aasm_generator.rb
|
221
|
+
- lib/generators/active_record/templates/migration.rb
|
222
|
+
- lib/generators/active_record/templates/migration_existing.rb
|
223
|
+
- lib/generators/mongoid/aasm_generator.rb
|
224
|
+
- lib/generators/nobrainer/aasm_generator.rb
|
225
|
+
- lib/motion-aasm.rb
|
226
|
+
- spec/database.rb
|
227
|
+
- spec/database.yml
|
228
|
+
- spec/en.yml
|
229
|
+
- spec/generators/active_record_generator_spec.rb
|
230
|
+
- spec/generators/mongoid_generator_spec.rb
|
231
|
+
- spec/generators/no_brainer_generator_spec.rb
|
232
|
+
- spec/localizer_test_model_deprecated_style.yml
|
233
|
+
- spec/localizer_test_model_new_style.yml
|
234
|
+
- spec/models/active_record/active_record_callback.rb
|
235
|
+
- spec/models/active_record/basic_active_record_two_state_machines_example.rb
|
236
|
+
- spec/models/active_record/complex_active_record_example.rb
|
237
|
+
- spec/models/active_record/derivate_new_dsl.rb
|
238
|
+
- spec/models/active_record/false_state.rb
|
239
|
+
- spec/models/active_record/gate.rb
|
240
|
+
- spec/models/active_record/instance_level_skip_validation_example.rb
|
241
|
+
- spec/models/active_record/invalid_persistor.rb
|
242
|
+
- spec/models/active_record/localizer_test_model.rb
|
243
|
+
- spec/models/active_record/namespaced.rb
|
244
|
+
- spec/models/active_record/no_direct_assignment.rb
|
245
|
+
- spec/models/active_record/no_scope.rb
|
246
|
+
- spec/models/active_record/persisted_state.rb
|
247
|
+
- spec/models/active_record/person.rb
|
248
|
+
- spec/models/active_record/provided_and_persisted_state.rb
|
249
|
+
- spec/models/active_record/reader.rb
|
250
|
+
- spec/models/active_record/readme_job.rb
|
251
|
+
- spec/models/active_record/silent_persistor.rb
|
252
|
+
- spec/models/active_record/simple_new_dsl.rb
|
253
|
+
- spec/models/active_record/thief.rb
|
254
|
+
- spec/models/active_record/timestamp_example.rb
|
255
|
+
- spec/models/active_record/transactor.rb
|
256
|
+
- spec/models/active_record/transient.rb
|
257
|
+
- spec/models/active_record/validator.rb
|
258
|
+
- spec/models/active_record/with_enum.rb
|
259
|
+
- spec/models/active_record/with_enum_without_column.rb
|
260
|
+
- spec/models/active_record/with_false_enum.rb
|
261
|
+
- spec/models/active_record/with_true_enum.rb
|
262
|
+
- spec/models/active_record/work.rb
|
263
|
+
- spec/models/active_record/worker.rb
|
264
|
+
- spec/models/active_record/writer.rb
|
265
|
+
- spec/models/basic_two_state_machines_example.rb
|
266
|
+
- spec/models/callbacks/basic.rb
|
267
|
+
- spec/models/callbacks/basic_multiple.rb
|
268
|
+
- spec/models/callbacks/guard_within_block.rb
|
269
|
+
- spec/models/callbacks/guard_within_block_multiple.rb
|
270
|
+
- spec/models/callbacks/multiple_transitions_transition_guard.rb
|
271
|
+
- spec/models/callbacks/multiple_transitions_transition_guard_multiple.rb
|
272
|
+
- spec/models/callbacks/private_method.rb
|
273
|
+
- spec/models/callbacks/private_method_multiple.rb
|
274
|
+
- spec/models/callbacks/with_args.rb
|
275
|
+
- spec/models/callbacks/with_args_multiple.rb
|
276
|
+
- spec/models/callbacks/with_state_arg.rb
|
277
|
+
- spec/models/callbacks/with_state_arg_multiple.rb
|
278
|
+
- spec/models/complex_example.rb
|
279
|
+
- spec/models/conversation.rb
|
280
|
+
- spec/models/default_state.rb
|
281
|
+
- spec/models/double_definer.rb
|
282
|
+
- spec/models/dynamoid/complex_dynamoid_example.rb
|
283
|
+
- spec/models/dynamoid/dynamoid_multiple.rb
|
284
|
+
- spec/models/dynamoid/dynamoid_simple.rb
|
285
|
+
- spec/models/foo.rb
|
286
|
+
- spec/models/foo_callback_multiple.rb
|
287
|
+
- spec/models/guard_arguments_check.rb
|
288
|
+
- spec/models/guard_with_params.rb
|
289
|
+
- spec/models/guard_with_params_multiple.rb
|
290
|
+
- spec/models/guardian.rb
|
291
|
+
- spec/models/guardian_multiple.rb
|
292
|
+
- spec/models/guardian_without_from_specified.rb
|
293
|
+
- spec/models/initial_state_proc.rb
|
294
|
+
- spec/models/mongoid/complex_mongoid_example.rb
|
295
|
+
- spec/models/mongoid/invalid_persistor_mongoid.rb
|
296
|
+
- spec/models/mongoid/mongoid_relationships.rb
|
297
|
+
- spec/models/mongoid/no_scope_mongoid.rb
|
298
|
+
- spec/models/mongoid/silent_persistor_mongoid.rb
|
299
|
+
- spec/models/mongoid/simple_mongoid.rb
|
300
|
+
- spec/models/mongoid/simple_new_dsl_mongoid.rb
|
301
|
+
- spec/models/mongoid/timestamp_example_mongoid.rb
|
302
|
+
- spec/models/mongoid/validator_mongoid.rb
|
303
|
+
- spec/models/multi_transitioner.rb
|
304
|
+
- spec/models/multiple_transitions_that_differ_only_by_guard.rb
|
305
|
+
- spec/models/namespaced_multiple_example.rb
|
306
|
+
- spec/models/no_initial_state.rb
|
307
|
+
- spec/models/nobrainer/complex_no_brainer_example.rb
|
308
|
+
- spec/models/nobrainer/invalid_persistor_no_brainer.rb
|
309
|
+
- spec/models/nobrainer/no_scope_no_brainer.rb
|
310
|
+
- spec/models/nobrainer/nobrainer_relationships.rb
|
311
|
+
- spec/models/nobrainer/silent_persistor_no_brainer.rb
|
312
|
+
- spec/models/nobrainer/simple_new_dsl_nobrainer.rb
|
313
|
+
- spec/models/nobrainer/simple_no_brainer.rb
|
314
|
+
- spec/models/nobrainer/validator_no_brainer.rb
|
315
|
+
- spec/models/not_auto_loaded/process.rb
|
316
|
+
- spec/models/parametrised_event.rb
|
317
|
+
- spec/models/parametrised_event_multiple.rb
|
318
|
+
- spec/models/process_with_new_dsl.rb
|
319
|
+
- spec/models/provided_state.rb
|
320
|
+
- spec/models/redis/complex_redis_example.rb
|
321
|
+
- spec/models/redis/redis_multiple.rb
|
322
|
+
- spec/models/redis/redis_simple.rb
|
323
|
+
- spec/models/sequel/complex_sequel_example.rb
|
324
|
+
- spec/models/sequel/invalid_persistor.rb
|
325
|
+
- spec/models/sequel/sequel_multiple.rb
|
326
|
+
- spec/models/sequel/sequel_simple.rb
|
327
|
+
- spec/models/sequel/silent_persistor.rb
|
328
|
+
- spec/models/sequel/transactor.rb
|
329
|
+
- spec/models/sequel/validator.rb
|
330
|
+
- spec/models/sequel/worker.rb
|
331
|
+
- spec/models/silencer.rb
|
332
|
+
- spec/models/simple_custom_example.rb
|
333
|
+
- spec/models/simple_example.rb
|
334
|
+
- spec/models/simple_example_with_guard_args.rb
|
335
|
+
- spec/models/simple_multiple_example.rb
|
336
|
+
- spec/models/state_machine_with_failed_event.rb
|
337
|
+
- spec/models/states_on_one_line_example.rb
|
338
|
+
- spec/models/sub_class.rb
|
339
|
+
- spec/models/sub_class_with_more_states.rb
|
340
|
+
- spec/models/sub_classing.rb
|
341
|
+
- spec/models/super_class.rb
|
342
|
+
- spec/models/this_name_better_not_be_in_use.rb
|
343
|
+
- spec/models/timestamps_example.rb
|
344
|
+
- spec/models/timestamps_with_named_machine_example.rb
|
345
|
+
- spec/models/valid_state_name.rb
|
346
|
+
- spec/spec_helper.rb
|
347
|
+
- spec/spec_helpers/active_record.rb
|
348
|
+
- spec/spec_helpers/dynamoid.rb
|
349
|
+
- spec/spec_helpers/mongoid.rb
|
350
|
+
- spec/spec_helpers/nobrainer.rb
|
351
|
+
- spec/spec_helpers/redis.rb
|
352
|
+
- spec/spec_helpers/remove_warnings.rb
|
353
|
+
- spec/spec_helpers/sequel.rb
|
354
|
+
- spec/unit/abstract_class_spec.rb
|
355
|
+
- spec/unit/api_spec.rb
|
356
|
+
- spec/unit/basic_two_state_machines_example_spec.rb
|
357
|
+
- spec/unit/callback_multiple_spec.rb
|
358
|
+
- spec/unit/callbacks_spec.rb
|
359
|
+
- spec/unit/complex_example_spec.rb
|
360
|
+
- spec/unit/complex_multiple_example_spec.rb
|
361
|
+
- spec/unit/edge_cases_spec.rb
|
362
|
+
- spec/unit/event_multiple_spec.rb
|
363
|
+
- spec/unit/event_naming_spec.rb
|
364
|
+
- spec/unit/event_spec.rb
|
365
|
+
- spec/unit/exception_spec.rb
|
366
|
+
- spec/unit/guard_arguments_check_spec.rb
|
367
|
+
- spec/unit/guard_multiple_spec.rb
|
368
|
+
- spec/unit/guard_spec.rb
|
369
|
+
- spec/unit/guard_with_params_multiple_spec.rb
|
370
|
+
- spec/unit/guard_with_params_spec.rb
|
371
|
+
- spec/unit/guard_without_from_specified_spec.rb
|
372
|
+
- spec/unit/initial_state_multiple_spec.rb
|
373
|
+
- spec/unit/initial_state_spec.rb
|
374
|
+
- spec/unit/inspection_multiple_spec.rb
|
375
|
+
- spec/unit/inspection_spec.rb
|
376
|
+
- spec/unit/invoker_spec.rb
|
377
|
+
- spec/unit/invokers/base_invoker_spec.rb
|
378
|
+
- spec/unit/invokers/class_invoker_spec.rb
|
379
|
+
- spec/unit/invokers/literal_invoker_spec.rb
|
380
|
+
- spec/unit/invokers/proc_invoker_spec.rb
|
381
|
+
- spec/unit/localizer_spec.rb
|
382
|
+
- spec/unit/memory_leak_spec.rb
|
383
|
+
- spec/unit/multiple_transitions_that_differ_only_by_guard_spec.rb
|
384
|
+
- spec/unit/namespaced_multiple_example_spec.rb
|
385
|
+
- spec/unit/new_dsl_spec.rb
|
386
|
+
- spec/unit/override_warning_spec.rb
|
387
|
+
- spec/unit/persistence/active_record_persistence_multiple_spec.rb
|
388
|
+
- spec/unit/persistence/active_record_persistence_spec.rb
|
389
|
+
- spec/unit/persistence/dynamoid_persistence_multiple_spec.rb
|
390
|
+
- spec/unit/persistence/dynamoid_persistence_spec.rb
|
391
|
+
- spec/unit/persistence/mongoid_persistence_multiple_spec.rb
|
392
|
+
- spec/unit/persistence/mongoid_persistence_spec.rb
|
393
|
+
- spec/unit/persistence/no_brainer_persistence_multiple_spec.rb
|
394
|
+
- spec/unit/persistence/no_brainer_persistence_spec.rb
|
395
|
+
- spec/unit/persistence/redis_persistence_multiple_spec.rb
|
396
|
+
- spec/unit/persistence/redis_persistence_spec.rb
|
397
|
+
- spec/unit/persistence/sequel_persistence_multiple_spec.rb
|
398
|
+
- spec/unit/persistence/sequel_persistence_spec.rb
|
399
|
+
- spec/unit/readme_spec.rb
|
400
|
+
- spec/unit/reloading_spec.rb
|
401
|
+
- spec/unit/rspec_matcher_spec.rb
|
402
|
+
- spec/unit/simple_custom_example_spec.rb
|
403
|
+
- spec/unit/simple_example_spec.rb
|
404
|
+
- spec/unit/simple_multiple_example_spec.rb
|
405
|
+
- spec/unit/state_spec.rb
|
406
|
+
- spec/unit/states_on_one_line_example_spec.rb
|
407
|
+
- spec/unit/subclassing_multiple_spec.rb
|
408
|
+
- spec/unit/subclassing_spec.rb
|
409
|
+
- spec/unit/timestamps_spec.rb
|
410
|
+
- spec/unit/transition_spec.rb
|
411
|
+
- test/minitest_helper.rb
|
412
|
+
- test/unit/minitest_matcher_test.rb
|
413
|
+
homepage: https://github.com/aasm/aasm
|
414
|
+
licenses:
|
415
|
+
- MIT
|
416
|
+
metadata: {}
|
417
|
+
post_install_message:
|
418
|
+
rdoc_options: []
|
419
|
+
require_paths:
|
55
420
|
- lib
|
56
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
57
|
-
requirements:
|
421
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
422
|
+
requirements:
|
58
423
|
- - ">="
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version:
|
61
|
-
|
62
|
-
|
63
|
-
requirements:
|
424
|
+
- !ruby/object:Gem::Version
|
425
|
+
version: 1.9.3
|
426
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
427
|
+
requirements:
|
64
428
|
- - ">="
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
version:
|
67
|
-
version:
|
429
|
+
- !ruby/object:Gem::Version
|
430
|
+
version: '0'
|
68
431
|
requirements: []
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
signing_key:
|
73
|
-
specification_version: 2
|
432
|
+
rubygems_version: 3.0.3
|
433
|
+
signing_key:
|
434
|
+
specification_version: 4
|
74
435
|
summary: State machine mixin for Ruby objects
|
75
|
-
test_files:
|
76
|
-
|
436
|
+
test_files:
|
437
|
+
- spec/database.rb
|
438
|
+
- spec/database.yml
|
439
|
+
- spec/en.yml
|
440
|
+
- spec/generators/active_record_generator_spec.rb
|
441
|
+
- spec/generators/mongoid_generator_spec.rb
|
442
|
+
- spec/generators/no_brainer_generator_spec.rb
|
443
|
+
- spec/localizer_test_model_deprecated_style.yml
|
444
|
+
- spec/localizer_test_model_new_style.yml
|
445
|
+
- spec/models/active_record/active_record_callback.rb
|
446
|
+
- spec/models/active_record/basic_active_record_two_state_machines_example.rb
|
447
|
+
- spec/models/active_record/complex_active_record_example.rb
|
448
|
+
- spec/models/active_record/derivate_new_dsl.rb
|
449
|
+
- spec/models/active_record/false_state.rb
|
450
|
+
- spec/models/active_record/gate.rb
|
451
|
+
- spec/models/active_record/instance_level_skip_validation_example.rb
|
452
|
+
- spec/models/active_record/invalid_persistor.rb
|
453
|
+
- spec/models/active_record/localizer_test_model.rb
|
454
|
+
- spec/models/active_record/namespaced.rb
|
455
|
+
- spec/models/active_record/no_direct_assignment.rb
|
456
|
+
- spec/models/active_record/no_scope.rb
|
457
|
+
- spec/models/active_record/persisted_state.rb
|
458
|
+
- spec/models/active_record/person.rb
|
459
|
+
- spec/models/active_record/provided_and_persisted_state.rb
|
460
|
+
- spec/models/active_record/reader.rb
|
461
|
+
- spec/models/active_record/readme_job.rb
|
462
|
+
- spec/models/active_record/silent_persistor.rb
|
463
|
+
- spec/models/active_record/simple_new_dsl.rb
|
464
|
+
- spec/models/active_record/thief.rb
|
465
|
+
- spec/models/active_record/timestamp_example.rb
|
466
|
+
- spec/models/active_record/transactor.rb
|
467
|
+
- spec/models/active_record/transient.rb
|
468
|
+
- spec/models/active_record/validator.rb
|
469
|
+
- spec/models/active_record/with_enum.rb
|
470
|
+
- spec/models/active_record/with_enum_without_column.rb
|
471
|
+
- spec/models/active_record/with_false_enum.rb
|
472
|
+
- spec/models/active_record/with_true_enum.rb
|
473
|
+
- spec/models/active_record/work.rb
|
474
|
+
- spec/models/active_record/worker.rb
|
475
|
+
- spec/models/active_record/writer.rb
|
476
|
+
- spec/models/basic_two_state_machines_example.rb
|
477
|
+
- spec/models/callbacks/basic.rb
|
478
|
+
- spec/models/callbacks/basic_multiple.rb
|
479
|
+
- spec/models/callbacks/guard_within_block.rb
|
480
|
+
- spec/models/callbacks/guard_within_block_multiple.rb
|
481
|
+
- spec/models/callbacks/multiple_transitions_transition_guard.rb
|
482
|
+
- spec/models/callbacks/multiple_transitions_transition_guard_multiple.rb
|
483
|
+
- spec/models/callbacks/private_method.rb
|
484
|
+
- spec/models/callbacks/private_method_multiple.rb
|
485
|
+
- spec/models/callbacks/with_args.rb
|
486
|
+
- spec/models/callbacks/with_args_multiple.rb
|
487
|
+
- spec/models/callbacks/with_state_arg.rb
|
488
|
+
- spec/models/callbacks/with_state_arg_multiple.rb
|
489
|
+
- spec/models/complex_example.rb
|
490
|
+
- spec/models/conversation.rb
|
491
|
+
- spec/models/default_state.rb
|
492
|
+
- spec/models/double_definer.rb
|
493
|
+
- spec/models/dynamoid/complex_dynamoid_example.rb
|
494
|
+
- spec/models/dynamoid/dynamoid_multiple.rb
|
495
|
+
- spec/models/dynamoid/dynamoid_simple.rb
|
496
|
+
- spec/models/foo.rb
|
497
|
+
- spec/models/foo_callback_multiple.rb
|
498
|
+
- spec/models/guard_arguments_check.rb
|
499
|
+
- spec/models/guard_with_params.rb
|
500
|
+
- spec/models/guard_with_params_multiple.rb
|
501
|
+
- spec/models/guardian.rb
|
502
|
+
- spec/models/guardian_multiple.rb
|
503
|
+
- spec/models/guardian_without_from_specified.rb
|
504
|
+
- spec/models/initial_state_proc.rb
|
505
|
+
- spec/models/mongoid/complex_mongoid_example.rb
|
506
|
+
- spec/models/mongoid/invalid_persistor_mongoid.rb
|
507
|
+
- spec/models/mongoid/mongoid_relationships.rb
|
508
|
+
- spec/models/mongoid/no_scope_mongoid.rb
|
509
|
+
- spec/models/mongoid/silent_persistor_mongoid.rb
|
510
|
+
- spec/models/mongoid/simple_mongoid.rb
|
511
|
+
- spec/models/mongoid/simple_new_dsl_mongoid.rb
|
512
|
+
- spec/models/mongoid/timestamp_example_mongoid.rb
|
513
|
+
- spec/models/mongoid/validator_mongoid.rb
|
514
|
+
- spec/models/multi_transitioner.rb
|
515
|
+
- spec/models/multiple_transitions_that_differ_only_by_guard.rb
|
516
|
+
- spec/models/namespaced_multiple_example.rb
|
517
|
+
- spec/models/no_initial_state.rb
|
518
|
+
- spec/models/nobrainer/complex_no_brainer_example.rb
|
519
|
+
- spec/models/nobrainer/invalid_persistor_no_brainer.rb
|
520
|
+
- spec/models/nobrainer/no_scope_no_brainer.rb
|
521
|
+
- spec/models/nobrainer/nobrainer_relationships.rb
|
522
|
+
- spec/models/nobrainer/silent_persistor_no_brainer.rb
|
523
|
+
- spec/models/nobrainer/simple_new_dsl_nobrainer.rb
|
524
|
+
- spec/models/nobrainer/simple_no_brainer.rb
|
525
|
+
- spec/models/nobrainer/validator_no_brainer.rb
|
526
|
+
- spec/models/not_auto_loaded/process.rb
|
527
|
+
- spec/models/parametrised_event.rb
|
528
|
+
- spec/models/parametrised_event_multiple.rb
|
529
|
+
- spec/models/process_with_new_dsl.rb
|
530
|
+
- spec/models/provided_state.rb
|
531
|
+
- spec/models/redis/complex_redis_example.rb
|
532
|
+
- spec/models/redis/redis_multiple.rb
|
533
|
+
- spec/models/redis/redis_simple.rb
|
534
|
+
- spec/models/sequel/complex_sequel_example.rb
|
535
|
+
- spec/models/sequel/invalid_persistor.rb
|
536
|
+
- spec/models/sequel/sequel_multiple.rb
|
537
|
+
- spec/models/sequel/sequel_simple.rb
|
538
|
+
- spec/models/sequel/silent_persistor.rb
|
539
|
+
- spec/models/sequel/transactor.rb
|
540
|
+
- spec/models/sequel/validator.rb
|
541
|
+
- spec/models/sequel/worker.rb
|
542
|
+
- spec/models/silencer.rb
|
543
|
+
- spec/models/simple_custom_example.rb
|
544
|
+
- spec/models/simple_example.rb
|
545
|
+
- spec/models/simple_example_with_guard_args.rb
|
546
|
+
- spec/models/simple_multiple_example.rb
|
547
|
+
- spec/models/state_machine_with_failed_event.rb
|
548
|
+
- spec/models/states_on_one_line_example.rb
|
549
|
+
- spec/models/sub_class.rb
|
550
|
+
- spec/models/sub_class_with_more_states.rb
|
551
|
+
- spec/models/sub_classing.rb
|
552
|
+
- spec/models/super_class.rb
|
553
|
+
- spec/models/this_name_better_not_be_in_use.rb
|
554
|
+
- spec/models/timestamps_example.rb
|
555
|
+
- spec/models/timestamps_with_named_machine_example.rb
|
556
|
+
- spec/models/valid_state_name.rb
|
557
|
+
- spec/spec_helper.rb
|
558
|
+
- spec/spec_helpers/active_record.rb
|
559
|
+
- spec/spec_helpers/dynamoid.rb
|
560
|
+
- spec/spec_helpers/mongoid.rb
|
561
|
+
- spec/spec_helpers/nobrainer.rb
|
562
|
+
- spec/spec_helpers/redis.rb
|
563
|
+
- spec/spec_helpers/remove_warnings.rb
|
564
|
+
- spec/spec_helpers/sequel.rb
|
565
|
+
- spec/unit/abstract_class_spec.rb
|
566
|
+
- spec/unit/api_spec.rb
|
567
|
+
- spec/unit/basic_two_state_machines_example_spec.rb
|
568
|
+
- spec/unit/callback_multiple_spec.rb
|
569
|
+
- spec/unit/callbacks_spec.rb
|
570
|
+
- spec/unit/complex_example_spec.rb
|
571
|
+
- spec/unit/complex_multiple_example_spec.rb
|
572
|
+
- spec/unit/edge_cases_spec.rb
|
573
|
+
- spec/unit/event_multiple_spec.rb
|
574
|
+
- spec/unit/event_naming_spec.rb
|
575
|
+
- spec/unit/event_spec.rb
|
576
|
+
- spec/unit/exception_spec.rb
|
577
|
+
- spec/unit/guard_arguments_check_spec.rb
|
578
|
+
- spec/unit/guard_multiple_spec.rb
|
579
|
+
- spec/unit/guard_spec.rb
|
580
|
+
- spec/unit/guard_with_params_multiple_spec.rb
|
581
|
+
- spec/unit/guard_with_params_spec.rb
|
582
|
+
- spec/unit/guard_without_from_specified_spec.rb
|
583
|
+
- spec/unit/initial_state_multiple_spec.rb
|
584
|
+
- spec/unit/initial_state_spec.rb
|
585
|
+
- spec/unit/inspection_multiple_spec.rb
|
586
|
+
- spec/unit/inspection_spec.rb
|
587
|
+
- spec/unit/invoker_spec.rb
|
588
|
+
- spec/unit/invokers/base_invoker_spec.rb
|
589
|
+
- spec/unit/invokers/class_invoker_spec.rb
|
590
|
+
- spec/unit/invokers/literal_invoker_spec.rb
|
591
|
+
- spec/unit/invokers/proc_invoker_spec.rb
|
592
|
+
- spec/unit/localizer_spec.rb
|
593
|
+
- spec/unit/memory_leak_spec.rb
|
594
|
+
- spec/unit/multiple_transitions_that_differ_only_by_guard_spec.rb
|
595
|
+
- spec/unit/namespaced_multiple_example_spec.rb
|
596
|
+
- spec/unit/new_dsl_spec.rb
|
597
|
+
- spec/unit/override_warning_spec.rb
|
598
|
+
- spec/unit/persistence/active_record_persistence_multiple_spec.rb
|
599
|
+
- spec/unit/persistence/active_record_persistence_spec.rb
|
600
|
+
- spec/unit/persistence/dynamoid_persistence_multiple_spec.rb
|
601
|
+
- spec/unit/persistence/dynamoid_persistence_spec.rb
|
602
|
+
- spec/unit/persistence/mongoid_persistence_multiple_spec.rb
|
603
|
+
- spec/unit/persistence/mongoid_persistence_spec.rb
|
604
|
+
- spec/unit/persistence/no_brainer_persistence_multiple_spec.rb
|
605
|
+
- spec/unit/persistence/no_brainer_persistence_spec.rb
|
606
|
+
- spec/unit/persistence/redis_persistence_multiple_spec.rb
|
607
|
+
- spec/unit/persistence/redis_persistence_spec.rb
|
608
|
+
- spec/unit/persistence/sequel_persistence_multiple_spec.rb
|
609
|
+
- spec/unit/persistence/sequel_persistence_spec.rb
|
610
|
+
- spec/unit/readme_spec.rb
|
611
|
+
- spec/unit/reloading_spec.rb
|
612
|
+
- spec/unit/rspec_matcher_spec.rb
|
613
|
+
- spec/unit/simple_custom_example_spec.rb
|
614
|
+
- spec/unit/simple_example_spec.rb
|
615
|
+
- spec/unit/simple_multiple_example_spec.rb
|
616
|
+
- spec/unit/state_spec.rb
|
617
|
+
- spec/unit/states_on_one_line_example_spec.rb
|
618
|
+
- spec/unit/subclassing_multiple_spec.rb
|
619
|
+
- spec/unit/subclassing_spec.rb
|
620
|
+
- spec/unit/timestamps_spec.rb
|
621
|
+
- spec/unit/transition_spec.rb
|
622
|
+
- test/minitest_helper.rb
|
623
|
+
- test/unit/minitest_matcher_test.rb
|