microfsm 0.1.4 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: afc1b721660dde4225b57491fc30f99a4776473d918c7bb75fe59c103b6da37d
4
- data.tar.gz: 575c2c67815e3ee7250c4aa49ab4a19a952c59bad6bf006cd9cb5b8d09066796
3
+ metadata.gz: 25f7dba6b2b63792351334e86f075f63ad9fcefda142adf3a8659a3526c7cde7
4
+ data.tar.gz: 26aa4f34e819701f1643b408e5c9e11818ddd8792c5756d79c93b5f25c3b44ab
5
5
  SHA512:
6
- metadata.gz: 146a4d85345da08f2030767fb4a203d6e4516004da3ee55e8b115d17f5ef297824d72bfbc828e49369f82ae0cb71853415464f881bc6a32654de96218d465778
7
- data.tar.gz: 407ccf0c6a370b65f7802256bcf588e73f85b604f005e2980ec2e7f223348d6934e43ef1dd371fa82f2085cd2fbb606e73a659bf117528c795a028f954d58bec
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.1", 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/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ .bundle/
2
+ coverage/
3
+ .watchr
4
+
5
+ *.gem
6
+ *.log
7
+ *.lock
8
+ *.sqlite3
9
+ **/*.gem
10
+ **/*.log
11
+ **/*.lock
data/.ruby-gemset CHANGED
@@ -1 +1 @@
1
- rails-7.0
1
+ rails-7.1
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-3.1.3
1
+ ruby-3.2.2
data/Gemfile.lock CHANGED
@@ -1,50 +1,53 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- microfsm (0.1.4)
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.16.3)
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
- parallel (1.22.1)
15
- parser (3.1.3.0)
15
+ parallel (1.23.0)
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.6.1)
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.41.1)
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.1.2.1)
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.23.0, < 2.0)
33
+ rubocop-ast (>= 1.30.0, < 2.0)
30
34
  ruby-progressbar (~> 1.7)
31
- unicode-display_width (>= 1.4.0, < 3.0)
32
- rubocop-ast (1.24.0)
33
- parser (>= 3.1.1.0)
34
- ruby-progressbar (1.11.0)
35
- simplecov (0.21.2)
35
+ unicode-display_width (>= 2.4.0, < 3.0)
36
+ rubocop-ast (1.30.0)
37
+ parser (>= 3.2.1.0)
38
+ ruby-progressbar (1.13.0)
39
+ simplecov (0.22.0)
36
40
  docile (~> 1.1)
37
41
  simplecov-html (~> 0.11)
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.3.0)
45
+ unicode-display_width (2.5.0)
42
46
 
43
47
  PLATFORMS
44
48
  x86_64-linux
45
49
 
46
50
  DEPENDENCIES
47
- bundler
48
51
  microfsm!
49
52
  minitest
50
53
  observr
@@ -54,4 +57,4 @@ DEPENDENCIES
54
57
  simplecov
55
58
 
56
59
  BUNDLED WITH
57
- 2.3.26
60
+ 2.4.22
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2021-2022 Dittmar Krall (www.matiq.com)
3
+ Copyright (c) 2021-2023 Dittmar Krall (www.matiq.com)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
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.
@@ -105,7 +106,5 @@ Check the examples directory for more information.
105
106
 
106
107
  ## Miscellaneous
107
108
 
108
- Copyright (c) 2021-2022 Dittmar Krall (www.matiq.com),
109
- released under the MIT license:
110
-
111
- * https://opensource.org/licenses/MIT
109
+ Copyright (c) 2021-2023 Dittmar Krall (www.matiq.com),
110
+ released under the [MIT license](https://opensource.org/licenses/MIT).
data/lib/version.rb CHANGED
@@ -1,7 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class MicroFSM
4
- VERSION = "0.1.4" # 2022-12-22
4
+ VERSION = "0.1.7" # 2023-12-12
5
+ # VERSION = "0.1.6" # 2023-04-25
6
+ # VERSION = "0.1.5" # 2022-12-22
5
7
  # VERSION = "0.1.3" # 2021-06-22
6
8
  # VERSION = "0.1.2" # 2021-02-10
7
9
  # VERSION = "0.1.1" # 2021-02-08
data/microfsm.gemspec CHANGED
@@ -8,16 +8,12 @@ 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
- s.add_development_dependency "bundler"
20
17
  s.add_development_dependency "rake"
21
-
22
18
  s.add_development_dependency "minitest"
23
19
  end
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: microfsm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
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: 2022-12-22 00:00:00.000000000 Z
11
+ date: 2023-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: rake
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -60,6 +46,7 @@ extensions: []
60
46
  extra_rdoc_files: []
61
47
  files:
62
48
  - ".github/workflows/rake.yml"
49
+ - ".gitignore"
63
50
  - ".ruby-gemset"
64
51
  - ".ruby-version"
65
52
  - Gemfile
@@ -77,11 +64,10 @@ files:
77
64
  - test/introspection_test.rb
78
65
  - test/microfsm_test.rb
79
66
  - test/test_helper.rb
80
- homepage: https://matiq.com
67
+ homepage: https://github.com/matique/microfsm
81
68
  licenses:
82
69
  - MIT
83
- metadata:
84
- source_code_uri: https://github.com/matique/microfsm
70
+ metadata: {}
85
71
  post_install_message:
86
72
  rdoc_options: []
87
73
  require_paths:
@@ -97,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
83
  - !ruby/object:Gem::Version
98
84
  version: '0'
99
85
  requirements: []
100
- rubygems_version: 3.3.26
86
+ rubygems_version: 3.4.20
101
87
  signing_key:
102
88
  specification_version: 4
103
89
  summary: Minimal Finite State Machine.