simply_fsm 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/README.md +2 -0
- data/lib/simply_fsm/version.rb +5 -0
- data/lib/simply_fsm.rb +2 -2
- data/simply_fsm.gemspec +4 -4
- metadata +5 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0b86e3a94184036d2ba485db8452bcf2c4ad3c8314e71b56b481f1a428d253ad
|
|
4
|
+
data.tar.gz: 445b68adba6dc1d0376473288af06a04026bdeb055616c0ef3a31acb6f1b068d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c754997ecccc818fab23c9079cf6f4f274cd8ab484ea56af7eee49ebc69ce97985814cb0ef0910088e339e8839b6fc4ab8f07848b014313c1106f8f8f310cdb0
|
|
7
|
+
data.tar.gz: e11e94844f8a0e6dcad77b4cc8dc642afeced63c31678d1ac0278d19825e7e194062fa3d569381bac36be9465f85ccf1f500355a08681372cf455a43f03dbbf9
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# SimplyFSM
|
|
2
2
|
|
|
3
|
+
[](https://badge.fury.io/rb/simply_fsm)
|
|
4
|
+
|
|
3
5
|
`simply_fsm` is a bare-necessities finite state machine data-type for use with any Ruby class. I created `simply_fsm` because I wanted the minimal FSM data type that was easy to use and did everything I would expect from a core data type.
|
|
4
6
|
|
|
5
7
|
If you need storage/persistence/Rails/etc support, I recommend [AASM](https://github.com/aasm/aasm) whose API was an inspiration for this gem.
|
data/lib/simply_fsm.rb
CHANGED
data/simply_fsm.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
require_relative "lib/simply_fsm"
|
|
3
|
+
require_relative "lib/simply_fsm/version"
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = "simply_fsm"
|
|
@@ -10,14 +10,14 @@ Gem::Specification.new do |spec|
|
|
|
10
10
|
|
|
11
11
|
spec.summary = "Simple finite state mechine (FSM) data-type mixin for Ruby objects."
|
|
12
12
|
spec.description = "Use it to setup one or more FSMs in any Ruby object."
|
|
13
|
-
spec.homepage = "https://github.com/nogginly/simply_fsm"
|
|
13
|
+
spec.homepage = "https://github.com/nogginly/simply_fsm#simplyfsm"
|
|
14
14
|
spec.license = "MIT"
|
|
15
15
|
spec.required_ruby_version = ">= 2.7.0"
|
|
16
16
|
spec.date = Time.now
|
|
17
17
|
|
|
18
18
|
spec.metadata["homepage_uri"] = spec.homepage
|
|
19
|
-
spec.metadata["source_code_uri"] =
|
|
20
|
-
spec.metadata["changelog_uri"] = "https://github.com/nogginly/simply_fsm/CHANGELOG.md"
|
|
19
|
+
spec.metadata["source_code_uri"] = "https://github.com/nogginly/simply_fsm"
|
|
20
|
+
spec.metadata["changelog_uri"] = "https://github.com/nogginly/simply_fsm/blob/main/CHANGELOG.md"
|
|
21
21
|
|
|
22
22
|
spec.files = `git ls-files`.split("\n")
|
|
23
23
|
spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: simply_fsm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- nogginly
|
|
@@ -45,6 +45,7 @@ files:
|
|
|
45
45
|
- bin/console
|
|
46
46
|
- bin/setup
|
|
47
47
|
- lib/simply_fsm.rb
|
|
48
|
+
- lib/simply_fsm/version.rb
|
|
48
49
|
- simply_fsm.gemspec
|
|
49
50
|
- spec/spec_helper.rb
|
|
50
51
|
- spec/support/state_machine_examples.rb
|
|
@@ -53,13 +54,13 @@ files:
|
|
|
53
54
|
- spec/unit/one_state_machine_spec.rb
|
|
54
55
|
- spec/unit/simply_fsm_spec.rb
|
|
55
56
|
- spec/unit/two_state_machines_spec.rb
|
|
56
|
-
homepage: https://github.com/nogginly/simply_fsm
|
|
57
|
+
homepage: https://github.com/nogginly/simply_fsm#simplyfsm
|
|
57
58
|
licenses:
|
|
58
59
|
- MIT
|
|
59
60
|
metadata:
|
|
60
|
-
homepage_uri: https://github.com/nogginly/simply_fsm
|
|
61
|
+
homepage_uri: https://github.com/nogginly/simply_fsm#simplyfsm
|
|
61
62
|
source_code_uri: https://github.com/nogginly/simply_fsm
|
|
62
|
-
changelog_uri: https://github.com/nogginly/simply_fsm/CHANGELOG.md
|
|
63
|
+
changelog_uri: https://github.com/nogginly/simply_fsm/blob/main/CHANGELOG.md
|
|
63
64
|
post_install_message:
|
|
64
65
|
rdoc_options: []
|
|
65
66
|
require_paths:
|