finite_machine 0.13.0 → 0.14.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +42 -23
- data/LICENSE.txt +1 -1
- data/README.md +207 -145
- data/lib/finite_machine/catchable.rb +20 -12
- data/lib/finite_machine/choice_merger.rb +2 -2
- data/lib/finite_machine/definition.rb +54 -17
- data/lib/finite_machine/dsl.rb +35 -5
- data/lib/finite_machine/env.rb +1 -1
- data/lib/finite_machine/events_map.rb +5 -6
- data/lib/finite_machine/hook_event.rb +1 -1
- data/lib/finite_machine/hooks.rb +10 -5
- data/lib/finite_machine/message_queue.rb +72 -26
- data/lib/finite_machine/observer.rb +38 -26
- data/lib/finite_machine/safety.rb +6 -6
- data/lib/finite_machine/state_machine.rb +19 -16
- data/lib/finite_machine/state_parser.rb +8 -8
- data/lib/finite_machine/subscribers.rb +1 -1
- data/lib/finite_machine/threadable.rb +1 -1
- data/lib/finite_machine/transition.rb +6 -5
- data/lib/finite_machine/transition_builder.rb +4 -4
- data/lib/finite_machine/transition_event.rb +1 -1
- data/lib/finite_machine/version.rb +1 -1
- data/lib/finite_machine.rb +6 -6
- metadata +18 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d237cab6b48c16f3dbf2832706984e2b511f412085a11968504e23d154448e21
|
4
|
+
data.tar.gz: 48c5b0536832254ea609fd0047cb30efbd129b68b091ab462abb170a435b4fd8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f27fb87731702dc2df9b24d7a4da1525ec7bce7b432a49b278947010d4ff132bdd5d4c41002aebe39cbb354e03beda1c35cfabd4a2cc7f56872521688dfd3dd8
|
7
|
+
data.tar.gz: e7f3348c118d77359639ad5909048404bcdb7abbc14e775288cb07f8f7681141cb5a6252a4f0c377a7f9e32dc5d5f447a40c1e734f58397ef713809936e1207c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [v0.14.1] - 2023-10-08
|
4
|
+
|
5
|
+
### Fixed
|
6
|
+
* Fix defining object finalizer in Ruby 3.1 to reference a UUID string
|
7
|
+
by Vadim Kononov(@vkononov)
|
8
|
+
* Fix message queue shutdown to raise valid error
|
9
|
+
* Fix any_event and any_state methods in the define method and definition class
|
10
|
+
* Fix hooks_map initialization to be fully thread-safe
|
11
|
+
by Maciej Mensfeld(@mensfeld)
|
12
|
+
|
13
|
+
## [v0.14.0] - 2020-09-12
|
14
|
+
|
15
|
+
### Added
|
16
|
+
* Add ability to declare alias target inside definition
|
17
|
+
* Add #respond_to_missing? to DSL to check if a given method is supported
|
18
|
+
* Add current state attribute to StateMachine#inspect
|
19
|
+
|
3
20
|
## [v0.13.0] - 2020-05-13
|
4
21
|
|
5
22
|
### Added
|
@@ -305,26 +322,28 @@
|
|
305
322
|
|
306
323
|
* Initial release
|
307
324
|
|
308
|
-
[v0.
|
309
|
-
[v0.
|
310
|
-
[v0.
|
311
|
-
[v0.
|
312
|
-
[v0.
|
313
|
-
[v0.11.
|
314
|
-
[v0.11.
|
315
|
-
[v0.
|
316
|
-
[v0.
|
317
|
-
[v0.10.
|
318
|
-
[v0.
|
319
|
-
[v0.
|
320
|
-
[v0.9.
|
321
|
-
[v0.
|
322
|
-
[v0.
|
323
|
-
[v0.
|
324
|
-
[v0.
|
325
|
-
[v0.
|
326
|
-
[v0.
|
327
|
-
[v0.
|
328
|
-
[v0.
|
329
|
-
[v0.
|
330
|
-
[v0.
|
325
|
+
[v0.14.1]: https://github.com/piotrmurach/finite_machine/compare/v0.14.0...v0.14.1
|
326
|
+
[v0.14.0]: https://github.com/piotrmurach/finite_machine/compare/v0.13.0...v0.14.0
|
327
|
+
[v0.13.0]: https://github.com/piotrmurach/finite_machine/compare/v0.12.1...v0.13.0
|
328
|
+
[v0.12.1]: https://github.com/piotrmurach/finite_machine/compare/v0.12.0...v0.12.1
|
329
|
+
[v0.12.0]: https://github.com/piotrmurach/finite_machine/compare/v0.11.3...v0.12.0
|
330
|
+
[v0.11.3]: https://github.com/piotrmurach/finite_machine/compare/v0.11.2...v0.11.3
|
331
|
+
[v0.11.2]: https://github.com/piotrmurach/finite_machine/compare/v0.11.1...v0.11.2
|
332
|
+
[v0.11.1]: https://github.com/piotrmurach/finite_machine/compare/v0.11.0...v0.11.1
|
333
|
+
[v0.11.0]: https://github.com/piotrmurach/finite_machine/compare/v0.10.2...v0.11.0
|
334
|
+
[v0.10.2]: https://github.com/piotrmurach/finite_machine/compare/v0.10.1...v0.10.2
|
335
|
+
[v0.10.1]: https://github.com/piotrmurach/finite_machine/compare/v0.10.0...v0.10.1
|
336
|
+
[v0.10.0]: https://github.com/piotrmurach/finite_machine/compare/v0.9.2...v0.10.0
|
337
|
+
[v0.9.2]: https://github.com/piotrmurach/finite_machine/compare/v0.9.1...v0.9.2
|
338
|
+
[v0.9.1]: https://github.com/piotrmurach/finite_machine/compare/v0.9.0...v0.9.1
|
339
|
+
[v0.9.0]: https://github.com/piotrmurach/finite_machine/compare/v0.8.1...v0.9.0
|
340
|
+
[v0.8.1]: https://github.com/piotrmurach/finite_machine/compare/v0.8.0...v0.8.1
|
341
|
+
[v0.8.0]: https://github.com/piotrmurach/finite_machine/compare/v0.7.1...v0.8.0
|
342
|
+
[v0.7.1]: https://github.com/piotrmurach/finite_machine/compare/v0.7.0...v0.7.1
|
343
|
+
[v0.7.0]: https://github.com/piotrmurach/finite_machine/compare/v0.6.1...v0.7.0
|
344
|
+
[v0.6.1]: https://github.com/piotrmurach/finite_machine/compare/v0.6.0...v0.6.1
|
345
|
+
[v0.6.0]: https://github.com/piotrmurach/finite_machine/compare/v0.5.0...v0.6.0
|
346
|
+
[v0.5.0]: https://github.com/piotrmurach/finite_machine/compare/v0.4.0...v0.5.0
|
347
|
+
[v0.4.0]: https://github.com/piotrmurach/finite_machine/compare/v0.3.0...v0.4.0
|
348
|
+
[v0.3.0]: https://github.com/piotrmurach/finite_machine/compare/v0.2.0...v0.3.0
|
349
|
+
[v0.2.0]: https://github.com/piotrmurach/finite_machine/compare/v0.1.0...v0.2.0
|
data/LICENSE.txt
CHANGED