microfsm 0.1.6 → 0.1.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a2e0cbf5bae6bcd09497877229d3e96156f3992eaccb6f824e4876f56d2f5e1
4
- data.tar.gz: ebce13d58df15df9a796da6b6dfde557d85e8e8a2609e125402dfa5217446d82
3
+ metadata.gz: 25f7dba6b2b63792351334e86f075f63ad9fcefda142adf3a8659a3526c7cde7
4
+ data.tar.gz: 26aa4f34e819701f1643b408e5c9e11818ddd8792c5756d79c93b5f25c3b44ab
5
5
  SHA512:
6
- metadata.gz: 2e5ee6c8163a533fbd2a3b6014efb409ad94cbb7215ec614dcf39defc172a304810773cb1cddec0517cfd76eba10a7c0b1e0f4d07abf76178506bda736f7a74a
7
- data.tar.gz: 5bd7e76dd690b1e285c5b385491977572dfa1e241b756478323992810215797d77df905dc5b14831b23b87df1ec09eb71bce7fd4fab60c374b996a1023e9219c
6
+ metadata.gz: 12ccddd7ccdb718d24308ff1401297f4f6b3dec3e0a88dddf2a7bc3201f775184fad58295516c2b758aaa2c7a6b6bcaad745432700eaafaf64e56d2b72e41889
7
+ data.tar.gz: 2169f5e53d5ae49eddb591bb34cdace9611b12b5fee5099d0cda41e31e753892da0563f86e3f3297bb39c24a2b4c74ba170518597d0e219c14d4a50e8443c3d3
@@ -8,19 +8,15 @@ jobs:
8
8
  strategy:
9
9
  fail-fast: false
10
10
  matrix:
11
- os: [ubuntu-latest]
12
- ruby: ["2.7", "3.0", "3.2", head]
13
- test_command: ["bundle exec rake test"]
14
- runs-on: ${{ matrix.os }}
11
+ ruby_version: ["3.0", 3.2]
12
+ runs-on: ubuntu-latest
15
13
 
16
14
  steps:
17
- - uses: actions/checkout@v3
18
- - uses: ruby/setup-ruby@v1
19
- with:
20
- ruby-version: ${{ matrix.ruby }}
21
- - name: Bundle install
22
- run: |
23
- bundle config path /home/runner/bundle
24
- bundle install
25
- bundle update
26
- - run: ${{ matrix.test_command }}
15
+ - uses: actions/checkout@v3
16
+ - name: Set up Ruby
17
+ uses: ruby/setup-ruby@v1
18
+ with:
19
+ ruby-version: ${{ matrix.ruby_version }}
20
+ bundler-cache: true
21
+ - name: Build and test with Rake
22
+ run: bundle exec rake
data/.ruby-gemset CHANGED
@@ -1 +1 @@
1
- rails-7.0
1
+ rails-7.1
data/Gemfile.lock CHANGED
@@ -1,35 +1,39 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- microfsm (0.1.6)
4
+ microfsm (0.1.7)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
9
  ast (2.4.2)
10
10
  docile (1.4.0)
11
- json (2.6.3)
12
- minitest (5.18.0)
11
+ json (2.7.1)
12
+ language_server-protocol (3.17.0.3)
13
+ minitest (5.20.0)
13
14
  observr (1.0.5)
14
15
  parallel (1.23.0)
15
- parser (3.2.2.1)
16
+ parser (3.2.2.4)
16
17
  ast (~> 2.4.1)
18
+ racc
19
+ racc (1.7.3)
17
20
  rainbow (3.1.1)
18
- rake (13.0.6)
19
- regexp_parser (2.8.0)
20
- rexml (3.2.5)
21
+ rake (13.1.0)
22
+ regexp_parser (2.8.3)
23
+ rexml (3.2.6)
21
24
  ricecream (0.2.1)
22
- rubocop (1.50.2)
25
+ rubocop (1.59.0)
23
26
  json (~> 2.3)
27
+ language_server-protocol (>= 3.17.0)
24
28
  parallel (~> 1.10)
25
- parser (>= 3.2.0.0)
29
+ parser (>= 3.2.2.4)
26
30
  rainbow (>= 2.2.2, < 4.0)
27
31
  regexp_parser (>= 1.8, < 3.0)
28
32
  rexml (>= 3.2.5, < 4.0)
29
- rubocop-ast (>= 1.28.0, < 2.0)
33
+ rubocop-ast (>= 1.30.0, < 2.0)
30
34
  ruby-progressbar (~> 1.7)
31
35
  unicode-display_width (>= 2.4.0, < 3.0)
32
- rubocop-ast (1.28.0)
36
+ rubocop-ast (1.30.0)
33
37
  parser (>= 3.2.1.0)
34
38
  ruby-progressbar (1.13.0)
35
39
  simplecov (0.22.0)
@@ -38,7 +42,7 @@ GEM
38
42
  simplecov_json_formatter (~> 0.1)
39
43
  simplecov-html (0.12.3)
40
44
  simplecov_json_formatter (0.1.4)
41
- unicode-display_width (2.4.2)
45
+ unicode-display_width (2.5.0)
42
46
 
43
47
  PLATFORMS
44
48
  x86_64-linux
@@ -53,4 +57,4 @@ DEPENDENCIES
53
57
  simplecov
54
58
 
55
59
  BUNDLED WITH
56
- 2.4.10
60
+ 2.4.22
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # MicroFSM
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/microfsm.svg)](https://badge.fury.io/rb/microfsm)
4
+ [![GEM Downloads](https://img.shields.io/gem/dt/microfsm?color=168AFE&logo=ruby&logoColor=FE1616)](https://rubygems.org/gems/microfsm)
4
5
 
5
6
  MicroFSM implements a minimal/simple Finite-State Machine (FSM).
6
7
  Transitions are triggered by events.
@@ -106,6 +107,4 @@ Check the examples directory for more information.
106
107
  ## Miscellaneous
107
108
 
108
109
  Copyright (c) 2021-2023 Dittmar Krall (www.matiq.com),
109
- released under the MIT license:
110
-
111
- * https://opensource.org/licenses/MIT
110
+ released under the [MIT license](https://opensource.org/licenses/MIT).
data/lib/version.rb CHANGED
@@ -1,7 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class MicroFSM
4
- VERSION = "0.1.6" # 2023-04-25
4
+ VERSION = "0.1.7" # 2023-12-12
5
+ # VERSION = "0.1.6" # 2023-04-25
5
6
  # VERSION = "0.1.5" # 2022-12-22
6
7
  # VERSION = "0.1.3" # 2021-06-22
7
8
  # VERSION = "0.1.2" # 2021-02-10
data/microfsm.gemspec CHANGED
@@ -8,12 +8,10 @@ Gem::Specification.new do |s|
8
8
  s.description = %{MicroFSM implements a minimal/simple Finite-State Machine (FSM). Transitions are triggered by events. Actions for a transition can be added as callbacks.}
9
9
  s.authors = ["Dittmar Krall"]
10
10
  s.email = "dittmar.krall@matiq.com"
11
- s.homepage = "https://matiq.com"
11
+ s.homepage = "https://github.com/matique/microfsm"
12
12
  s.license = "MIT"
13
13
  s.platform = Gem::Platform::RUBY
14
14
 
15
- s.metadata["source_code_uri"] = "https://github.com/matique/microfsm"
16
-
17
15
  s.files = `git ls-files`.split("\n")
18
16
 
19
17
  s.add_development_dependency "rake"
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.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dittmar Krall
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-25 00:00:00.000000000 Z
11
+ date: 2023-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -64,11 +64,10 @@ files:
64
64
  - test/introspection_test.rb
65
65
  - test/microfsm_test.rb
66
66
  - test/test_helper.rb
67
- homepage: https://matiq.com
67
+ homepage: https://github.com/matique/microfsm
68
68
  licenses:
69
69
  - MIT
70
- metadata:
71
- source_code_uri: https://github.com/matique/microfsm
70
+ metadata: {}
72
71
  post_install_message:
73
72
  rdoc_options: []
74
73
  require_paths:
@@ -84,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
83
  - !ruby/object:Gem::Version
85
84
  version: '0'
86
85
  requirements: []
87
- rubygems_version: 3.4.10
86
+ rubygems_version: 3.4.20
88
87
  signing_key:
89
88
  specification_version: 4
90
89
  summary: Minimal Finite State Machine.