microfsm 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +8 -3
- data/README.md +1 -0
- data/lib/version.rb +2 -1
- data/microfsm.gemspec +2 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f001afae7bd77ec4b88a0d8e4d1ff5cab0c3f0ee03f3db230fb2e6ae9124b47b
|
4
|
+
data.tar.gz: ed4b2860cca3cfe1b8f1f135a4180c77d2da8c2a6013191dfe60ea11c0dc74ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59659548f32f60823744f452cad8ebb4a5d2a193d2fc63c37978844056ac89f7592e95d32ac4da12bf5571fb8e6302415952c455b8a8d8cbcfab8764f5eb55f8
|
7
|
+
data.tar.gz: ca69ff6bf93b10d190b522998091474288e56ae2b8569010b558ecf206d7235f02a72f6a1f00ade1bd68fe8d934d8f0e0d6886e3bdd796e69e55785a48012fb2
|
data/.travis.yml
CHANGED
@@ -1,10 +1,15 @@
|
|
1
1
|
language: ruby
|
2
|
+
sudo: false
|
2
3
|
|
3
|
-
|
4
|
-
|
4
|
+
bundler_args: --without production
|
5
|
+
# bundle config set without production
|
6
|
+
script: 'bundle exec rake test'
|
5
7
|
|
6
8
|
rvm:
|
7
|
-
|
9
|
+
- 2.7.2 # 2020-10-26
|
10
|
+
|
11
|
+
matrix:
|
12
|
+
fast_finish: true
|
8
13
|
|
9
14
|
notifications:
|
10
15
|
email: false
|
data/README.md
CHANGED
@@ -39,6 +39,7 @@ require 'microfsm'
|
|
39
39
|
fsm = MicroFSM.new(:new) # Initial state.
|
40
40
|
|
41
41
|
# Define the possible transitions for each event.
|
42
|
+
# Template: fsm.when(<event>, <from> => <to>)
|
42
43
|
fsm.when(:confirm, :new => :confirmed)
|
43
44
|
fsm.when(:ignore, :new => :ignored)
|
44
45
|
fsm.when(:reset, :confirmed => :new, :ignored => :new)
|
data/lib/version.rb
CHANGED
data/microfsm.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: microfsm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dittmar Krall
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-02-
|
11
|
+
date: 2021-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -82,7 +82,8 @@ files:
|
|
82
82
|
homepage: https://github.com/matique
|
83
83
|
licenses:
|
84
84
|
- MIT
|
85
|
-
metadata:
|
85
|
+
metadata:
|
86
|
+
source_code_uri: https://github.com/matique/microfsm
|
86
87
|
post_install_message:
|
87
88
|
rdoc_options: []
|
88
89
|
require_paths:
|