state_machines 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (465) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +10 -4
  3. data/Changelog.md +0 -0
  4. data/Gemfile +6 -0
  5. data/LICENSE.txt +1 -1
  6. data/README.md +6 -8
  7. data/Rakefile +9 -6
  8. data/Testing.md +0 -0
  9. data/lib/state_machines/assertions.rb +5 -5
  10. data/lib/state_machines/error.rb +2 -1
  11. data/lib/state_machines/integrations.rb +18 -11
  12. data/lib/state_machines/machine.rb +8 -12
  13. data/lib/state_machines/version.rb +1 -1
  14. data/state_machines.gemspec +6 -8
  15. data/test/files/integrations/event_on_failure_integration.rb +10 -0
  16. data/test/files/integrations/vehicle.rb +7 -0
  17. data/{spec/internal/app → test/files}/models/auto_shop.rb +0 -0
  18. data/{spec/internal/app → test/files}/models/car.rb +2 -0
  19. data/{spec/internal/app → test/files}/models/model_base.rb +0 -0
  20. data/{spec/internal/app → test/files}/models/motorcycle.rb +2 -0
  21. data/{spec/internal/app → test/files}/models/traffic_light.rb +2 -2
  22. data/{spec/internal/app → test/files}/models/vehicle.rb +9 -5
  23. data/test/files/node.rb +5 -0
  24. data/test/files/switch.rb +15 -0
  25. data/test/functional/auto_shop_available_test.rb +20 -0
  26. data/test/functional/auto_shop_busy_test.rb +25 -0
  27. data/test/functional/car_backing_up_test.rb +45 -0
  28. data/test/functional/car_test.rb +49 -0
  29. data/test/functional/motorcycle_test.rb +46 -0
  30. data/test/functional/traffic_light_caution_test.rb +17 -0
  31. data/test/functional/traffic_light_proceed_test.rb +17 -0
  32. data/test/functional/traffic_light_stop_test.rb +26 -0
  33. data/test/functional/vehicle_first_gear_test.rb +42 -0
  34. data/test/functional/vehicle_idling_test.rb +59 -0
  35. data/test/functional/vehicle_locked_test.rb +29 -0
  36. data/test/functional/vehicle_parked_test.rb +53 -0
  37. data/test/functional/vehicle_repaired_test.rb +20 -0
  38. data/test/functional/vehicle_second_gear_test.rb +42 -0
  39. data/test/functional/vehicle_stalled_test.rb +65 -0
  40. data/test/functional/vehicle_test.rb +20 -0
  41. data/test/functional/vehicle_third_gear_test.rb +42 -0
  42. data/test/functional/vehicle_unsaved_test.rb +181 -0
  43. data/test/functional/vehicle_with_event_attributes_test.rb +30 -0
  44. data/test/functional/vehicle_with_parallel_events_test.rb +36 -0
  45. data/test/test_helper.rb +15 -0
  46. data/test/unit/assertions/assert_exclusive_keys_test.rb +22 -0
  47. data/test/unit/assertions/assert_valid_key_test.rb +12 -0
  48. data/test/unit/branch/branch_test.rb +28 -0
  49. data/test/unit/branch/branch_with_conflicting_conditionals_test.rb +27 -0
  50. data/test/unit/branch/branch_with_conflicting_from_requirements_test.rb +8 -0
  51. data/test/unit/branch/branch_with_conflicting_on_requirements_test.rb +8 -0
  52. data/test/unit/branch/branch_with_conflicting_to_requirements_test.rb +8 -0
  53. data/test/unit/branch/branch_with_different_requirements_test.rb +41 -0
  54. data/test/unit/branch/branch_with_except_from_matcher_requirement_test.rb +8 -0
  55. data/test/unit/branch/branch_with_except_from_requirement_test.rb +36 -0
  56. data/test/unit/branch/branch_with_except_on_matcher_requirement_test.rb +8 -0
  57. data/test/unit/branch/branch_with_except_on_requirement_test.rb +36 -0
  58. data/test/unit/branch/branch_with_except_to_matcher_requirement_test.rb +8 -0
  59. data/test/unit/branch/branch_with_except_to_requirement_test.rb +36 -0
  60. data/test/unit/branch/branch_with_from_matcher_requirement_test.rb +20 -0
  61. data/test/unit/branch/branch_with_from_requirement_test.rb +45 -0
  62. data/test/unit/branch/branch_with_if_conditional_test.rb +27 -0
  63. data/test/unit/branch/branch_with_implicit_and_explicit_requirements_test.rb +23 -0
  64. data/test/unit/branch/branch_with_implicit_from_requirement_matcher_test.rb +20 -0
  65. data/test/unit/branch/branch_with_implicit_requirement_test.rb +20 -0
  66. data/test/unit/branch/branch_with_implicit_to_requirement_matcher_test.rb +16 -0
  67. data/test/unit/branch/branch_with_multiple_except_from_requirements_test.rb +20 -0
  68. data/test/unit/branch/branch_with_multiple_except_on_requirements_test.rb +16 -0
  69. data/test/unit/branch/branch_with_multiple_except_to_requirements_test.rb +20 -0
  70. data/test/unit/branch/branch_with_multiple_from_requirements_test.rb +16 -0
  71. data/test/unit/branch/branch_with_multiple_if_conditionals_test.rb +20 -0
  72. data/test/unit/branch/branch_with_multiple_implicit_requirements_test.rb +53 -0
  73. data/test/unit/branch/branch_with_multiple_on_requirements_test.rb +20 -0
  74. data/test/unit/branch/branch_with_multiple_to_requirements_test.rb +20 -0
  75. data/test/unit/branch/branch_with_multiple_unless_conditionals_test.rb +20 -0
  76. data/test/unit/branch/branch_with_nil_requirements_test.rb +28 -0
  77. data/test/unit/branch/branch_with_no_requirements_test.rb +36 -0
  78. data/test/unit/branch/branch_with_on_matcher_requirement_test.rb +16 -0
  79. data/test/unit/branch/branch_with_on_requirement_test.rb +45 -0
  80. data/test/unit/branch/branch_with_to_matcher_requirement_test.rb +20 -0
  81. data/test/unit/branch/branch_with_to_requirement_test.rb +45 -0
  82. data/test/unit/branch/branch_with_unless_conditional_test.rb +27 -0
  83. data/test/unit/branch/branch_without_guards_test.rb +27 -0
  84. data/test/unit/callback/callback_by_default_test.rb +25 -0
  85. data/test/unit/callback/callback_test.rb +53 -0
  86. data/test/unit/callback/callback_with_application_bound_object_test.rb +23 -0
  87. data/test/unit/callback/callback_with_application_terminator_test.rb +24 -0
  88. data/test/unit/callback/callback_with_arguments_test.rb +14 -0
  89. data/test/unit/callback/callback_with_around_type_and_arguments_test.rb +25 -0
  90. data/test/unit/callback/callback_with_around_type_and_block_test.rb +44 -0
  91. data/test/unit/callback/callback_with_around_type_and_bound_method_test.rb +23 -0
  92. data/test/unit/callback/callback_with_around_type_and_multiple_methods_test.rb +93 -0
  93. data/test/unit/callback/callback_with_around_type_and_terminator_test.rb +17 -0
  94. data/test/unit/callback/callback_with_block_test.rb +20 -0
  95. data/test/unit/callback/callback_with_bound_method_and_arguments_test.rb +28 -0
  96. data/test/unit/callback/callback_with_bound_method_test.rb +35 -0
  97. data/test/unit/callback/callback_with_do_method_test.rb +18 -0
  98. data/test/unit/callback/callback_with_explicit_requirements_test.rb +32 -0
  99. data/test/unit/callback/callback_with_if_condition_test.rb +17 -0
  100. data/test/unit/callback/callback_with_implicit_requirements_test.rb +32 -0
  101. data/test/unit/callback/callback_with_method_argument_test.rb +18 -0
  102. data/test/unit/callback/callback_with_mixed_methods_test.rb +31 -0
  103. data/test/unit/callback/callback_with_multiple_bound_methods_test.rb +21 -0
  104. data/test/unit/callback/callback_with_multiple_do_methods_test.rb +29 -0
  105. data/test/unit/callback/callback_with_multiple_method_arguments_test.rb +29 -0
  106. data/test/unit/callback/callback_with_terminator_test.rb +22 -0
  107. data/test/unit/callback/callback_with_unbound_method_test.rb +14 -0
  108. data/test/unit/callback/callback_with_unless_condition_test.rb +17 -0
  109. data/test/unit/callback/callback_without_arguments_test.rb +14 -0
  110. data/test/unit/callback/callback_without_terminator_test.rb +12 -0
  111. data/test/unit/error/error_by_default_test.rb +21 -0
  112. data/test/unit/error/error_with_message_test.rb +23 -0
  113. data/test/unit/eval_helper/eval_helpers_base_test.rb +8 -0
  114. data/test/unit/eval_helper/eval_helpers_proc_block_and_explicit_arguments_test.rb +14 -0
  115. data/test/unit/eval_helper/eval_helpers_proc_block_and_implicit_arguments_test.rb +14 -0
  116. data/test/unit/eval_helper/eval_helpers_proc_test.rb +13 -0
  117. data/test/unit/eval_helper/eval_helpers_proc_with_arguments_test.rb +13 -0
  118. data/test/unit/eval_helper/eval_helpers_proc_with_block_test.rb +13 -0
  119. data/test/unit/eval_helper/eval_helpers_proc_with_block_without_arguments_test.rb +18 -0
  120. data/test/unit/eval_helper/eval_helpers_proc_with_block_without_object_test.rb +14 -0
  121. data/test/unit/eval_helper/eval_helpers_proc_without_arguments_test.rb +19 -0
  122. data/test/unit/eval_helper/eval_helpers_string_test.rb +25 -0
  123. data/test/unit/eval_helper/eval_helpers_string_with_block_test.rb +12 -0
  124. data/test/unit/eval_helper/eval_helpers_symbol_method_missing_test.rb +20 -0
  125. data/test/unit/eval_helper/eval_helpers_symbol_private_test.rb +17 -0
  126. data/test/unit/eval_helper/eval_helpers_symbol_protected_test.rb +17 -0
  127. data/test/unit/eval_helper/eval_helpers_symbol_tainted_method_test.rb +18 -0
  128. data/test/unit/eval_helper/eval_helpers_symbol_test.rb +16 -0
  129. data/test/unit/eval_helper/eval_helpers_symbol_with_arguments_and_block_test.rb +16 -0
  130. data/test/unit/eval_helper/eval_helpers_symbol_with_arguments_test.rb +16 -0
  131. data/test/unit/eval_helper/eval_helpers_symbol_with_block_test.rb +16 -0
  132. data/test/unit/eval_helper/eval_helpers_test.rb +13 -0
  133. data/test/unit/event/event_after_being_copied_test.rb +17 -0
  134. data/test/unit/event/event_by_default_test.rb +60 -0
  135. data/test/unit/event/event_context_test.rb +16 -0
  136. data/test/unit/event/event_on_failure_test.rb +44 -0
  137. data/test/unit/event/event_test.rb +34 -0
  138. data/test/unit/event/event_transitions_test.rb +62 -0
  139. data/test/unit/event/event_with_conflicting_helpers_after_definition_test.rb +79 -0
  140. data/test/unit/event/event_with_conflicting_helpers_before_definition_test.rb +58 -0
  141. data/test/unit/event/event_with_conflicting_machine_test.rb +48 -0
  142. data/test/unit/event/event_with_dynamic_human_name_test.rb +26 -0
  143. data/test/unit/event/event_with_human_name_test.rb +13 -0
  144. data/test/unit/event/event_with_invalid_current_state_test.rb +30 -0
  145. data/test/unit/event/event_with_machine_action_test.rb +33 -0
  146. data/test/unit/event/event_with_marshalling_test.rb +47 -0
  147. data/test/unit/event/event_with_matching_disabled_transitions_test.rb +115 -0
  148. data/test/unit/event/event_with_matching_enabled_transitions_test.rb +75 -0
  149. data/test/unit/event/event_with_multiple_transitions_test.rb +61 -0
  150. data/test/unit/event/event_with_namespace_test.rb +34 -0
  151. data/test/unit/event/event_with_transition_with_blacklisted_to_state_test.rb +60 -0
  152. data/test/unit/event/event_with_transition_with_loopback_state_test.rb +36 -0
  153. data/test/unit/event/event_with_transition_with_nil_to_state_test.rb +36 -0
  154. data/test/unit/event/event_with_transition_with_whitelisted_to_state_test.rb +51 -0
  155. data/test/unit/event/event_with_transition_without_to_state_test.rb +36 -0
  156. data/test/unit/event/event_with_transitions_test.rb +32 -0
  157. data/test/unit/event/event_without_matching_transitions_test.rb +41 -0
  158. data/test/unit/event/event_without_transitions_test.rb +28 -0
  159. data/{spec/state_machines/invalid_event_spec.rb → test/unit/event/invalid_event_test.rb} +8 -7
  160. data/test/unit/event_collection/event_collection_attribute_with_machine_action_test.rb +62 -0
  161. data/test/unit/event_collection/event_collection_attribute_with_namespaced_machine_test.rb +36 -0
  162. data/test/unit/event_collection/event_collection_by_default_test.rb +26 -0
  163. data/test/unit/event_collection/event_collection_test.rb +39 -0
  164. data/test/unit/event_collection/event_collection_with_custom_machine_attribute_test.rb +31 -0
  165. data/test/unit/event_collection/event_collection_with_events_with_transitions_test.rb +76 -0
  166. data/test/unit/event_collection/event_collection_with_multiple_events_test.rb +27 -0
  167. data/test/unit/event_collection/event_collection_with_validations_test.rb +75 -0
  168. data/test/unit/event_collection/event_collection_without_machine_action_test.rb +18 -0
  169. data/test/unit/event_collection/event_string_collection_test.rb +31 -0
  170. data/test/unit/helper_module_test.rb +17 -0
  171. data/test/unit/integrations/integration_finder_test.rb +16 -0
  172. data/test/unit/integrations/integration_matcher_test.rb +27 -0
  173. data/test/unit/invalid_transition/invalid_parallel_transition_test.rb +18 -0
  174. data/test/unit/invalid_transition/invalid_transition_test.rb +47 -0
  175. data/test/unit/invalid_transition/invalid_transition_with_integration_test.rb +47 -0
  176. data/test/unit/invalid_transition/invalid_transition_with_namespace_test.rb +32 -0
  177. data/test/unit/machine/machine_after_being_copied_test.rb +62 -0
  178. data/test/unit/machine/machine_after_changing_initial_state.rb +28 -0
  179. data/test/unit/machine/machine_after_changing_owner_class_test.rb +31 -0
  180. data/test/unit/machine/machine_by_default_test.rb +160 -0
  181. data/test/unit/machine/machine_finder_custom_options_test.rb +17 -0
  182. data/test/unit/machine/machine_finder_with_existing_machine_on_superclass_test.rb +86 -0
  183. data/test/unit/machine/machine_finder_with_existing_on_same_class_test.rb +23 -0
  184. data/test/unit/machine/machine_finder_without_existing_machine_test.rb +25 -0
  185. data/test/unit/machine/machine_persistence_test.rb +52 -0
  186. data/test/unit/machine/machine_state_initialization_test.rb +56 -0
  187. data/test/unit/machine/machine_test.rb +30 -0
  188. data/test/unit/machine/machine_with_action_already_overridden_test.rb +23 -0
  189. data/test/unit/machine/machine_with_action_defined_in_class_test.rb +37 -0
  190. data/test/unit/machine/machine_with_action_defined_in_included_module_test.rb +46 -0
  191. data/test/unit/machine/machine_with_action_defined_in_superclass_test.rb +43 -0
  192. data/test/unit/machine/machine_with_action_undefined_test.rb +33 -0
  193. data/test/unit/machine/machine_with_cached_state_test.rb +20 -0
  194. data/test/unit/machine/machine_with_class_helpers_test.rb +179 -0
  195. data/test/unit/machine/machine_with_conflicting_helpers_after_definition_test.rb +243 -0
  196. data/test/unit/machine/machine_with_conflicting_helpers_before_definition_test.rb +175 -0
  197. data/test/unit/machine/machine_with_custom_action_test.rb +11 -0
  198. data/test/unit/machine/machine_with_custom_attribute_test.rb +103 -0
  199. data/test/unit/machine/machine_with_custom_initialize_test.rb +24 -0
  200. data/test/unit/machine/machine_with_custom_integration_test.rb +69 -0
  201. data/test/unit/machine/machine_with_custom_invalidation_test.rb +40 -0
  202. data/test/unit/machine/machine_with_custom_name_test.rb +57 -0
  203. data/test/unit/machine/machine_with_custom_plural_test.rb +53 -0
  204. data/test/unit/machine/machine_with_dynamic_initial_state_test.rb +65 -0
  205. data/test/unit/machine/machine_with_event_matchers_test.rb +41 -0
  206. data/test/unit/machine/machine_with_events_test.rb +52 -0
  207. data/test/unit/machine/machine_with_events_with_custom_human_names_test.rb +18 -0
  208. data/test/unit/machine/machine_with_events_with_transitions_test.rb +37 -0
  209. data/test/unit/machine/machine_with_existing_event_test.rb +17 -0
  210. data/test/unit/machine/machine_with_existing_machines_on_owner_class_test.rb +20 -0
  211. data/test/unit/machine/machine_with_existing_machines_with_same_attributes_on_owner_class_test.rb +71 -0
  212. data/test/unit/machine/machine_with_existing_machines_with_same_attributes_on_owner_subclass_test.rb +31 -0
  213. data/test/unit/machine/machine_with_existing_state_test.rb +27 -0
  214. data/test/unit/machine/machine_with_failure_callbacks_test.rb +48 -0
  215. data/test/unit/machine/machine_with_helpers_test.rb +14 -0
  216. data/test/unit/machine/machine_with_initial_state_with_value_and_owner_default.rb +25 -0
  217. data/test/unit/machine/machine_with_initialize_and_super_test.rb +17 -0
  218. data/test/unit/machine/machine_with_initialize_arguments_and_block_test.rb +31 -0
  219. data/test/unit/machine/machine_with_initialize_without_super_test.rb +17 -0
  220. data/test/unit/machine/machine_with_instance_helpers_test.rb +179 -0
  221. data/test/unit/machine/machine_with_integration_test.rb +71 -0
  222. data/test/unit/machine/machine_with_multiple_events_test.rb +32 -0
  223. data/test/unit/machine/machine_with_namespace_test.rb +48 -0
  224. data/test/unit/machine/machine_with_nil_action_test.rb +24 -0
  225. data/test/unit/machine/machine_with_other_states.rb +22 -0
  226. data/test/unit/machine/machine_with_owner_subclass_test.rb +18 -0
  227. data/test/unit/machine/machine_with_paths_test.rb +25 -0
  228. data/test/unit/machine/machine_with_private_action_test.rb +43 -0
  229. data/test/unit/machine/machine_with_state_matchers_test.rb +41 -0
  230. data/test/unit/machine/machine_with_state_with_matchers_test.rb +19 -0
  231. data/test/unit/machine/machine_with_states_test.rb +55 -0
  232. data/test/unit/machine/machine_with_states_with_behaviors_test.rb +23 -0
  233. data/test/unit/machine/machine_with_states_with_custom_human_names_test.rb +18 -0
  234. data/test/unit/machine/machine_with_states_with_custom_values_test.rb +21 -0
  235. data/test/unit/machine/machine_with_states_with_runtime_dependencies_test.rb +19 -0
  236. data/test/unit/machine/machine_with_static_initial_state_test.rb +60 -0
  237. data/test/unit/machine/machine_with_superclass_conflicting_helpers_after_definition_test.rb +36 -0
  238. data/test/unit/machine/machine_with_transition_callbacks_test.rb +144 -0
  239. data/test/unit/machine/machine_with_transitions_test.rb +87 -0
  240. data/test/unit/machine/machine_without_initialization_test.rb +31 -0
  241. data/test/unit/machine/machine_without_initialize_test.rb +14 -0
  242. data/test/unit/machine/machine_without_integration_test.rb +31 -0
  243. data/test/unit/machine_collection/machine_collection_by_default_test.rb +11 -0
  244. data/test/unit/machine_collection/machine_collection_fire_attributes_with_validations_test.rb +72 -0
  245. data/test/unit/machine_collection/machine_collection_fire_test.rb +80 -0
  246. data/test/unit/machine_collection/machine_collection_fire_with_transactions_test.rb +54 -0
  247. data/test/unit/machine_collection/machine_collection_fire_with_validations_test.rb +76 -0
  248. data/test/unit/machine_collection/machine_collection_state_initialization_test.rb +101 -0
  249. data/test/unit/machine_collection/machine_collection_transitions_with_blank_events_test.rb +25 -0
  250. data/test/unit/machine_collection/machine_collection_transitions_with_custom_options_test.rb +20 -0
  251. data/test/unit/machine_collection/machine_collection_transitions_with_different_actions_test.rb +26 -0
  252. data/test/unit/machine_collection/machine_collection_transitions_with_exisiting_transitions_test.rb +25 -0
  253. data/test/unit/machine_collection/machine_collection_transitions_with_invalid_events_test.rb +25 -0
  254. data/test/unit/machine_collection/machine_collection_transitions_with_same_actions_test.rb +31 -0
  255. data/test/unit/machine_collection/machine_collection_transitions_with_transition_test.rb +26 -0
  256. data/test/unit/machine_collection/machine_collection_transitions_without_events_test.rb +25 -0
  257. data/test/unit/machine_collection/machine_collection_transitions_without_transition_test.rb +27 -0
  258. data/test/unit/matcher/all_matcher_test.rb +29 -0
  259. data/test/unit/matcher/blacklist_matcher_test.rb +30 -0
  260. data/test/unit/matcher/loopback_matcher_test.rb +27 -0
  261. data/test/unit/matcher/matcher_by_default_test.rb +15 -0
  262. data/test/unit/matcher/matcher_with_multiple_values_test.rb +15 -0
  263. data/test/unit/matcher/matcher_with_value_test.rb +15 -0
  264. data/test/unit/matcher/whitelist_matcher_test.rb +30 -0
  265. data/test/unit/matcher_helpers/matcher_helpers_all_test.rb +14 -0
  266. data/test/unit/matcher_helpers/matcher_helpers_any_test.rb +14 -0
  267. data/test/unit/matcher_helpers/matcher_helpers_same_test.rb +13 -0
  268. data/test/unit/node_collection/node_collection_after_being_copied_test/n.rb +46 -0
  269. data/test/unit/node_collection/node_collection_after_update_test/n.rb +36 -0
  270. data/test/unit/node_collection/node_collection_by_default_test.rb +22 -0
  271. data/test/unit/node_collection/node_collection_test.rb +23 -0
  272. data/test/unit/node_collection/node_collection_with_indices_test/n.rb +42 -0
  273. data/test/unit/node_collection/node_collection_with_matcher_contexts_test.rb +25 -0
  274. data/test/unit/node_collection/node_collection_with_nodes_test/n.rb +46 -0
  275. data/test/unit/node_collection/node_collection_with_numeric_index_test/n.rb +24 -0
  276. data/test/unit/node_collection/node_collection_with_postdefined_contexts_test/n.rb +22 -0
  277. data/test/unit/node_collection/node_collection_with_predefined_contexts_test/n.rb +23 -0
  278. data/test/unit/node_collection/node_collection_with_string_index_test/n.rb +20 -0
  279. data/test/unit/node_collection/node_collection_with_symbol_index_test/n.rb +20 -0
  280. data/test/unit/node_collection/node_collection_without_indices_test/n.rb +30 -0
  281. data/test/unit/path/path_by_default_test.rb +54 -0
  282. data/test/unit/path/path_test.rb +14 -0
  283. data/test/unit/path/path_with_available_transitions_after_reaching_target_test.rb +40 -0
  284. data/test/unit/path/path_with_available_transitions_test.rb +54 -0
  285. data/test/unit/path/path_with_deep_target_reached_test.rb +50 -0
  286. data/test/unit/path/path_with_deep_target_test.rb +40 -0
  287. data/test/unit/path/path_with_duplicates_test.rb +32 -0
  288. data/test/unit/path/path_with_encountered_transitions_test.rb +34 -0
  289. data/test/unit/path/path_with_guarded_transitions_test.rb +42 -0
  290. data/test/unit/path/path_with_reached_target_test.rb +35 -0
  291. data/test/unit/path/path_with_transitions_test.rb +54 -0
  292. data/test/unit/path/path_with_unreached_target_test.rb +31 -0
  293. data/test/unit/path/path_without_transitions_test.rb +24 -0
  294. data/test/unit/path_collection/path_collection_by_default_test.rb +46 -0
  295. data/test/unit/path_collection/path_collection_test.rb +24 -0
  296. data/test/unit/path_collection/path_collection_with_deep_paths_test.rb +43 -0
  297. data/test/unit/path_collection/path_collection_with_duplicate_nodes_test.rb +31 -0
  298. data/test/unit/path_collection/path_collection_with_from_state_test.rb +27 -0
  299. data/test/unit/path_collection/path_collection_with_paths_test.rb +47 -0
  300. data/test/unit/path_collection/path_collection_with_to_state_test.rb +29 -0
  301. data/test/unit/path_collection/path_with_guarded_paths_test.rb +25 -0
  302. data/test/unit/state/state_after_being_copied_test.rb +19 -0
  303. data/test/unit/state/state_by_default_test.rb +41 -0
  304. data/test/unit/state/state_final_test.rb +28 -0
  305. data/test/unit/state/state_initial_test.rb +13 -0
  306. data/test/unit/state/state_not_final_test.rb +32 -0
  307. data/test/unit/state/state_not_initial_test.rb +13 -0
  308. data/test/unit/state/state_test.rb +44 -0
  309. data/test/unit/state/state_with_cached_lambda_value_test.rb +29 -0
  310. data/test/unit/state/state_with_conflicting_helpers_after_definition_test.rb +38 -0
  311. data/test/unit/state/state_with_conflicting_helpers_before_definition_test.rb +29 -0
  312. data/test/unit/state/state_with_conflicting_machine_name_test.rb +20 -0
  313. data/test/unit/state/state_with_conflicting_machine_test.rb +37 -0
  314. data/test/unit/state/state_with_context_test.rb +60 -0
  315. data/test/unit/state/state_with_dynamic_human_name_test.rb +25 -0
  316. data/test/unit/state/state_with_existing_context_method_test.rb +24 -0
  317. data/test/unit/state/state_with_human_name_test.rb +13 -0
  318. data/test/unit/state/state_with_integer_value_test.rb +32 -0
  319. data/test/unit/state/state_with_invalid_method_call_test.rb +21 -0
  320. data/test/unit/state/state_with_lambda_value_test.rb +37 -0
  321. data/test/unit/state/state_with_matcher_test.rb +18 -0
  322. data/test/unit/state/state_with_multiple_contexts_test.rb +57 -0
  323. data/test/unit/state/state_with_name_test.rb +43 -0
  324. data/test/unit/state/state_with_namespace_test.rb +22 -0
  325. data/test/unit/state/state_with_nil_value_test.rb +35 -0
  326. data/test/unit/state/state_with_redefined_context_method_test.rb +45 -0
  327. data/test/unit/state/state_with_symbolic_value_test.rb +32 -0
  328. data/test/unit/state/state_with_valid_inherited_method_call_for_current_state_test.rb +40 -0
  329. data/test/unit/state/state_with_valid_method_call_for_current_state_test.rb +33 -0
  330. data/test/unit/state/state_with_valid_method_call_for_different_state_test.rb +41 -0
  331. data/test/unit/state/state_without_cached_lambda_value_test.rb +25 -0
  332. data/test/unit/state/state_without_name_test.rb +39 -0
  333. data/test/unit/state_collection/state_collection_by_default_test.rb +21 -0
  334. data/test/unit/state_collection/state_collection_string_test.rb +35 -0
  335. data/test/unit/state_collection/state_collection_test.rb +74 -0
  336. data/test/unit/state_collection/state_collection_with_custom_state_values_test.rb +29 -0
  337. data/test/unit/state_collection/state_collection_with_event_transitions_test.rb +39 -0
  338. data/test/unit/state_collection/state_collection_with_initial_state_test.rb +40 -0
  339. data/test/unit/state_collection/state_collection_with_namespace_test.rb +21 -0
  340. data/test/unit/state_collection/state_collection_with_state_behaviors_test.rb +40 -0
  341. data/test/unit/state_collection/state_collection_with_state_matchers_test.rb +29 -0
  342. data/test/unit/state_collection/state_collection_with_transition_callbacks_test.rb +40 -0
  343. data/test/unit/state_context/state_context_proxy_test.rb +26 -0
  344. data/test/unit/state_context/state_context_proxy_with_if_and_unless_conditions_test.rb +42 -0
  345. data/test/unit/state_context/state_context_proxy_with_if_condition_test.rb +64 -0
  346. data/test/unit/state_context/state_context_proxy_with_multiple_if_conditions_test.rb +32 -0
  347. data/test/unit/state_context/state_context_proxy_with_multiple_unless_conditions_test.rb +32 -0
  348. data/test/unit/state_context/state_context_proxy_with_unless_condition_test.rb +64 -0
  349. data/test/unit/state_context/state_context_proxy_without_conditions_test.rb +31 -0
  350. data/test/unit/state_context/state_context_test.rb +28 -0
  351. data/test/unit/state_context/state_context_transition_test.rb +104 -0
  352. data/test/unit/state_context/state_context_with_matching_transition_test.rb +27 -0
  353. data/test/unit/state_machine/state_machine_by_default_test.rb +12 -0
  354. data/test/unit/state_machine/state_machine_test.rb +20 -0
  355. data/test/unit/transition/transition_after_being_performed_test.rb +48 -0
  356. data/test/unit/transition/transition_after_being_persisted_test.rb +46 -0
  357. data/test/unit/transition/transition_after_being_rolled_back_test.rb +35 -0
  358. data/test/unit/transition/transition_equality_test.rb +52 -0
  359. data/test/unit/transition/transition_loopback_test.rb +18 -0
  360. data/test/unit/transition/transition_test.rb +96 -0
  361. data/test/unit/transition/transition_transient_test.rb +20 -0
  362. data/test/unit/transition/transition_with_action_test.rb +27 -0
  363. data/test/unit/transition/transition_with_after_callbacks_skipped_test.rb +127 -0
  364. data/test/unit/transition/transition_with_after_callbacks_test.rb +93 -0
  365. data/test/unit/transition/transition_with_around_callbacks_test.rb +141 -0
  366. data/test/unit/transition/transition_with_before_callbacks_skipped_test.rb +30 -0
  367. data/test/unit/transition/transition_with_before_callbacks_test.rb +104 -0
  368. data/test/unit/transition/transition_with_custom_machine_attribute_test.rb +28 -0
  369. data/test/unit/transition/transition_with_different_states_test.rb +18 -0
  370. data/test/unit/transition/transition_with_dynamic_to_value_test.rb +19 -0
  371. data/test/unit/transition/transition_with_failure_callbacks_test.rb +84 -0
  372. data/test/unit/transition/transition_with_invalid_nodes_test.rb +29 -0
  373. data/test/unit/transition/transition_with_mixed_callbacks_test.rb +105 -0
  374. data/test/unit/transition/transition_with_multiple_after_callbacks_test.rb +40 -0
  375. data/test/unit/transition/transition_with_multiple_around_callbacks_test.rb +114 -0
  376. data/test/unit/transition/transition_with_multiple_before_callbacks_test.rb +40 -0
  377. data/test/unit/transition/transition_with_multiple_failure_callbacks_test.rb +40 -0
  378. data/test/unit/transition/transition_with_namespace_test.rb +47 -0
  379. data/test/unit/transition/transition_with_perform_arguments_test.rb +35 -0
  380. data/test/unit/transition/transition_with_transactions_test.rb +42 -0
  381. data/test/unit/transition/transition_without_callbacks_test.rb +33 -0
  382. data/test/unit/transition/transition_without_reading_state_test.rb +22 -0
  383. data/test/unit/transition/transition_without_running_action_test.rb +47 -0
  384. data/test/unit/transition_collection/attribute_transition_collection_by_default_test.rb +23 -0
  385. data/test/unit/transition_collection/attribute_transition_collection_marshalling_test.rb +64 -0
  386. data/test/unit/transition_collection/attribute_transition_collection_with_action_error_test.rb +44 -0
  387. data/test/unit/transition_collection/attribute_transition_collection_with_action_failed_test.rb +44 -0
  388. data/test/unit/transition_collection/attribute_transition_collection_with_after_callback_error_test.rb +32 -0
  389. data/test/unit/transition_collection/attribute_transition_collection_with_after_callback_halt_test.rb +33 -0
  390. data/test/unit/transition_collection/attribute_transition_collection_with_around_after_yield_callback_error_test.rb +32 -0
  391. data/test/unit/transition_collection/attribute_transition_collection_with_around_callback_after_yield_error_test.rb +32 -0
  392. data/test/unit/transition_collection/attribute_transition_collection_with_around_callback_after_yield_halt_test.rb +33 -0
  393. data/test/unit/transition_collection/attribute_transition_collection_with_around_callback_before_yield_halt_test.rb +33 -0
  394. data/test/unit/transition_collection/attribute_transition_collection_with_before_callback_error_test.rb +32 -0
  395. data/test/unit/transition_collection/attribute_transition_collection_with_before_callback_halt_test.rb +33 -0
  396. data/test/unit/transition_collection/attribute_transition_collection_with_callbacks_test.rb +68 -0
  397. data/test/unit/transition_collection/attribute_transition_collection_with_event_transitions_test.rb +41 -0
  398. data/test/unit/transition_collection/attribute_transition_collection_with_events_test.rb +44 -0
  399. data/test/unit/transition_collection/attribute_transition_collection_with_skipped_after_callbacks_test.rb +42 -0
  400. data/test/unit/transition_collection/transition_collection_by_default_test.rb +23 -0
  401. data/test/unit/transition_collection/transition_collection_empty_with_block_test.rb +23 -0
  402. data/test/unit/transition_collection/transition_collection_empty_without_block_test.rb +12 -0
  403. data/test/unit/transition_collection/transition_collection_invalid_test.rb +21 -0
  404. data/test/unit/transition_collection/transition_collection_partial_invalid_test.rb +69 -0
  405. data/test/unit/transition_collection/transition_collection_test.rb +26 -0
  406. data/test/unit/transition_collection/transition_collection_valid_test.rb +57 -0
  407. data/test/unit/transition_collection/transition_collection_with_action_error_test.rb +66 -0
  408. data/test/unit/transition_collection/transition_collection_with_action_failed_test.rb +60 -0
  409. data/test/unit/transition_collection/transition_collection_with_action_hook_and_block_test.rb +17 -0
  410. data/test/unit/transition_collection/transition_collection_with_action_hook_and_skipped_action_test.rb +17 -0
  411. data/test/unit/transition_collection/transition_collection_with_action_hook_and_skipped_after_callbacks_test.rb +37 -0
  412. data/test/unit/transition_collection/transition_collection_with_action_hook_base_test.rb +34 -0
  413. data/test/unit/transition_collection/transition_collection_with_action_hook_error_test.rb +29 -0
  414. data/test/unit/transition_collection/transition_collection_with_action_hook_invalid_test.rb +17 -0
  415. data/test/unit/transition_collection/transition_collection_with_action_hook_multiple_test.rb +79 -0
  416. data/test/unit/transition_collection/transition_collection_with_action_hook_test.rb +45 -0
  417. data/test/unit/transition_collection/transition_collection_with_action_hook_with_different_actions_test.rb +48 -0
  418. data/test/unit/transition_collection/transition_collection_with_action_hook_with_nil_action_test.rb +42 -0
  419. data/test/unit/transition_collection/transition_collection_with_after_callback_halt_test.rb +51 -0
  420. data/test/unit/transition_collection/transition_collection_with_before_callback_halt_test.rb +47 -0
  421. data/test/unit/transition_collection/transition_collection_with_block_test.rb +46 -0
  422. data/test/unit/transition_collection/transition_collection_with_callbacks_test.rb +135 -0
  423. data/test/unit/transition_collection/transition_collection_with_different_actions_test.rb +189 -0
  424. data/test/unit/transition_collection/transition_collection_with_duplicate_actions_test.rb +48 -0
  425. data/test/unit/transition_collection/transition_collection_with_empty_actions_test.rb +41 -0
  426. data/test/unit/transition_collection/transition_collection_with_mixed_actions_test.rb +41 -0
  427. data/test/unit/transition_collection/transition_collection_with_skipped_actions_and_block_test.rb +34 -0
  428. data/test/unit/transition_collection/transition_collection_with_skipped_actions_test.rb +69 -0
  429. data/test/unit/transition_collection/transition_collection_with_skipped_after_callbacks_and_around_callbacks_test.rb +53 -0
  430. data/test/unit/transition_collection/transition_collection_with_skipped_after_callbacks_test.rb +34 -0
  431. data/test/unit/transition_collection/transition_collection_with_transactions_test.rb +65 -0
  432. data/test/unit/transition_collection/transition_collection_without_transactions_test.rb +29 -0
  433. metadata +888 -101
  434. data/spec/models/auto_shop_spec.rb +0 -41
  435. data/spec/models/car_spec.rb +0 -90
  436. data/spec/models/motorcycle_spec.rb +0 -44
  437. data/spec/models/traffic_light_spec.rb +0 -56
  438. data/spec/models/vehicle_spec.rb +0 -580
  439. data/spec/spec_helper.rb +0 -7
  440. data/spec/state_machines/assertions_spec.rb +0 -31
  441. data/spec/state_machines/branch_spec.rb +0 -827
  442. data/spec/state_machines/callbacks_spec.rb +0 -706
  443. data/spec/state_machines/errors_spec.rb +0 -1
  444. data/spec/state_machines/event_collection_spec.rb +0 -401
  445. data/spec/state_machines/event_spec.rb +0 -1140
  446. data/spec/state_machines/helper_spec.rb +0 -14
  447. data/spec/state_machines/integration_base_spec.rb +0 -12
  448. data/spec/state_machines/integration_spec.rb +0 -132
  449. data/spec/state_machines/invalid_parallel_transition_spec.rb +0 -18
  450. data/spec/state_machines/invalid_transition_spec.rb +0 -114
  451. data/spec/state_machines/machine_collection_spec.rb +0 -606
  452. data/spec/state_machines/machine_spec.rb +0 -3176
  453. data/spec/state_machines/matcher_helpers_spec.rb +0 -39
  454. data/spec/state_machines/matcher_spec.rb +0 -157
  455. data/spec/state_machines/node_collection_spec.rb +0 -371
  456. data/spec/state_machines/path_collection_spec.rb +0 -271
  457. data/spec/state_machines/path_spec.rb +0 -488
  458. data/spec/state_machines/state_collection_spec.rb +0 -352
  459. data/spec/state_machines/state_context_spec.rb +0 -442
  460. data/spec/state_machines/state_machine_spec.rb +0 -29
  461. data/spec/state_machines/state_spec.rb +0 -970
  462. data/spec/state_machines/transition_collection_spec.rb +0 -2199
  463. data/spec/state_machines/transition_spec.rb +0 -1558
  464. data/spec/support/migration_helpers.rb +0 -59
  465. data/spec/support/models.rb +0 -6
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: state_machines
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Abdelkader Boudih
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-05-03 00:00:00.000000000 Z
12
+ date: 2015-01-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: '0'
20
+ version: 1.7.6
21
21
  type: :development
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - ">="
26
26
  - !ruby/object:Gem::Version
27
- version: '0'
27
+ version: 1.7.6
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rake
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -40,36 +40,23 @@ dependencies:
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0'
42
42
  - !ruby/object:Gem::Dependency
43
- name: rspec
44
- requirement: !ruby/object:Gem::Requirement
45
- requirements:
46
- - - '='
47
- - !ruby/object:Gem::Version
48
- version: 3.0.0.beta2
49
- type: :development
50
- prerelease: false
51
- version_requirements: !ruby/object:Gem::Requirement
52
- requirements:
53
- - - '='
54
- - !ruby/object:Gem::Version
55
- version: 3.0.0.beta2
56
- - !ruby/object:Gem::Dependency
57
- name: rspec-its
43
+ name: minitest
58
44
  requirement: !ruby/object:Gem::Requirement
59
45
  requirements:
60
46
  - - ">="
61
47
  - !ruby/object:Gem::Version
62
- version: '0'
48
+ version: '5.4'
63
49
  type: :development
64
50
  prerelease: false
65
51
  version_requirements: !ruby/object:Gem::Requirement
66
52
  requirements:
67
53
  - - ">="
68
54
  - !ruby/object:Gem::Version
69
- version: '0'
55
+ version: '5.4'
70
56
  description: Adds support for creating state machines for attributes on any Ruby class
71
57
  email:
72
58
  - terminale@gmail.com
59
+ - aaron@pluginaweek.org
73
60
  executables: []
74
61
  extensions: []
75
62
  extra_rdoc_files: []
@@ -77,10 +64,12 @@ files:
77
64
  - ".gitignore"
78
65
  - ".rspec"
79
66
  - ".travis.yml"
67
+ - Changelog.md
80
68
  - Gemfile
81
69
  - LICENSE.txt
82
70
  - README.md
83
71
  - Rakefile
72
+ - Testing.md
84
73
  - lib/state_machines.rb
85
74
  - lib/state_machines/assertions.rb
86
75
  - lib/state_machines/branch.rb
@@ -110,47 +99,446 @@ files:
110
99
  - lib/state_machines/transition.rb
111
100
  - lib/state_machines/transition_collection.rb
112
101
  - lib/state_machines/version.rb
113
- - spec/internal/app/models/auto_shop.rb
114
- - spec/internal/app/models/car.rb
115
- - spec/internal/app/models/model_base.rb
116
- - spec/internal/app/models/motorcycle.rb
117
- - spec/internal/app/models/traffic_light.rb
118
- - spec/internal/app/models/vehicle.rb
119
- - spec/models/auto_shop_spec.rb
120
- - spec/models/car_spec.rb
121
- - spec/models/motorcycle_spec.rb
122
- - spec/models/traffic_light_spec.rb
123
- - spec/models/vehicle_spec.rb
124
- - spec/spec_helper.rb
125
- - spec/state_machines/assertions_spec.rb
126
- - spec/state_machines/branch_spec.rb
127
- - spec/state_machines/callbacks_spec.rb
128
- - spec/state_machines/errors_spec.rb
129
- - spec/state_machines/event_collection_spec.rb
130
- - spec/state_machines/event_spec.rb
131
- - spec/state_machines/helper_spec.rb
132
- - spec/state_machines/integration_base_spec.rb
133
- - spec/state_machines/integration_spec.rb
134
- - spec/state_machines/invalid_event_spec.rb
135
- - spec/state_machines/invalid_parallel_transition_spec.rb
136
- - spec/state_machines/invalid_transition_spec.rb
137
- - spec/state_machines/machine_collection_spec.rb
138
- - spec/state_machines/machine_spec.rb
139
- - spec/state_machines/matcher_helpers_spec.rb
140
- - spec/state_machines/matcher_spec.rb
141
- - spec/state_machines/node_collection_spec.rb
142
- - spec/state_machines/path_collection_spec.rb
143
- - spec/state_machines/path_spec.rb
144
- - spec/state_machines/state_collection_spec.rb
145
- - spec/state_machines/state_context_spec.rb
146
- - spec/state_machines/state_machine_spec.rb
147
- - spec/state_machines/state_spec.rb
148
- - spec/state_machines/transition_collection_spec.rb
149
- - spec/state_machines/transition_spec.rb
150
- - spec/support/migration_helpers.rb
151
- - spec/support/models.rb
152
102
  - state_machines.gemspec
153
- homepage: https://github.com/seuros/state_machines
103
+ - test/files/integrations/event_on_failure_integration.rb
104
+ - test/files/integrations/vehicle.rb
105
+ - test/files/models/auto_shop.rb
106
+ - test/files/models/car.rb
107
+ - test/files/models/model_base.rb
108
+ - test/files/models/motorcycle.rb
109
+ - test/files/models/traffic_light.rb
110
+ - test/files/models/vehicle.rb
111
+ - test/files/node.rb
112
+ - test/files/switch.rb
113
+ - test/functional/auto_shop_available_test.rb
114
+ - test/functional/auto_shop_busy_test.rb
115
+ - test/functional/car_backing_up_test.rb
116
+ - test/functional/car_test.rb
117
+ - test/functional/motorcycle_test.rb
118
+ - test/functional/traffic_light_caution_test.rb
119
+ - test/functional/traffic_light_proceed_test.rb
120
+ - test/functional/traffic_light_stop_test.rb
121
+ - test/functional/vehicle_first_gear_test.rb
122
+ - test/functional/vehicle_idling_test.rb
123
+ - test/functional/vehicle_locked_test.rb
124
+ - test/functional/vehicle_parked_test.rb
125
+ - test/functional/vehicle_repaired_test.rb
126
+ - test/functional/vehicle_second_gear_test.rb
127
+ - test/functional/vehicle_stalled_test.rb
128
+ - test/functional/vehicle_test.rb
129
+ - test/functional/vehicle_third_gear_test.rb
130
+ - test/functional/vehicle_unsaved_test.rb
131
+ - test/functional/vehicle_with_event_attributes_test.rb
132
+ - test/functional/vehicle_with_parallel_events_test.rb
133
+ - test/test_helper.rb
134
+ - test/unit/assertions/assert_exclusive_keys_test.rb
135
+ - test/unit/assertions/assert_valid_key_test.rb
136
+ - test/unit/branch/branch_test.rb
137
+ - test/unit/branch/branch_with_conflicting_conditionals_test.rb
138
+ - test/unit/branch/branch_with_conflicting_from_requirements_test.rb
139
+ - test/unit/branch/branch_with_conflicting_on_requirements_test.rb
140
+ - test/unit/branch/branch_with_conflicting_to_requirements_test.rb
141
+ - test/unit/branch/branch_with_different_requirements_test.rb
142
+ - test/unit/branch/branch_with_except_from_matcher_requirement_test.rb
143
+ - test/unit/branch/branch_with_except_from_requirement_test.rb
144
+ - test/unit/branch/branch_with_except_on_matcher_requirement_test.rb
145
+ - test/unit/branch/branch_with_except_on_requirement_test.rb
146
+ - test/unit/branch/branch_with_except_to_matcher_requirement_test.rb
147
+ - test/unit/branch/branch_with_except_to_requirement_test.rb
148
+ - test/unit/branch/branch_with_from_matcher_requirement_test.rb
149
+ - test/unit/branch/branch_with_from_requirement_test.rb
150
+ - test/unit/branch/branch_with_if_conditional_test.rb
151
+ - test/unit/branch/branch_with_implicit_and_explicit_requirements_test.rb
152
+ - test/unit/branch/branch_with_implicit_from_requirement_matcher_test.rb
153
+ - test/unit/branch/branch_with_implicit_requirement_test.rb
154
+ - test/unit/branch/branch_with_implicit_to_requirement_matcher_test.rb
155
+ - test/unit/branch/branch_with_multiple_except_from_requirements_test.rb
156
+ - test/unit/branch/branch_with_multiple_except_on_requirements_test.rb
157
+ - test/unit/branch/branch_with_multiple_except_to_requirements_test.rb
158
+ - test/unit/branch/branch_with_multiple_from_requirements_test.rb
159
+ - test/unit/branch/branch_with_multiple_if_conditionals_test.rb
160
+ - test/unit/branch/branch_with_multiple_implicit_requirements_test.rb
161
+ - test/unit/branch/branch_with_multiple_on_requirements_test.rb
162
+ - test/unit/branch/branch_with_multiple_to_requirements_test.rb
163
+ - test/unit/branch/branch_with_multiple_unless_conditionals_test.rb
164
+ - test/unit/branch/branch_with_nil_requirements_test.rb
165
+ - test/unit/branch/branch_with_no_requirements_test.rb
166
+ - test/unit/branch/branch_with_on_matcher_requirement_test.rb
167
+ - test/unit/branch/branch_with_on_requirement_test.rb
168
+ - test/unit/branch/branch_with_to_matcher_requirement_test.rb
169
+ - test/unit/branch/branch_with_to_requirement_test.rb
170
+ - test/unit/branch/branch_with_unless_conditional_test.rb
171
+ - test/unit/branch/branch_without_guards_test.rb
172
+ - test/unit/callback/callback_by_default_test.rb
173
+ - test/unit/callback/callback_test.rb
174
+ - test/unit/callback/callback_with_application_bound_object_test.rb
175
+ - test/unit/callback/callback_with_application_terminator_test.rb
176
+ - test/unit/callback/callback_with_arguments_test.rb
177
+ - test/unit/callback/callback_with_around_type_and_arguments_test.rb
178
+ - test/unit/callback/callback_with_around_type_and_block_test.rb
179
+ - test/unit/callback/callback_with_around_type_and_bound_method_test.rb
180
+ - test/unit/callback/callback_with_around_type_and_multiple_methods_test.rb
181
+ - test/unit/callback/callback_with_around_type_and_terminator_test.rb
182
+ - test/unit/callback/callback_with_block_test.rb
183
+ - test/unit/callback/callback_with_bound_method_and_arguments_test.rb
184
+ - test/unit/callback/callback_with_bound_method_test.rb
185
+ - test/unit/callback/callback_with_do_method_test.rb
186
+ - test/unit/callback/callback_with_explicit_requirements_test.rb
187
+ - test/unit/callback/callback_with_if_condition_test.rb
188
+ - test/unit/callback/callback_with_implicit_requirements_test.rb
189
+ - test/unit/callback/callback_with_method_argument_test.rb
190
+ - test/unit/callback/callback_with_mixed_methods_test.rb
191
+ - test/unit/callback/callback_with_multiple_bound_methods_test.rb
192
+ - test/unit/callback/callback_with_multiple_do_methods_test.rb
193
+ - test/unit/callback/callback_with_multiple_method_arguments_test.rb
194
+ - test/unit/callback/callback_with_terminator_test.rb
195
+ - test/unit/callback/callback_with_unbound_method_test.rb
196
+ - test/unit/callback/callback_with_unless_condition_test.rb
197
+ - test/unit/callback/callback_without_arguments_test.rb
198
+ - test/unit/callback/callback_without_terminator_test.rb
199
+ - test/unit/error/error_by_default_test.rb
200
+ - test/unit/error/error_with_message_test.rb
201
+ - test/unit/eval_helper/eval_helpers_base_test.rb
202
+ - test/unit/eval_helper/eval_helpers_proc_block_and_explicit_arguments_test.rb
203
+ - test/unit/eval_helper/eval_helpers_proc_block_and_implicit_arguments_test.rb
204
+ - test/unit/eval_helper/eval_helpers_proc_test.rb
205
+ - test/unit/eval_helper/eval_helpers_proc_with_arguments_test.rb
206
+ - test/unit/eval_helper/eval_helpers_proc_with_block_test.rb
207
+ - test/unit/eval_helper/eval_helpers_proc_with_block_without_arguments_test.rb
208
+ - test/unit/eval_helper/eval_helpers_proc_with_block_without_object_test.rb
209
+ - test/unit/eval_helper/eval_helpers_proc_without_arguments_test.rb
210
+ - test/unit/eval_helper/eval_helpers_string_test.rb
211
+ - test/unit/eval_helper/eval_helpers_string_with_block_test.rb
212
+ - test/unit/eval_helper/eval_helpers_symbol_method_missing_test.rb
213
+ - test/unit/eval_helper/eval_helpers_symbol_private_test.rb
214
+ - test/unit/eval_helper/eval_helpers_symbol_protected_test.rb
215
+ - test/unit/eval_helper/eval_helpers_symbol_tainted_method_test.rb
216
+ - test/unit/eval_helper/eval_helpers_symbol_test.rb
217
+ - test/unit/eval_helper/eval_helpers_symbol_with_arguments_and_block_test.rb
218
+ - test/unit/eval_helper/eval_helpers_symbol_with_arguments_test.rb
219
+ - test/unit/eval_helper/eval_helpers_symbol_with_block_test.rb
220
+ - test/unit/eval_helper/eval_helpers_test.rb
221
+ - test/unit/event/event_after_being_copied_test.rb
222
+ - test/unit/event/event_by_default_test.rb
223
+ - test/unit/event/event_context_test.rb
224
+ - test/unit/event/event_on_failure_test.rb
225
+ - test/unit/event/event_test.rb
226
+ - test/unit/event/event_transitions_test.rb
227
+ - test/unit/event/event_with_conflicting_helpers_after_definition_test.rb
228
+ - test/unit/event/event_with_conflicting_helpers_before_definition_test.rb
229
+ - test/unit/event/event_with_conflicting_machine_test.rb
230
+ - test/unit/event/event_with_dynamic_human_name_test.rb
231
+ - test/unit/event/event_with_human_name_test.rb
232
+ - test/unit/event/event_with_invalid_current_state_test.rb
233
+ - test/unit/event/event_with_machine_action_test.rb
234
+ - test/unit/event/event_with_marshalling_test.rb
235
+ - test/unit/event/event_with_matching_disabled_transitions_test.rb
236
+ - test/unit/event/event_with_matching_enabled_transitions_test.rb
237
+ - test/unit/event/event_with_multiple_transitions_test.rb
238
+ - test/unit/event/event_with_namespace_test.rb
239
+ - test/unit/event/event_with_transition_with_blacklisted_to_state_test.rb
240
+ - test/unit/event/event_with_transition_with_loopback_state_test.rb
241
+ - test/unit/event/event_with_transition_with_nil_to_state_test.rb
242
+ - test/unit/event/event_with_transition_with_whitelisted_to_state_test.rb
243
+ - test/unit/event/event_with_transition_without_to_state_test.rb
244
+ - test/unit/event/event_with_transitions_test.rb
245
+ - test/unit/event/event_without_matching_transitions_test.rb
246
+ - test/unit/event/event_without_transitions_test.rb
247
+ - test/unit/event/invalid_event_test.rb
248
+ - test/unit/event_collection/event_collection_attribute_with_machine_action_test.rb
249
+ - test/unit/event_collection/event_collection_attribute_with_namespaced_machine_test.rb
250
+ - test/unit/event_collection/event_collection_by_default_test.rb
251
+ - test/unit/event_collection/event_collection_test.rb
252
+ - test/unit/event_collection/event_collection_with_custom_machine_attribute_test.rb
253
+ - test/unit/event_collection/event_collection_with_events_with_transitions_test.rb
254
+ - test/unit/event_collection/event_collection_with_multiple_events_test.rb
255
+ - test/unit/event_collection/event_collection_with_validations_test.rb
256
+ - test/unit/event_collection/event_collection_without_machine_action_test.rb
257
+ - test/unit/event_collection/event_string_collection_test.rb
258
+ - test/unit/helper_module_test.rb
259
+ - test/unit/integrations/integration_finder_test.rb
260
+ - test/unit/integrations/integration_matcher_test.rb
261
+ - test/unit/invalid_transition/invalid_parallel_transition_test.rb
262
+ - test/unit/invalid_transition/invalid_transition_test.rb
263
+ - test/unit/invalid_transition/invalid_transition_with_integration_test.rb
264
+ - test/unit/invalid_transition/invalid_transition_with_namespace_test.rb
265
+ - test/unit/machine/machine_after_being_copied_test.rb
266
+ - test/unit/machine/machine_after_changing_initial_state.rb
267
+ - test/unit/machine/machine_after_changing_owner_class_test.rb
268
+ - test/unit/machine/machine_by_default_test.rb
269
+ - test/unit/machine/machine_finder_custom_options_test.rb
270
+ - test/unit/machine/machine_finder_with_existing_machine_on_superclass_test.rb
271
+ - test/unit/machine/machine_finder_with_existing_on_same_class_test.rb
272
+ - test/unit/machine/machine_finder_without_existing_machine_test.rb
273
+ - test/unit/machine/machine_persistence_test.rb
274
+ - test/unit/machine/machine_state_initialization_test.rb
275
+ - test/unit/machine/machine_test.rb
276
+ - test/unit/machine/machine_with_action_already_overridden_test.rb
277
+ - test/unit/machine/machine_with_action_defined_in_class_test.rb
278
+ - test/unit/machine/machine_with_action_defined_in_included_module_test.rb
279
+ - test/unit/machine/machine_with_action_defined_in_superclass_test.rb
280
+ - test/unit/machine/machine_with_action_undefined_test.rb
281
+ - test/unit/machine/machine_with_cached_state_test.rb
282
+ - test/unit/machine/machine_with_class_helpers_test.rb
283
+ - test/unit/machine/machine_with_conflicting_helpers_after_definition_test.rb
284
+ - test/unit/machine/machine_with_conflicting_helpers_before_definition_test.rb
285
+ - test/unit/machine/machine_with_custom_action_test.rb
286
+ - test/unit/machine/machine_with_custom_attribute_test.rb
287
+ - test/unit/machine/machine_with_custom_initialize_test.rb
288
+ - test/unit/machine/machine_with_custom_integration_test.rb
289
+ - test/unit/machine/machine_with_custom_invalidation_test.rb
290
+ - test/unit/machine/machine_with_custom_name_test.rb
291
+ - test/unit/machine/machine_with_custom_plural_test.rb
292
+ - test/unit/machine/machine_with_dynamic_initial_state_test.rb
293
+ - test/unit/machine/machine_with_event_matchers_test.rb
294
+ - test/unit/machine/machine_with_events_test.rb
295
+ - test/unit/machine/machine_with_events_with_custom_human_names_test.rb
296
+ - test/unit/machine/machine_with_events_with_transitions_test.rb
297
+ - test/unit/machine/machine_with_existing_event_test.rb
298
+ - test/unit/machine/machine_with_existing_machines_on_owner_class_test.rb
299
+ - test/unit/machine/machine_with_existing_machines_with_same_attributes_on_owner_class_test.rb
300
+ - test/unit/machine/machine_with_existing_machines_with_same_attributes_on_owner_subclass_test.rb
301
+ - test/unit/machine/machine_with_existing_state_test.rb
302
+ - test/unit/machine/machine_with_failure_callbacks_test.rb
303
+ - test/unit/machine/machine_with_helpers_test.rb
304
+ - test/unit/machine/machine_with_initial_state_with_value_and_owner_default.rb
305
+ - test/unit/machine/machine_with_initialize_and_super_test.rb
306
+ - test/unit/machine/machine_with_initialize_arguments_and_block_test.rb
307
+ - test/unit/machine/machine_with_initialize_without_super_test.rb
308
+ - test/unit/machine/machine_with_instance_helpers_test.rb
309
+ - test/unit/machine/machine_with_integration_test.rb
310
+ - test/unit/machine/machine_with_multiple_events_test.rb
311
+ - test/unit/machine/machine_with_namespace_test.rb
312
+ - test/unit/machine/machine_with_nil_action_test.rb
313
+ - test/unit/machine/machine_with_other_states.rb
314
+ - test/unit/machine/machine_with_owner_subclass_test.rb
315
+ - test/unit/machine/machine_with_paths_test.rb
316
+ - test/unit/machine/machine_with_private_action_test.rb
317
+ - test/unit/machine/machine_with_state_matchers_test.rb
318
+ - test/unit/machine/machine_with_state_with_matchers_test.rb
319
+ - test/unit/machine/machine_with_states_test.rb
320
+ - test/unit/machine/machine_with_states_with_behaviors_test.rb
321
+ - test/unit/machine/machine_with_states_with_custom_human_names_test.rb
322
+ - test/unit/machine/machine_with_states_with_custom_values_test.rb
323
+ - test/unit/machine/machine_with_states_with_runtime_dependencies_test.rb
324
+ - test/unit/machine/machine_with_static_initial_state_test.rb
325
+ - test/unit/machine/machine_with_superclass_conflicting_helpers_after_definition_test.rb
326
+ - test/unit/machine/machine_with_transition_callbacks_test.rb
327
+ - test/unit/machine/machine_with_transitions_test.rb
328
+ - test/unit/machine/machine_without_initialization_test.rb
329
+ - test/unit/machine/machine_without_initialize_test.rb
330
+ - test/unit/machine/machine_without_integration_test.rb
331
+ - test/unit/machine_collection/machine_collection_by_default_test.rb
332
+ - test/unit/machine_collection/machine_collection_fire_attributes_with_validations_test.rb
333
+ - test/unit/machine_collection/machine_collection_fire_test.rb
334
+ - test/unit/machine_collection/machine_collection_fire_with_transactions_test.rb
335
+ - test/unit/machine_collection/machine_collection_fire_with_validations_test.rb
336
+ - test/unit/machine_collection/machine_collection_state_initialization_test.rb
337
+ - test/unit/machine_collection/machine_collection_transitions_with_blank_events_test.rb
338
+ - test/unit/machine_collection/machine_collection_transitions_with_custom_options_test.rb
339
+ - test/unit/machine_collection/machine_collection_transitions_with_different_actions_test.rb
340
+ - test/unit/machine_collection/machine_collection_transitions_with_exisiting_transitions_test.rb
341
+ - test/unit/machine_collection/machine_collection_transitions_with_invalid_events_test.rb
342
+ - test/unit/machine_collection/machine_collection_transitions_with_same_actions_test.rb
343
+ - test/unit/machine_collection/machine_collection_transitions_with_transition_test.rb
344
+ - test/unit/machine_collection/machine_collection_transitions_without_events_test.rb
345
+ - test/unit/machine_collection/machine_collection_transitions_without_transition_test.rb
346
+ - test/unit/matcher/all_matcher_test.rb
347
+ - test/unit/matcher/blacklist_matcher_test.rb
348
+ - test/unit/matcher/loopback_matcher_test.rb
349
+ - test/unit/matcher/matcher_by_default_test.rb
350
+ - test/unit/matcher/matcher_with_multiple_values_test.rb
351
+ - test/unit/matcher/matcher_with_value_test.rb
352
+ - test/unit/matcher/whitelist_matcher_test.rb
353
+ - test/unit/matcher_helpers/matcher_helpers_all_test.rb
354
+ - test/unit/matcher_helpers/matcher_helpers_any_test.rb
355
+ - test/unit/matcher_helpers/matcher_helpers_same_test.rb
356
+ - |-
357
+ test/unit/node_collection/node_collection_after_being_copied_test
358
+ .rb
359
+ - |-
360
+ test/unit/node_collection/node_collection_after_update_test
361
+ .rb
362
+ - test/unit/node_collection/node_collection_by_default_test.rb
363
+ - test/unit/node_collection/node_collection_test.rb
364
+ - |-
365
+ test/unit/node_collection/node_collection_with_indices_test
366
+ .rb
367
+ - test/unit/node_collection/node_collection_with_matcher_contexts_test.rb
368
+ - |-
369
+ test/unit/node_collection/node_collection_with_nodes_test
370
+ .rb
371
+ - |-
372
+ test/unit/node_collection/node_collection_with_numeric_index_test
373
+ .rb
374
+ - |-
375
+ test/unit/node_collection/node_collection_with_postdefined_contexts_test
376
+ .rb
377
+ - |-
378
+ test/unit/node_collection/node_collection_with_predefined_contexts_test
379
+ .rb
380
+ - |-
381
+ test/unit/node_collection/node_collection_with_string_index_test
382
+ .rb
383
+ - |-
384
+ test/unit/node_collection/node_collection_with_symbol_index_test
385
+ .rb
386
+ - |-
387
+ test/unit/node_collection/node_collection_without_indices_test
388
+ .rb
389
+ - test/unit/path/path_by_default_test.rb
390
+ - test/unit/path/path_test.rb
391
+ - test/unit/path/path_with_available_transitions_after_reaching_target_test.rb
392
+ - test/unit/path/path_with_available_transitions_test.rb
393
+ - test/unit/path/path_with_deep_target_reached_test.rb
394
+ - test/unit/path/path_with_deep_target_test.rb
395
+ - test/unit/path/path_with_duplicates_test.rb
396
+ - test/unit/path/path_with_encountered_transitions_test.rb
397
+ - test/unit/path/path_with_guarded_transitions_test.rb
398
+ - test/unit/path/path_with_reached_target_test.rb
399
+ - test/unit/path/path_with_transitions_test.rb
400
+ - test/unit/path/path_with_unreached_target_test.rb
401
+ - test/unit/path/path_without_transitions_test.rb
402
+ - test/unit/path_collection/path_collection_by_default_test.rb
403
+ - test/unit/path_collection/path_collection_test.rb
404
+ - test/unit/path_collection/path_collection_with_deep_paths_test.rb
405
+ - test/unit/path_collection/path_collection_with_duplicate_nodes_test.rb
406
+ - test/unit/path_collection/path_collection_with_from_state_test.rb
407
+ - test/unit/path_collection/path_collection_with_paths_test.rb
408
+ - test/unit/path_collection/path_collection_with_to_state_test.rb
409
+ - test/unit/path_collection/path_with_guarded_paths_test.rb
410
+ - test/unit/state/state_after_being_copied_test.rb
411
+ - test/unit/state/state_by_default_test.rb
412
+ - test/unit/state/state_final_test.rb
413
+ - test/unit/state/state_initial_test.rb
414
+ - test/unit/state/state_not_final_test.rb
415
+ - test/unit/state/state_not_initial_test.rb
416
+ - test/unit/state/state_test.rb
417
+ - test/unit/state/state_with_cached_lambda_value_test.rb
418
+ - test/unit/state/state_with_conflicting_helpers_after_definition_test.rb
419
+ - test/unit/state/state_with_conflicting_helpers_before_definition_test.rb
420
+ - test/unit/state/state_with_conflicting_machine_name_test.rb
421
+ - test/unit/state/state_with_conflicting_machine_test.rb
422
+ - test/unit/state/state_with_context_test.rb
423
+ - test/unit/state/state_with_dynamic_human_name_test.rb
424
+ - test/unit/state/state_with_existing_context_method_test.rb
425
+ - test/unit/state/state_with_human_name_test.rb
426
+ - test/unit/state/state_with_integer_value_test.rb
427
+ - test/unit/state/state_with_invalid_method_call_test.rb
428
+ - test/unit/state/state_with_lambda_value_test.rb
429
+ - test/unit/state/state_with_matcher_test.rb
430
+ - test/unit/state/state_with_multiple_contexts_test.rb
431
+ - test/unit/state/state_with_name_test.rb
432
+ - test/unit/state/state_with_namespace_test.rb
433
+ - test/unit/state/state_with_nil_value_test.rb
434
+ - test/unit/state/state_with_redefined_context_method_test.rb
435
+ - test/unit/state/state_with_symbolic_value_test.rb
436
+ - test/unit/state/state_with_valid_inherited_method_call_for_current_state_test.rb
437
+ - test/unit/state/state_with_valid_method_call_for_current_state_test.rb
438
+ - test/unit/state/state_with_valid_method_call_for_different_state_test.rb
439
+ - test/unit/state/state_without_cached_lambda_value_test.rb
440
+ - test/unit/state/state_without_name_test.rb
441
+ - test/unit/state_collection/state_collection_by_default_test.rb
442
+ - test/unit/state_collection/state_collection_string_test.rb
443
+ - test/unit/state_collection/state_collection_test.rb
444
+ - test/unit/state_collection/state_collection_with_custom_state_values_test.rb
445
+ - test/unit/state_collection/state_collection_with_event_transitions_test.rb
446
+ - test/unit/state_collection/state_collection_with_initial_state_test.rb
447
+ - test/unit/state_collection/state_collection_with_namespace_test.rb
448
+ - test/unit/state_collection/state_collection_with_state_behaviors_test.rb
449
+ - test/unit/state_collection/state_collection_with_state_matchers_test.rb
450
+ - test/unit/state_collection/state_collection_with_transition_callbacks_test.rb
451
+ - test/unit/state_context/state_context_proxy_test.rb
452
+ - test/unit/state_context/state_context_proxy_with_if_and_unless_conditions_test.rb
453
+ - test/unit/state_context/state_context_proxy_with_if_condition_test.rb
454
+ - test/unit/state_context/state_context_proxy_with_multiple_if_conditions_test.rb
455
+ - test/unit/state_context/state_context_proxy_with_multiple_unless_conditions_test.rb
456
+ - test/unit/state_context/state_context_proxy_with_unless_condition_test.rb
457
+ - test/unit/state_context/state_context_proxy_without_conditions_test.rb
458
+ - test/unit/state_context/state_context_test.rb
459
+ - test/unit/state_context/state_context_transition_test.rb
460
+ - test/unit/state_context/state_context_with_matching_transition_test.rb
461
+ - test/unit/state_machine/state_machine_by_default_test.rb
462
+ - test/unit/state_machine/state_machine_test.rb
463
+ - test/unit/transition/transition_after_being_performed_test.rb
464
+ - test/unit/transition/transition_after_being_persisted_test.rb
465
+ - test/unit/transition/transition_after_being_rolled_back_test.rb
466
+ - test/unit/transition/transition_equality_test.rb
467
+ - test/unit/transition/transition_loopback_test.rb
468
+ - test/unit/transition/transition_test.rb
469
+ - test/unit/transition/transition_transient_test.rb
470
+ - test/unit/transition/transition_with_action_test.rb
471
+ - test/unit/transition/transition_with_after_callbacks_skipped_test.rb
472
+ - test/unit/transition/transition_with_after_callbacks_test.rb
473
+ - test/unit/transition/transition_with_around_callbacks_test.rb
474
+ - test/unit/transition/transition_with_before_callbacks_skipped_test.rb
475
+ - test/unit/transition/transition_with_before_callbacks_test.rb
476
+ - test/unit/transition/transition_with_custom_machine_attribute_test.rb
477
+ - test/unit/transition/transition_with_different_states_test.rb
478
+ - test/unit/transition/transition_with_dynamic_to_value_test.rb
479
+ - test/unit/transition/transition_with_failure_callbacks_test.rb
480
+ - test/unit/transition/transition_with_invalid_nodes_test.rb
481
+ - test/unit/transition/transition_with_mixed_callbacks_test.rb
482
+ - test/unit/transition/transition_with_multiple_after_callbacks_test.rb
483
+ - test/unit/transition/transition_with_multiple_around_callbacks_test.rb
484
+ - test/unit/transition/transition_with_multiple_before_callbacks_test.rb
485
+ - test/unit/transition/transition_with_multiple_failure_callbacks_test.rb
486
+ - test/unit/transition/transition_with_namespace_test.rb
487
+ - test/unit/transition/transition_with_perform_arguments_test.rb
488
+ - test/unit/transition/transition_with_transactions_test.rb
489
+ - test/unit/transition/transition_without_callbacks_test.rb
490
+ - test/unit/transition/transition_without_reading_state_test.rb
491
+ - test/unit/transition/transition_without_running_action_test.rb
492
+ - test/unit/transition_collection/attribute_transition_collection_by_default_test.rb
493
+ - test/unit/transition_collection/attribute_transition_collection_marshalling_test.rb
494
+ - test/unit/transition_collection/attribute_transition_collection_with_action_error_test.rb
495
+ - test/unit/transition_collection/attribute_transition_collection_with_action_failed_test.rb
496
+ - test/unit/transition_collection/attribute_transition_collection_with_after_callback_error_test.rb
497
+ - test/unit/transition_collection/attribute_transition_collection_with_after_callback_halt_test.rb
498
+ - test/unit/transition_collection/attribute_transition_collection_with_around_after_yield_callback_error_test.rb
499
+ - test/unit/transition_collection/attribute_transition_collection_with_around_callback_after_yield_error_test.rb
500
+ - test/unit/transition_collection/attribute_transition_collection_with_around_callback_after_yield_halt_test.rb
501
+ - test/unit/transition_collection/attribute_transition_collection_with_around_callback_before_yield_halt_test.rb
502
+ - test/unit/transition_collection/attribute_transition_collection_with_before_callback_error_test.rb
503
+ - test/unit/transition_collection/attribute_transition_collection_with_before_callback_halt_test.rb
504
+ - test/unit/transition_collection/attribute_transition_collection_with_callbacks_test.rb
505
+ - test/unit/transition_collection/attribute_transition_collection_with_event_transitions_test.rb
506
+ - test/unit/transition_collection/attribute_transition_collection_with_events_test.rb
507
+ - test/unit/transition_collection/attribute_transition_collection_with_skipped_after_callbacks_test.rb
508
+ - test/unit/transition_collection/transition_collection_by_default_test.rb
509
+ - test/unit/transition_collection/transition_collection_empty_with_block_test.rb
510
+ - test/unit/transition_collection/transition_collection_empty_without_block_test.rb
511
+ - test/unit/transition_collection/transition_collection_invalid_test.rb
512
+ - test/unit/transition_collection/transition_collection_partial_invalid_test.rb
513
+ - test/unit/transition_collection/transition_collection_test.rb
514
+ - test/unit/transition_collection/transition_collection_valid_test.rb
515
+ - test/unit/transition_collection/transition_collection_with_action_error_test.rb
516
+ - test/unit/transition_collection/transition_collection_with_action_failed_test.rb
517
+ - test/unit/transition_collection/transition_collection_with_action_hook_and_block_test.rb
518
+ - test/unit/transition_collection/transition_collection_with_action_hook_and_skipped_action_test.rb
519
+ - test/unit/transition_collection/transition_collection_with_action_hook_and_skipped_after_callbacks_test.rb
520
+ - test/unit/transition_collection/transition_collection_with_action_hook_base_test.rb
521
+ - test/unit/transition_collection/transition_collection_with_action_hook_error_test.rb
522
+ - test/unit/transition_collection/transition_collection_with_action_hook_invalid_test.rb
523
+ - test/unit/transition_collection/transition_collection_with_action_hook_multiple_test.rb
524
+ - test/unit/transition_collection/transition_collection_with_action_hook_test.rb
525
+ - test/unit/transition_collection/transition_collection_with_action_hook_with_different_actions_test.rb
526
+ - test/unit/transition_collection/transition_collection_with_action_hook_with_nil_action_test.rb
527
+ - test/unit/transition_collection/transition_collection_with_after_callback_halt_test.rb
528
+ - test/unit/transition_collection/transition_collection_with_before_callback_halt_test.rb
529
+ - test/unit/transition_collection/transition_collection_with_block_test.rb
530
+ - test/unit/transition_collection/transition_collection_with_callbacks_test.rb
531
+ - test/unit/transition_collection/transition_collection_with_different_actions_test.rb
532
+ - test/unit/transition_collection/transition_collection_with_duplicate_actions_test.rb
533
+ - test/unit/transition_collection/transition_collection_with_empty_actions_test.rb
534
+ - test/unit/transition_collection/transition_collection_with_mixed_actions_test.rb
535
+ - test/unit/transition_collection/transition_collection_with_skipped_actions_and_block_test.rb
536
+ - test/unit/transition_collection/transition_collection_with_skipped_actions_test.rb
537
+ - test/unit/transition_collection/transition_collection_with_skipped_after_callbacks_and_around_callbacks_test.rb
538
+ - test/unit/transition_collection/transition_collection_with_skipped_after_callbacks_test.rb
539
+ - test/unit/transition_collection/transition_collection_with_transactions_test.rb
540
+ - test/unit/transition_collection/transition_collection_without_transactions_test.rb
541
+ homepage: https://github.com/state-machines/state_machines
154
542
  licenses:
155
543
  - MIT
156
544
  metadata: {}
@@ -162,7 +550,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
162
550
  requirements:
163
551
  - - ">="
164
552
  - !ruby/object:Gem::Version
165
- version: 1.9.3
553
+ version: 2.0.0
166
554
  required_rubygems_version: !ruby/object:Gem::Requirement
167
555
  requirements:
168
556
  - - ">="
@@ -175,43 +563,442 @@ signing_key:
175
563
  specification_version: 4
176
564
  summary: State machines for attributes
177
565
  test_files:
178
- - spec/internal/app/models/auto_shop.rb
179
- - spec/internal/app/models/car.rb
180
- - spec/internal/app/models/model_base.rb
181
- - spec/internal/app/models/motorcycle.rb
182
- - spec/internal/app/models/traffic_light.rb
183
- - spec/internal/app/models/vehicle.rb
184
- - spec/models/auto_shop_spec.rb
185
- - spec/models/car_spec.rb
186
- - spec/models/motorcycle_spec.rb
187
- - spec/models/traffic_light_spec.rb
188
- - spec/models/vehicle_spec.rb
189
- - spec/spec_helper.rb
190
- - spec/state_machines/assertions_spec.rb
191
- - spec/state_machines/branch_spec.rb
192
- - spec/state_machines/callbacks_spec.rb
193
- - spec/state_machines/errors_spec.rb
194
- - spec/state_machines/event_collection_spec.rb
195
- - spec/state_machines/event_spec.rb
196
- - spec/state_machines/helper_spec.rb
197
- - spec/state_machines/integration_base_spec.rb
198
- - spec/state_machines/integration_spec.rb
199
- - spec/state_machines/invalid_event_spec.rb
200
- - spec/state_machines/invalid_parallel_transition_spec.rb
201
- - spec/state_machines/invalid_transition_spec.rb
202
- - spec/state_machines/machine_collection_spec.rb
203
- - spec/state_machines/machine_spec.rb
204
- - spec/state_machines/matcher_helpers_spec.rb
205
- - spec/state_machines/matcher_spec.rb
206
- - spec/state_machines/node_collection_spec.rb
207
- - spec/state_machines/path_collection_spec.rb
208
- - spec/state_machines/path_spec.rb
209
- - spec/state_machines/state_collection_spec.rb
210
- - spec/state_machines/state_context_spec.rb
211
- - spec/state_machines/state_machine_spec.rb
212
- - spec/state_machines/state_spec.rb
213
- - spec/state_machines/transition_collection_spec.rb
214
- - spec/state_machines/transition_spec.rb
215
- - spec/support/migration_helpers.rb
216
- - spec/support/models.rb
566
+ - test/files/integrations/event_on_failure_integration.rb
567
+ - test/files/integrations/vehicle.rb
568
+ - test/files/models/auto_shop.rb
569
+ - test/files/models/car.rb
570
+ - test/files/models/model_base.rb
571
+ - test/files/models/motorcycle.rb
572
+ - test/files/models/traffic_light.rb
573
+ - test/files/models/vehicle.rb
574
+ - test/files/node.rb
575
+ - test/files/switch.rb
576
+ - test/functional/auto_shop_available_test.rb
577
+ - test/functional/auto_shop_busy_test.rb
578
+ - test/functional/car_backing_up_test.rb
579
+ - test/functional/car_test.rb
580
+ - test/functional/motorcycle_test.rb
581
+ - test/functional/traffic_light_caution_test.rb
582
+ - test/functional/traffic_light_proceed_test.rb
583
+ - test/functional/traffic_light_stop_test.rb
584
+ - test/functional/vehicle_first_gear_test.rb
585
+ - test/functional/vehicle_idling_test.rb
586
+ - test/functional/vehicle_locked_test.rb
587
+ - test/functional/vehicle_parked_test.rb
588
+ - test/functional/vehicle_repaired_test.rb
589
+ - test/functional/vehicle_second_gear_test.rb
590
+ - test/functional/vehicle_stalled_test.rb
591
+ - test/functional/vehicle_test.rb
592
+ - test/functional/vehicle_third_gear_test.rb
593
+ - test/functional/vehicle_unsaved_test.rb
594
+ - test/functional/vehicle_with_event_attributes_test.rb
595
+ - test/functional/vehicle_with_parallel_events_test.rb
596
+ - test/test_helper.rb
597
+ - test/unit/assertions/assert_exclusive_keys_test.rb
598
+ - test/unit/assertions/assert_valid_key_test.rb
599
+ - test/unit/branch/branch_test.rb
600
+ - test/unit/branch/branch_with_conflicting_conditionals_test.rb
601
+ - test/unit/branch/branch_with_conflicting_from_requirements_test.rb
602
+ - test/unit/branch/branch_with_conflicting_on_requirements_test.rb
603
+ - test/unit/branch/branch_with_conflicting_to_requirements_test.rb
604
+ - test/unit/branch/branch_with_different_requirements_test.rb
605
+ - test/unit/branch/branch_with_except_from_matcher_requirement_test.rb
606
+ - test/unit/branch/branch_with_except_from_requirement_test.rb
607
+ - test/unit/branch/branch_with_except_on_matcher_requirement_test.rb
608
+ - test/unit/branch/branch_with_except_on_requirement_test.rb
609
+ - test/unit/branch/branch_with_except_to_matcher_requirement_test.rb
610
+ - test/unit/branch/branch_with_except_to_requirement_test.rb
611
+ - test/unit/branch/branch_with_from_matcher_requirement_test.rb
612
+ - test/unit/branch/branch_with_from_requirement_test.rb
613
+ - test/unit/branch/branch_with_if_conditional_test.rb
614
+ - test/unit/branch/branch_with_implicit_and_explicit_requirements_test.rb
615
+ - test/unit/branch/branch_with_implicit_from_requirement_matcher_test.rb
616
+ - test/unit/branch/branch_with_implicit_requirement_test.rb
617
+ - test/unit/branch/branch_with_implicit_to_requirement_matcher_test.rb
618
+ - test/unit/branch/branch_with_multiple_except_from_requirements_test.rb
619
+ - test/unit/branch/branch_with_multiple_except_on_requirements_test.rb
620
+ - test/unit/branch/branch_with_multiple_except_to_requirements_test.rb
621
+ - test/unit/branch/branch_with_multiple_from_requirements_test.rb
622
+ - test/unit/branch/branch_with_multiple_if_conditionals_test.rb
623
+ - test/unit/branch/branch_with_multiple_implicit_requirements_test.rb
624
+ - test/unit/branch/branch_with_multiple_on_requirements_test.rb
625
+ - test/unit/branch/branch_with_multiple_to_requirements_test.rb
626
+ - test/unit/branch/branch_with_multiple_unless_conditionals_test.rb
627
+ - test/unit/branch/branch_with_nil_requirements_test.rb
628
+ - test/unit/branch/branch_with_no_requirements_test.rb
629
+ - test/unit/branch/branch_with_on_matcher_requirement_test.rb
630
+ - test/unit/branch/branch_with_on_requirement_test.rb
631
+ - test/unit/branch/branch_with_to_matcher_requirement_test.rb
632
+ - test/unit/branch/branch_with_to_requirement_test.rb
633
+ - test/unit/branch/branch_with_unless_conditional_test.rb
634
+ - test/unit/branch/branch_without_guards_test.rb
635
+ - test/unit/callback/callback_by_default_test.rb
636
+ - test/unit/callback/callback_test.rb
637
+ - test/unit/callback/callback_with_application_bound_object_test.rb
638
+ - test/unit/callback/callback_with_application_terminator_test.rb
639
+ - test/unit/callback/callback_with_arguments_test.rb
640
+ - test/unit/callback/callback_with_around_type_and_arguments_test.rb
641
+ - test/unit/callback/callback_with_around_type_and_block_test.rb
642
+ - test/unit/callback/callback_with_around_type_and_bound_method_test.rb
643
+ - test/unit/callback/callback_with_around_type_and_multiple_methods_test.rb
644
+ - test/unit/callback/callback_with_around_type_and_terminator_test.rb
645
+ - test/unit/callback/callback_with_block_test.rb
646
+ - test/unit/callback/callback_with_bound_method_and_arguments_test.rb
647
+ - test/unit/callback/callback_with_bound_method_test.rb
648
+ - test/unit/callback/callback_with_do_method_test.rb
649
+ - test/unit/callback/callback_with_explicit_requirements_test.rb
650
+ - test/unit/callback/callback_with_if_condition_test.rb
651
+ - test/unit/callback/callback_with_implicit_requirements_test.rb
652
+ - test/unit/callback/callback_with_method_argument_test.rb
653
+ - test/unit/callback/callback_with_mixed_methods_test.rb
654
+ - test/unit/callback/callback_with_multiple_bound_methods_test.rb
655
+ - test/unit/callback/callback_with_multiple_do_methods_test.rb
656
+ - test/unit/callback/callback_with_multiple_method_arguments_test.rb
657
+ - test/unit/callback/callback_with_terminator_test.rb
658
+ - test/unit/callback/callback_with_unbound_method_test.rb
659
+ - test/unit/callback/callback_with_unless_condition_test.rb
660
+ - test/unit/callback/callback_without_arguments_test.rb
661
+ - test/unit/callback/callback_without_terminator_test.rb
662
+ - test/unit/error/error_by_default_test.rb
663
+ - test/unit/error/error_with_message_test.rb
664
+ - test/unit/eval_helper/eval_helpers_base_test.rb
665
+ - test/unit/eval_helper/eval_helpers_proc_block_and_explicit_arguments_test.rb
666
+ - test/unit/eval_helper/eval_helpers_proc_block_and_implicit_arguments_test.rb
667
+ - test/unit/eval_helper/eval_helpers_proc_test.rb
668
+ - test/unit/eval_helper/eval_helpers_proc_with_arguments_test.rb
669
+ - test/unit/eval_helper/eval_helpers_proc_with_block_test.rb
670
+ - test/unit/eval_helper/eval_helpers_proc_with_block_without_arguments_test.rb
671
+ - test/unit/eval_helper/eval_helpers_proc_with_block_without_object_test.rb
672
+ - test/unit/eval_helper/eval_helpers_proc_without_arguments_test.rb
673
+ - test/unit/eval_helper/eval_helpers_string_test.rb
674
+ - test/unit/eval_helper/eval_helpers_string_with_block_test.rb
675
+ - test/unit/eval_helper/eval_helpers_symbol_method_missing_test.rb
676
+ - test/unit/eval_helper/eval_helpers_symbol_private_test.rb
677
+ - test/unit/eval_helper/eval_helpers_symbol_protected_test.rb
678
+ - test/unit/eval_helper/eval_helpers_symbol_tainted_method_test.rb
679
+ - test/unit/eval_helper/eval_helpers_symbol_test.rb
680
+ - test/unit/eval_helper/eval_helpers_symbol_with_arguments_and_block_test.rb
681
+ - test/unit/eval_helper/eval_helpers_symbol_with_arguments_test.rb
682
+ - test/unit/eval_helper/eval_helpers_symbol_with_block_test.rb
683
+ - test/unit/eval_helper/eval_helpers_test.rb
684
+ - test/unit/event/event_after_being_copied_test.rb
685
+ - test/unit/event/event_by_default_test.rb
686
+ - test/unit/event/event_context_test.rb
687
+ - test/unit/event/event_on_failure_test.rb
688
+ - test/unit/event/event_test.rb
689
+ - test/unit/event/event_transitions_test.rb
690
+ - test/unit/event/event_with_conflicting_helpers_after_definition_test.rb
691
+ - test/unit/event/event_with_conflicting_helpers_before_definition_test.rb
692
+ - test/unit/event/event_with_conflicting_machine_test.rb
693
+ - test/unit/event/event_with_dynamic_human_name_test.rb
694
+ - test/unit/event/event_with_human_name_test.rb
695
+ - test/unit/event/event_with_invalid_current_state_test.rb
696
+ - test/unit/event/event_with_machine_action_test.rb
697
+ - test/unit/event/event_with_marshalling_test.rb
698
+ - test/unit/event/event_with_matching_disabled_transitions_test.rb
699
+ - test/unit/event/event_with_matching_enabled_transitions_test.rb
700
+ - test/unit/event/event_with_multiple_transitions_test.rb
701
+ - test/unit/event/event_with_namespace_test.rb
702
+ - test/unit/event/event_with_transition_with_blacklisted_to_state_test.rb
703
+ - test/unit/event/event_with_transition_with_loopback_state_test.rb
704
+ - test/unit/event/event_with_transition_with_nil_to_state_test.rb
705
+ - test/unit/event/event_with_transition_with_whitelisted_to_state_test.rb
706
+ - test/unit/event/event_with_transition_without_to_state_test.rb
707
+ - test/unit/event/event_with_transitions_test.rb
708
+ - test/unit/event/event_without_matching_transitions_test.rb
709
+ - test/unit/event/event_without_transitions_test.rb
710
+ - test/unit/event/invalid_event_test.rb
711
+ - test/unit/event_collection/event_collection_attribute_with_machine_action_test.rb
712
+ - test/unit/event_collection/event_collection_attribute_with_namespaced_machine_test.rb
713
+ - test/unit/event_collection/event_collection_by_default_test.rb
714
+ - test/unit/event_collection/event_collection_test.rb
715
+ - test/unit/event_collection/event_collection_with_custom_machine_attribute_test.rb
716
+ - test/unit/event_collection/event_collection_with_events_with_transitions_test.rb
717
+ - test/unit/event_collection/event_collection_with_multiple_events_test.rb
718
+ - test/unit/event_collection/event_collection_with_validations_test.rb
719
+ - test/unit/event_collection/event_collection_without_machine_action_test.rb
720
+ - test/unit/event_collection/event_string_collection_test.rb
721
+ - test/unit/helper_module_test.rb
722
+ - test/unit/integrations/integration_finder_test.rb
723
+ - test/unit/integrations/integration_matcher_test.rb
724
+ - test/unit/invalid_transition/invalid_parallel_transition_test.rb
725
+ - test/unit/invalid_transition/invalid_transition_test.rb
726
+ - test/unit/invalid_transition/invalid_transition_with_integration_test.rb
727
+ - test/unit/invalid_transition/invalid_transition_with_namespace_test.rb
728
+ - test/unit/machine/machine_after_being_copied_test.rb
729
+ - test/unit/machine/machine_after_changing_initial_state.rb
730
+ - test/unit/machine/machine_after_changing_owner_class_test.rb
731
+ - test/unit/machine/machine_by_default_test.rb
732
+ - test/unit/machine/machine_finder_custom_options_test.rb
733
+ - test/unit/machine/machine_finder_with_existing_machine_on_superclass_test.rb
734
+ - test/unit/machine/machine_finder_with_existing_on_same_class_test.rb
735
+ - test/unit/machine/machine_finder_without_existing_machine_test.rb
736
+ - test/unit/machine/machine_persistence_test.rb
737
+ - test/unit/machine/machine_state_initialization_test.rb
738
+ - test/unit/machine/machine_test.rb
739
+ - test/unit/machine/machine_with_action_already_overridden_test.rb
740
+ - test/unit/machine/machine_with_action_defined_in_class_test.rb
741
+ - test/unit/machine/machine_with_action_defined_in_included_module_test.rb
742
+ - test/unit/machine/machine_with_action_defined_in_superclass_test.rb
743
+ - test/unit/machine/machine_with_action_undefined_test.rb
744
+ - test/unit/machine/machine_with_cached_state_test.rb
745
+ - test/unit/machine/machine_with_class_helpers_test.rb
746
+ - test/unit/machine/machine_with_conflicting_helpers_after_definition_test.rb
747
+ - test/unit/machine/machine_with_conflicting_helpers_before_definition_test.rb
748
+ - test/unit/machine/machine_with_custom_action_test.rb
749
+ - test/unit/machine/machine_with_custom_attribute_test.rb
750
+ - test/unit/machine/machine_with_custom_initialize_test.rb
751
+ - test/unit/machine/machine_with_custom_integration_test.rb
752
+ - test/unit/machine/machine_with_custom_invalidation_test.rb
753
+ - test/unit/machine/machine_with_custom_name_test.rb
754
+ - test/unit/machine/machine_with_custom_plural_test.rb
755
+ - test/unit/machine/machine_with_dynamic_initial_state_test.rb
756
+ - test/unit/machine/machine_with_event_matchers_test.rb
757
+ - test/unit/machine/machine_with_events_test.rb
758
+ - test/unit/machine/machine_with_events_with_custom_human_names_test.rb
759
+ - test/unit/machine/machine_with_events_with_transitions_test.rb
760
+ - test/unit/machine/machine_with_existing_event_test.rb
761
+ - test/unit/machine/machine_with_existing_machines_on_owner_class_test.rb
762
+ - test/unit/machine/machine_with_existing_machines_with_same_attributes_on_owner_class_test.rb
763
+ - test/unit/machine/machine_with_existing_machines_with_same_attributes_on_owner_subclass_test.rb
764
+ - test/unit/machine/machine_with_existing_state_test.rb
765
+ - test/unit/machine/machine_with_failure_callbacks_test.rb
766
+ - test/unit/machine/machine_with_helpers_test.rb
767
+ - test/unit/machine/machine_with_initial_state_with_value_and_owner_default.rb
768
+ - test/unit/machine/machine_with_initialize_and_super_test.rb
769
+ - test/unit/machine/machine_with_initialize_arguments_and_block_test.rb
770
+ - test/unit/machine/machine_with_initialize_without_super_test.rb
771
+ - test/unit/machine/machine_with_instance_helpers_test.rb
772
+ - test/unit/machine/machine_with_integration_test.rb
773
+ - test/unit/machine/machine_with_multiple_events_test.rb
774
+ - test/unit/machine/machine_with_namespace_test.rb
775
+ - test/unit/machine/machine_with_nil_action_test.rb
776
+ - test/unit/machine/machine_with_other_states.rb
777
+ - test/unit/machine/machine_with_owner_subclass_test.rb
778
+ - test/unit/machine/machine_with_paths_test.rb
779
+ - test/unit/machine/machine_with_private_action_test.rb
780
+ - test/unit/machine/machine_with_state_matchers_test.rb
781
+ - test/unit/machine/machine_with_state_with_matchers_test.rb
782
+ - test/unit/machine/machine_with_states_test.rb
783
+ - test/unit/machine/machine_with_states_with_behaviors_test.rb
784
+ - test/unit/machine/machine_with_states_with_custom_human_names_test.rb
785
+ - test/unit/machine/machine_with_states_with_custom_values_test.rb
786
+ - test/unit/machine/machine_with_states_with_runtime_dependencies_test.rb
787
+ - test/unit/machine/machine_with_static_initial_state_test.rb
788
+ - test/unit/machine/machine_with_superclass_conflicting_helpers_after_definition_test.rb
789
+ - test/unit/machine/machine_with_transition_callbacks_test.rb
790
+ - test/unit/machine/machine_with_transitions_test.rb
791
+ - test/unit/machine/machine_without_initialization_test.rb
792
+ - test/unit/machine/machine_without_initialize_test.rb
793
+ - test/unit/machine/machine_without_integration_test.rb
794
+ - test/unit/machine_collection/machine_collection_by_default_test.rb
795
+ - test/unit/machine_collection/machine_collection_fire_attributes_with_validations_test.rb
796
+ - test/unit/machine_collection/machine_collection_fire_test.rb
797
+ - test/unit/machine_collection/machine_collection_fire_with_transactions_test.rb
798
+ - test/unit/machine_collection/machine_collection_fire_with_validations_test.rb
799
+ - test/unit/machine_collection/machine_collection_state_initialization_test.rb
800
+ - test/unit/machine_collection/machine_collection_transitions_with_blank_events_test.rb
801
+ - test/unit/machine_collection/machine_collection_transitions_with_custom_options_test.rb
802
+ - test/unit/machine_collection/machine_collection_transitions_with_different_actions_test.rb
803
+ - test/unit/machine_collection/machine_collection_transitions_with_exisiting_transitions_test.rb
804
+ - test/unit/machine_collection/machine_collection_transitions_with_invalid_events_test.rb
805
+ - test/unit/machine_collection/machine_collection_transitions_with_same_actions_test.rb
806
+ - test/unit/machine_collection/machine_collection_transitions_with_transition_test.rb
807
+ - test/unit/machine_collection/machine_collection_transitions_without_events_test.rb
808
+ - test/unit/machine_collection/machine_collection_transitions_without_transition_test.rb
809
+ - test/unit/matcher/all_matcher_test.rb
810
+ - test/unit/matcher/blacklist_matcher_test.rb
811
+ - test/unit/matcher/loopback_matcher_test.rb
812
+ - test/unit/matcher/matcher_by_default_test.rb
813
+ - test/unit/matcher/matcher_with_multiple_values_test.rb
814
+ - test/unit/matcher/matcher_with_value_test.rb
815
+ - test/unit/matcher/whitelist_matcher_test.rb
816
+ - test/unit/matcher_helpers/matcher_helpers_all_test.rb
817
+ - test/unit/matcher_helpers/matcher_helpers_any_test.rb
818
+ - test/unit/matcher_helpers/matcher_helpers_same_test.rb
819
+ - |-
820
+ test/unit/node_collection/node_collection_after_being_copied_test
821
+ .rb
822
+ - |-
823
+ test/unit/node_collection/node_collection_after_update_test
824
+ .rb
825
+ - test/unit/node_collection/node_collection_by_default_test.rb
826
+ - test/unit/node_collection/node_collection_test.rb
827
+ - |-
828
+ test/unit/node_collection/node_collection_with_indices_test
829
+ .rb
830
+ - test/unit/node_collection/node_collection_with_matcher_contexts_test.rb
831
+ - |-
832
+ test/unit/node_collection/node_collection_with_nodes_test
833
+ .rb
834
+ - |-
835
+ test/unit/node_collection/node_collection_with_numeric_index_test
836
+ .rb
837
+ - |-
838
+ test/unit/node_collection/node_collection_with_postdefined_contexts_test
839
+ .rb
840
+ - |-
841
+ test/unit/node_collection/node_collection_with_predefined_contexts_test
842
+ .rb
843
+ - |-
844
+ test/unit/node_collection/node_collection_with_string_index_test
845
+ .rb
846
+ - |-
847
+ test/unit/node_collection/node_collection_with_symbol_index_test
848
+ .rb
849
+ - |-
850
+ test/unit/node_collection/node_collection_without_indices_test
851
+ .rb
852
+ - test/unit/path/path_by_default_test.rb
853
+ - test/unit/path/path_test.rb
854
+ - test/unit/path/path_with_available_transitions_after_reaching_target_test.rb
855
+ - test/unit/path/path_with_available_transitions_test.rb
856
+ - test/unit/path/path_with_deep_target_reached_test.rb
857
+ - test/unit/path/path_with_deep_target_test.rb
858
+ - test/unit/path/path_with_duplicates_test.rb
859
+ - test/unit/path/path_with_encountered_transitions_test.rb
860
+ - test/unit/path/path_with_guarded_transitions_test.rb
861
+ - test/unit/path/path_with_reached_target_test.rb
862
+ - test/unit/path/path_with_transitions_test.rb
863
+ - test/unit/path/path_with_unreached_target_test.rb
864
+ - test/unit/path/path_without_transitions_test.rb
865
+ - test/unit/path_collection/path_collection_by_default_test.rb
866
+ - test/unit/path_collection/path_collection_test.rb
867
+ - test/unit/path_collection/path_collection_with_deep_paths_test.rb
868
+ - test/unit/path_collection/path_collection_with_duplicate_nodes_test.rb
869
+ - test/unit/path_collection/path_collection_with_from_state_test.rb
870
+ - test/unit/path_collection/path_collection_with_paths_test.rb
871
+ - test/unit/path_collection/path_collection_with_to_state_test.rb
872
+ - test/unit/path_collection/path_with_guarded_paths_test.rb
873
+ - test/unit/state/state_after_being_copied_test.rb
874
+ - test/unit/state/state_by_default_test.rb
875
+ - test/unit/state/state_final_test.rb
876
+ - test/unit/state/state_initial_test.rb
877
+ - test/unit/state/state_not_final_test.rb
878
+ - test/unit/state/state_not_initial_test.rb
879
+ - test/unit/state/state_test.rb
880
+ - test/unit/state/state_with_cached_lambda_value_test.rb
881
+ - test/unit/state/state_with_conflicting_helpers_after_definition_test.rb
882
+ - test/unit/state/state_with_conflicting_helpers_before_definition_test.rb
883
+ - test/unit/state/state_with_conflicting_machine_name_test.rb
884
+ - test/unit/state/state_with_conflicting_machine_test.rb
885
+ - test/unit/state/state_with_context_test.rb
886
+ - test/unit/state/state_with_dynamic_human_name_test.rb
887
+ - test/unit/state/state_with_existing_context_method_test.rb
888
+ - test/unit/state/state_with_human_name_test.rb
889
+ - test/unit/state/state_with_integer_value_test.rb
890
+ - test/unit/state/state_with_invalid_method_call_test.rb
891
+ - test/unit/state/state_with_lambda_value_test.rb
892
+ - test/unit/state/state_with_matcher_test.rb
893
+ - test/unit/state/state_with_multiple_contexts_test.rb
894
+ - test/unit/state/state_with_name_test.rb
895
+ - test/unit/state/state_with_namespace_test.rb
896
+ - test/unit/state/state_with_nil_value_test.rb
897
+ - test/unit/state/state_with_redefined_context_method_test.rb
898
+ - test/unit/state/state_with_symbolic_value_test.rb
899
+ - test/unit/state/state_with_valid_inherited_method_call_for_current_state_test.rb
900
+ - test/unit/state/state_with_valid_method_call_for_current_state_test.rb
901
+ - test/unit/state/state_with_valid_method_call_for_different_state_test.rb
902
+ - test/unit/state/state_without_cached_lambda_value_test.rb
903
+ - test/unit/state/state_without_name_test.rb
904
+ - test/unit/state_collection/state_collection_by_default_test.rb
905
+ - test/unit/state_collection/state_collection_string_test.rb
906
+ - test/unit/state_collection/state_collection_test.rb
907
+ - test/unit/state_collection/state_collection_with_custom_state_values_test.rb
908
+ - test/unit/state_collection/state_collection_with_event_transitions_test.rb
909
+ - test/unit/state_collection/state_collection_with_initial_state_test.rb
910
+ - test/unit/state_collection/state_collection_with_namespace_test.rb
911
+ - test/unit/state_collection/state_collection_with_state_behaviors_test.rb
912
+ - test/unit/state_collection/state_collection_with_state_matchers_test.rb
913
+ - test/unit/state_collection/state_collection_with_transition_callbacks_test.rb
914
+ - test/unit/state_context/state_context_proxy_test.rb
915
+ - test/unit/state_context/state_context_proxy_with_if_and_unless_conditions_test.rb
916
+ - test/unit/state_context/state_context_proxy_with_if_condition_test.rb
917
+ - test/unit/state_context/state_context_proxy_with_multiple_if_conditions_test.rb
918
+ - test/unit/state_context/state_context_proxy_with_multiple_unless_conditions_test.rb
919
+ - test/unit/state_context/state_context_proxy_with_unless_condition_test.rb
920
+ - test/unit/state_context/state_context_proxy_without_conditions_test.rb
921
+ - test/unit/state_context/state_context_test.rb
922
+ - test/unit/state_context/state_context_transition_test.rb
923
+ - test/unit/state_context/state_context_with_matching_transition_test.rb
924
+ - test/unit/state_machine/state_machine_by_default_test.rb
925
+ - test/unit/state_machine/state_machine_test.rb
926
+ - test/unit/transition/transition_after_being_performed_test.rb
927
+ - test/unit/transition/transition_after_being_persisted_test.rb
928
+ - test/unit/transition/transition_after_being_rolled_back_test.rb
929
+ - test/unit/transition/transition_equality_test.rb
930
+ - test/unit/transition/transition_loopback_test.rb
931
+ - test/unit/transition/transition_test.rb
932
+ - test/unit/transition/transition_transient_test.rb
933
+ - test/unit/transition/transition_with_action_test.rb
934
+ - test/unit/transition/transition_with_after_callbacks_skipped_test.rb
935
+ - test/unit/transition/transition_with_after_callbacks_test.rb
936
+ - test/unit/transition/transition_with_around_callbacks_test.rb
937
+ - test/unit/transition/transition_with_before_callbacks_skipped_test.rb
938
+ - test/unit/transition/transition_with_before_callbacks_test.rb
939
+ - test/unit/transition/transition_with_custom_machine_attribute_test.rb
940
+ - test/unit/transition/transition_with_different_states_test.rb
941
+ - test/unit/transition/transition_with_dynamic_to_value_test.rb
942
+ - test/unit/transition/transition_with_failure_callbacks_test.rb
943
+ - test/unit/transition/transition_with_invalid_nodes_test.rb
944
+ - test/unit/transition/transition_with_mixed_callbacks_test.rb
945
+ - test/unit/transition/transition_with_multiple_after_callbacks_test.rb
946
+ - test/unit/transition/transition_with_multiple_around_callbacks_test.rb
947
+ - test/unit/transition/transition_with_multiple_before_callbacks_test.rb
948
+ - test/unit/transition/transition_with_multiple_failure_callbacks_test.rb
949
+ - test/unit/transition/transition_with_namespace_test.rb
950
+ - test/unit/transition/transition_with_perform_arguments_test.rb
951
+ - test/unit/transition/transition_with_transactions_test.rb
952
+ - test/unit/transition/transition_without_callbacks_test.rb
953
+ - test/unit/transition/transition_without_reading_state_test.rb
954
+ - test/unit/transition/transition_without_running_action_test.rb
955
+ - test/unit/transition_collection/attribute_transition_collection_by_default_test.rb
956
+ - test/unit/transition_collection/attribute_transition_collection_marshalling_test.rb
957
+ - test/unit/transition_collection/attribute_transition_collection_with_action_error_test.rb
958
+ - test/unit/transition_collection/attribute_transition_collection_with_action_failed_test.rb
959
+ - test/unit/transition_collection/attribute_transition_collection_with_after_callback_error_test.rb
960
+ - test/unit/transition_collection/attribute_transition_collection_with_after_callback_halt_test.rb
961
+ - test/unit/transition_collection/attribute_transition_collection_with_around_after_yield_callback_error_test.rb
962
+ - test/unit/transition_collection/attribute_transition_collection_with_around_callback_after_yield_error_test.rb
963
+ - test/unit/transition_collection/attribute_transition_collection_with_around_callback_after_yield_halt_test.rb
964
+ - test/unit/transition_collection/attribute_transition_collection_with_around_callback_before_yield_halt_test.rb
965
+ - test/unit/transition_collection/attribute_transition_collection_with_before_callback_error_test.rb
966
+ - test/unit/transition_collection/attribute_transition_collection_with_before_callback_halt_test.rb
967
+ - test/unit/transition_collection/attribute_transition_collection_with_callbacks_test.rb
968
+ - test/unit/transition_collection/attribute_transition_collection_with_event_transitions_test.rb
969
+ - test/unit/transition_collection/attribute_transition_collection_with_events_test.rb
970
+ - test/unit/transition_collection/attribute_transition_collection_with_skipped_after_callbacks_test.rb
971
+ - test/unit/transition_collection/transition_collection_by_default_test.rb
972
+ - test/unit/transition_collection/transition_collection_empty_with_block_test.rb
973
+ - test/unit/transition_collection/transition_collection_empty_without_block_test.rb
974
+ - test/unit/transition_collection/transition_collection_invalid_test.rb
975
+ - test/unit/transition_collection/transition_collection_partial_invalid_test.rb
976
+ - test/unit/transition_collection/transition_collection_test.rb
977
+ - test/unit/transition_collection/transition_collection_valid_test.rb
978
+ - test/unit/transition_collection/transition_collection_with_action_error_test.rb
979
+ - test/unit/transition_collection/transition_collection_with_action_failed_test.rb
980
+ - test/unit/transition_collection/transition_collection_with_action_hook_and_block_test.rb
981
+ - test/unit/transition_collection/transition_collection_with_action_hook_and_skipped_action_test.rb
982
+ - test/unit/transition_collection/transition_collection_with_action_hook_and_skipped_after_callbacks_test.rb
983
+ - test/unit/transition_collection/transition_collection_with_action_hook_base_test.rb
984
+ - test/unit/transition_collection/transition_collection_with_action_hook_error_test.rb
985
+ - test/unit/transition_collection/transition_collection_with_action_hook_invalid_test.rb
986
+ - test/unit/transition_collection/transition_collection_with_action_hook_multiple_test.rb
987
+ - test/unit/transition_collection/transition_collection_with_action_hook_test.rb
988
+ - test/unit/transition_collection/transition_collection_with_action_hook_with_different_actions_test.rb
989
+ - test/unit/transition_collection/transition_collection_with_action_hook_with_nil_action_test.rb
990
+ - test/unit/transition_collection/transition_collection_with_after_callback_halt_test.rb
991
+ - test/unit/transition_collection/transition_collection_with_before_callback_halt_test.rb
992
+ - test/unit/transition_collection/transition_collection_with_block_test.rb
993
+ - test/unit/transition_collection/transition_collection_with_callbacks_test.rb
994
+ - test/unit/transition_collection/transition_collection_with_different_actions_test.rb
995
+ - test/unit/transition_collection/transition_collection_with_duplicate_actions_test.rb
996
+ - test/unit/transition_collection/transition_collection_with_empty_actions_test.rb
997
+ - test/unit/transition_collection/transition_collection_with_mixed_actions_test.rb
998
+ - test/unit/transition_collection/transition_collection_with_skipped_actions_and_block_test.rb
999
+ - test/unit/transition_collection/transition_collection_with_skipped_actions_test.rb
1000
+ - test/unit/transition_collection/transition_collection_with_skipped_after_callbacks_and_around_callbacks_test.rb
1001
+ - test/unit/transition_collection/transition_collection_with_skipped_after_callbacks_test.rb
1002
+ - test/unit/transition_collection/transition_collection_with_transactions_test.rb
1003
+ - test/unit/transition_collection/transition_collection_without_transactions_test.rb
217
1004
  has_rdoc: