state_machina 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/state_machina/registry.rb +1 -1
- data/lib/state_machina/transition.rb +1 -0
- data/lib/state_machina/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1ce6ace127413c5e3ea50cc6163740defad6f378f3485716cbbd8bcd1e301bd
|
4
|
+
data.tar.gz: a42a94cb064e593a95f9d4d13750ce3dc850e51b2882570749ca03b4df667c94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c50c65b8264fc4149a0560e3b2ac6cd3d53e6dab4dea14b5731cf50380917b003811a5b0cad2e808772dbc16eef0318601505fe36efe2373a7eadc8765b0aa0d
|
7
|
+
data.tar.gz: 415f21703f10b5d1094bb8c78972ea47a70a3f152be7d781e38901aee8be75a15229a7a5d088dfdc347ef41db10c58ec50f31c54d024f9d562dc20318a0dd07a
|
data/Gemfile.lock
CHANGED
@@ -9,7 +9,7 @@ module StateMachina
|
|
9
9
|
end
|
10
10
|
|
11
11
|
def self.find_machine!(model_name, machine_name)
|
12
|
-
machines.fetch(model_name.to_s, {}).fetch(machine_name.to_s) || raise(NoMachineFoundError, "for model: #{model_name}, with name: #{machine_name}")
|
12
|
+
machines.fetch(model_name.to_s, {}).fetch(machine_name.to_s, nil) || raise(NoMachineFoundError, "for model: #{model_name}, with name: #{machine_name}")
|
13
13
|
end
|
14
14
|
|
15
15
|
def self.register_machine(machine)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: state_machina
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan van der Pas
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10
|
11
|
+
date: 2023-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|