gv_fsm 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/templates.rb +5 -1
- data/lib/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: 36de89f3e2479b1f535f199601a58af93d53065aaff940143330244597e88a3d
|
4
|
+
data.tar.gz: 58c148315536416ffb99555fb6e3a88253a2f83a6776a17691b5c39019aee4cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 514f56b578dc4093df80b45ed139a4f129e55a2441a2abb2b93f1dff3997782e0cb78e4df07720b06703a277f6df4a84374ded23d37b4ff55318411d393b87a3
|
7
|
+
data.tar.gz: 429480975d005883b23862eec8c2f834e835dc7f6de2d404c980fe31a30947e3232fc45decde91e2eafd44a0a5cb5d7310c3382551090c77d9929156e16cbff3
|
data/lib/templates.rb
CHANGED
@@ -442,7 +442,11 @@ public:
|
|
442
442
|
if (_states.find(state) == _states.end()) {
|
443
443
|
throw std::runtime_error("State not found: "s + state_names[state]);
|
444
444
|
}
|
445
|
-
|
445
|
+
state_t next = _states[state](*_data);
|
446
|
+
if (next == NO_CHANGE) {
|
447
|
+
next = state;
|
448
|
+
}
|
449
|
+
return next;
|
446
450
|
}
|
447
451
|
|
448
452
|
void operator()(<%= @prefix %>state_t from, <%= @prefix %>state_t to) {
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gv_fsm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paolo Bosetti
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-graphviz
|