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 +4 -4
 - data/.github/workflows/rake.yml +10 -14
 - data/.ruby-gemset +1 -1
 - data/Gemfile.lock +17 -13
 - data/README.md +2 -3
 - data/lib/version.rb +2 -1
 - data/microfsm.gemspec +1 -3
 - metadata +5 -6
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 25f7dba6b2b63792351334e86f075f63ad9fcefda142adf3a8659a3526c7cde7
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 26aa4f34e819701f1643b408e5c9e11818ddd8792c5756d79c93b5f25c3b44ab
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 12ccddd7ccdb718d24308ff1401297f4f6b3dec3e0a88dddf2a7bc3201f775184fad58295516c2b758aaa2c7a6b6bcaad745432700eaafaf64e56d2b72e41889
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 2169f5e53d5ae49eddb591bb34cdace9611b12b5fee5099d0cda41e31e753892da0563f86e3f3297bb39c24a2b4c74ba170518597d0e219c14d4a50e8443c3d3
         
     | 
    
        data/.github/workflows/rake.yml
    CHANGED
    
    | 
         @@ -8,19 +8,15 @@ jobs: 
     | 
|
| 
       8 
8 
     | 
    
         
             
                strategy:
         
     | 
| 
       9 
9 
     | 
    
         
             
                  fail-fast: false
         
     | 
| 
       10 
10 
     | 
    
         
             
                  matrix:
         
     | 
| 
       11 
     | 
    
         
            -
                     
     | 
| 
       12 
     | 
    
         
            -
             
     | 
| 
       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 
     | 
    
         
            -
             
     | 
| 
       18 
     | 
    
         
            -
             
     | 
| 
       19 
     | 
    
         
            -
             
     | 
| 
       20 
     | 
    
         
            -
                     
     | 
| 
       21 
     | 
    
         
            -
             
     | 
| 
       22 
     | 
    
         
            -
             
     | 
| 
       23 
     | 
    
         
            -
             
     | 
| 
       24 
     | 
    
         
            -
                    bundle  
     | 
| 
       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. 
     | 
| 
      
 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. 
     | 
| 
      
 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. 
     | 
| 
       12 
     | 
    
         
            -
                 
     | 
| 
      
 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. 
     | 
| 
      
 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 
     | 
| 
       19 
     | 
    
         
            -
                regexp_parser (2.8. 
     | 
| 
       20 
     | 
    
         
            -
                rexml (3.2. 
     | 
| 
      
 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. 
     | 
| 
      
 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. 
     | 
| 
      
 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. 
     | 
| 
      
 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. 
     | 
| 
      
 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. 
     | 
| 
      
 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. 
     | 
| 
      
 60 
     | 
    
         
            +
               2.4.22
         
     | 
    
        data/README.md
    CHANGED
    
    | 
         @@ -1,6 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # MicroFSM
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
3 
     | 
    
         
             
            [](https://badge.fury.io/rb/microfsm)
         
     | 
| 
      
 4 
     | 
    
         
            +
            [](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
    
    
    
        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:// 
     | 
| 
      
 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. 
     | 
| 
      
 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- 
     | 
| 
      
 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:// 
     | 
| 
      
 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. 
     | 
| 
      
 86 
     | 
    
         
            +
            rubygems_version: 3.4.20
         
     | 
| 
       88 
87 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       89 
88 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       90 
89 
     | 
    
         
             
            summary: Minimal Finite State Machine.
         
     |