aasm_mermaid 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 9fc55f3409b9b1b06fee68ed596f1cd6c56dc8829de3c8f641ee6c66949e8eac
4
+ data.tar.gz: c72cfe45c8fa68fbe24ce9322d323eff1eddab8a84e5a3ec4136c0bcc1bfc5b8
5
+ SHA512:
6
+ metadata.gz: 5e9893c71e5602e11aed0ea749d3ca01495e4273d32d17646a5f7755908c043b38829b661f8b923f445ca92da41f1d94cb77b4ffcab29927aa4ef90a09e870f3
7
+ data.tar.gz: 252c16980e317fba263c1af16312e9c5ec09e822d2b5c5f0e35d9c3faf2b6bbb1124724007aa056d228114120832657154b111770fd79b9b7f6dfc5ae636c056
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,22 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.5
3
+ NewCops: enable
4
+
5
+ Layout/IndentationConsistency:
6
+ EnforcedStyle: indented_internal_methods
7
+
8
+ Style/StringLiterals:
9
+ Enabled: true
10
+ EnforcedStyle: single_quotes
11
+
12
+ Style/StringLiteralsInInterpolation:
13
+ Enabled: true
14
+ EnforcedStyle: double_quotes
15
+
16
+ Layout/LineLength:
17
+ Max: 120
18
+
19
+ Metrics/BlockLength:
20
+ Exclude:
21
+ - 'Rakefile'
22
+ - 'spec/**/*.rb'
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2022-02-19
4
+
5
+ - Initial release
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at iiwo@o2.pl. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/Gemfile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in aasm_mermaid.gemspec
6
+ gemspec
7
+
8
+ gem 'rake', '~> 13.0'
9
+
10
+ gem 'rspec', '~> 3.0'
11
+
12
+ gem 'rubocop', '~> 1.7'
data/Gemfile.lock ADDED
@@ -0,0 +1,59 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ aasm_mermaid (0.1.0)
5
+ aasm
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ aasm (5.2.0)
11
+ concurrent-ruby (~> 1.0)
12
+ ast (2.4.2)
13
+ concurrent-ruby (1.1.9)
14
+ diff-lcs (1.5.0)
15
+ parallel (1.21.0)
16
+ parser (3.1.0.0)
17
+ ast (~> 2.4.1)
18
+ rainbow (3.1.1)
19
+ rake (13.0.6)
20
+ regexp_parser (2.2.1)
21
+ rexml (3.2.5)
22
+ rspec (3.11.0)
23
+ rspec-core (~> 3.11.0)
24
+ rspec-expectations (~> 3.11.0)
25
+ rspec-mocks (~> 3.11.0)
26
+ rspec-core (3.11.0)
27
+ rspec-support (~> 3.11.0)
28
+ rspec-expectations (3.11.0)
29
+ diff-lcs (>= 1.2.0, < 2.0)
30
+ rspec-support (~> 3.11.0)
31
+ rspec-mocks (3.11.0)
32
+ diff-lcs (>= 1.2.0, < 2.0)
33
+ rspec-support (~> 3.11.0)
34
+ rspec-support (3.11.0)
35
+ rubocop (1.25.1)
36
+ parallel (~> 1.10)
37
+ parser (>= 3.1.0.0)
38
+ rainbow (>= 2.2.2, < 4.0)
39
+ regexp_parser (>= 1.8, < 3.0)
40
+ rexml
41
+ rubocop-ast (>= 1.15.1, < 2.0)
42
+ ruby-progressbar (~> 1.7)
43
+ unicode-display_width (>= 1.4.0, < 3.0)
44
+ rubocop-ast (1.15.2)
45
+ parser (>= 3.0.1.1)
46
+ ruby-progressbar (1.11.0)
47
+ unicode-display_width (2.1.0)
48
+
49
+ PLATFORMS
50
+ x86_64-darwin-17
51
+
52
+ DEPENDENCIES
53
+ aasm_mermaid!
54
+ rake (~> 13.0)
55
+ rspec (~> 3.0)
56
+ rubocop (~> 1.7)
57
+
58
+ BUNDLED WITH
59
+ 2.2.27
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 iiwo
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,89 @@
1
+ # AASMMermaid
2
+
3
+ Generate [Mermaid](https://github.com/mermaid-js/mermaid) diagrams from [AASM](https://github.com/aasm/aasm) state machines.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'aasm_mermaid'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle install
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install aasm_mermaid
20
+
21
+ ## Usage
22
+
23
+ for an example AASM:
24
+
25
+ ```ruby
26
+ class TestAASMParentClass
27
+ include AASM
28
+ attr_accessor :state
29
+
30
+ aasm do
31
+ state :sleeping, initial: true
32
+ state :running, :cleaning
33
+
34
+ event :run do
35
+ transitions from: :sleeping, to: :running
36
+ end
37
+
38
+ event :clean do
39
+ transitions from: :running, to: :cleaning
40
+ end
41
+
42
+ event :sleep do
43
+ transitions from: %i[running cleaning], to: :sleeping
44
+ end
45
+
46
+ event :procrastinate do
47
+ transitions to: :sleeping
48
+ end
49
+ end
50
+ end
51
+ ```
52
+
53
+ generate the diagram with:
54
+ ```ruby
55
+ AASMMermaid.generate_diagram_for(aasm: TestAASMParentClass.aasm)
56
+ ```
57
+
58
+ result ([rendered by github](https://github.blog/2022-02-14-include-diagrams-markdown-files-mermaid/)):
59
+
60
+ ```mermaid
61
+ stateDiagram-v2
62
+ sleeping --> running : run
63
+ running --> cleaning : clean
64
+ running --> sleeping : sleep
65
+ cleaning --> sleeping : sleep
66
+ sleeping --> sleeping : procrastinate
67
+ running --> sleeping : procrastinate
68
+ cleaning --> sleeping : procrastinate
69
+ ```
70
+
71
+ ## Development
72
+
73
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
74
+
75
+ To install this gem onto your local machine, run `bundle exec rake install`.
76
+
77
+ ## Contributing
78
+
79
+ Bug reports and pull requests are welcome on GitHub at https://github.com/iiwo/aasm_mermaid.
80
+ This project is intended to be a safe, welcoming space for collaboration,
81
+ and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/aasm_mermaid/blob/master/CODE_OF_CONDUCT.md).
82
+
83
+ ## License
84
+
85
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
86
+
87
+ ## Code of Conduct
88
+
89
+ Everyone interacting in the AASMMermaid project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/aasm_mermaid/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require 'rubocop/rake_task'
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: %i[spec rubocop]
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'lib/aasm_mermaid/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'aasm_mermaid'
7
+ spec.version = AASMMermaid::VERSION
8
+ spec.authors = ['Iwo Dziechciarow']
9
+ spec.email = ['iiwo@o2.pl']
10
+
11
+ spec.summary = 'Generate Mermaid diagrams from AASM state machines'
12
+ spec.description = 'Generate Mermaid diagrams from AASM state machines'
13
+ spec.homepage = 'https://github.com/iiwo'
14
+ spec.license = 'MIT'
15
+ spec.required_ruby_version = '>= 2.5.0'
16
+
17
+ spec.metadata['homepage_uri'] = spec.homepage
18
+ spec.metadata['source_code_uri'] = 'https://github.com/iiwo/aasm_mermaid'
19
+ spec.metadata['changelog_uri'] = 'https://github.com/iiwo/aasm_mermaid/CHANGELOG.md'
20
+
21
+ # Specify which files should be added to the gem when it is released.
22
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
23
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
24
+ `git ls-files -z`.split("\x0").reject do |f|
25
+ (f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
26
+ end
27
+ end
28
+ spec.bindir = 'exe'
29
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
30
+ spec.require_paths = ['lib']
31
+
32
+ # Uncomment to register a new dependency of your gem
33
+ spec.add_dependency 'aasm'
34
+
35
+ # For more information and examples about making a new gem, checkout our
36
+ # guide at: https://bundler.io/guides/creating_gem.html
37
+ spec.metadata['rubygems_mfa_required'] = 'true'
38
+ end
data/bin/console ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'bundler/setup'
5
+ require 'aasm_mermaid'
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ # (If you use this, don't forget to add pry to your Gemfile!)
11
+ # require "pry"
12
+ # Pry.start
13
+
14
+ require 'irb'
15
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+
3
+ module AASMMermaid
4
+ # Mermaid diagram
5
+ # @private
6
+ class Diagram
7
+ # @param aasm [AASM::Base] aasm instance
8
+ def initialize(aasm:)
9
+ self.aasm = aasm
10
+ end
11
+
12
+ # @return [String] Mermaid diagram string
13
+ def generate
14
+ "stateDiagram-v2\n#{transitions_string}"
15
+ end
16
+
17
+ private
18
+
19
+ attr_accessor :aasm
20
+
21
+ def events
22
+ @events ||= aasm.events.map do |aasm_event|
23
+ Event.new(aasm_event: aasm_event)
24
+ end
25
+ end
26
+
27
+ def transitions
28
+ events.map(&:transitions).flatten
29
+ end
30
+
31
+ def transitions_string
32
+ transitions.map(&:to_diagram_string).join("\n")
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,49 @@
1
+ # frozen_string_literal: true
2
+
3
+ module AASMMermaid
4
+ # Handles AASM event mapping to diagram transition rows
5
+ # @private
6
+ class Event
7
+ # @param [AASM::Event] aasm_event - AASM event to map
8
+ def initialize(aasm_event:)
9
+ self.aasm_event = aasm_event
10
+ end
11
+
12
+ # @return [Array<AASMMermaid::Transition>] array of mermaid transition rows
13
+ def transitions
14
+ return @transitions if @transitions
15
+
16
+ @transitions = mapped_transitions
17
+ end
18
+
19
+ private
20
+
21
+ attr_accessor :aasm_event
22
+
23
+ def mapped_transitions
24
+ aasm_transitions.map do |aasm_transition|
25
+ transitions_for(aasm_transition: aasm_transition)
26
+ end.flatten.uniq
27
+ end
28
+
29
+ def states
30
+ aasm_event.state_machine.states.map(&:name)
31
+ end
32
+
33
+ def aasm_transitions
34
+ aasm_event.transitions
35
+ end
36
+
37
+ # @param [Object] aasm_transition
38
+ # @return [Array<AASMMermaid::Transition>]
39
+ def transitions_for(aasm_transition:)
40
+ if aasm_transition.from.nil?
41
+ states.map do |state|
42
+ Transition.new(from: state, to: aasm_transition.to.to_s, event_name: aasm_event.name)
43
+ end
44
+ else
45
+ [Transition.new(from: aasm_transition.from.to_s, to: aasm_transition.to.to_s, event_name: aasm_event.name)]
46
+ end
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,32 @@
1
+ # frozen_string_literal: true
2
+
3
+ module AASMMermaid
4
+ # Represents a diagram transition row
5
+ # @private
6
+ class Transition
7
+ attr_reader :from, :to, :event_name
8
+
9
+ # @param [String, Symbol] from - from transition name
10
+ # @param [String, Symbol] to - to transition name
11
+ # @param [String, Symbol] event_name - transition event name
12
+ def initialize(from:, to:, event_name:)
13
+ self.from = from
14
+ self.to = to
15
+ self.event_name = event_name
16
+ end
17
+
18
+ # @return [true,false] true if given objet is equal, false otherwise
19
+ def ==(other)
20
+ from.to_s == other.from.to_s && to.to_s == other.to.to_s && event_name == other.event_name
21
+ end
22
+
23
+ # @return [String] mermaid diagram string
24
+ def to_diagram_string
25
+ " #{from} --> #{to} : #{event_name}"
26
+ end
27
+
28
+ private
29
+
30
+ attr_writer :from, :to, :event_name
31
+ end
32
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module AASMMermaid
4
+ VERSION = '0.1.0'
5
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'aasm_mermaid/version'
4
+ require_relative 'aasm_mermaid/transition'
5
+ require_relative 'aasm_mermaid/event'
6
+ require_relative 'aasm_mermaid/diagram'
7
+
8
+ # Mermaid diagrams from AASM state machines
9
+ #
10
+ # @example generate a Mermaid diagram
11
+ # AASMMermaid.generate_diagram_for(aasm: SomeClass.aasm)
12
+ #
13
+ module AASMMermaid
14
+ # @param aasm [AASM::Base] aasm instance
15
+ # @return [String] Mermaid diagram string
16
+ def self.generate_diagram_for(aasm:)
17
+ Diagram.new(aasm: aasm).generate
18
+ end
19
+ end
metadata ADDED
@@ -0,0 +1,78 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: aasm_mermaid
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Iwo Dziechciarow
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2022-02-22 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: aasm
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ description: Generate Mermaid diagrams from AASM state machines
28
+ email:
29
+ - iiwo@o2.pl
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - ".rspec"
35
+ - ".rubocop.yml"
36
+ - CHANGELOG.md
37
+ - CODE_OF_CONDUCT.md
38
+ - Gemfile
39
+ - Gemfile.lock
40
+ - LICENSE.txt
41
+ - README.md
42
+ - Rakefile
43
+ - aasm_mermaid.gemspec
44
+ - bin/console
45
+ - bin/setup
46
+ - lib/aasm_mermaid.rb
47
+ - lib/aasm_mermaid/diagram.rb
48
+ - lib/aasm_mermaid/event.rb
49
+ - lib/aasm_mermaid/transition.rb
50
+ - lib/aasm_mermaid/version.rb
51
+ homepage: https://github.com/iiwo
52
+ licenses:
53
+ - MIT
54
+ metadata:
55
+ homepage_uri: https://github.com/iiwo
56
+ source_code_uri: https://github.com/iiwo/aasm_mermaid
57
+ changelog_uri: https://github.com/iiwo/aasm_mermaid/CHANGELOG.md
58
+ rubygems_mfa_required: 'true'
59
+ post_install_message:
60
+ rdoc_options: []
61
+ require_paths:
62
+ - lib
63
+ required_ruby_version: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: 2.5.0
68
+ required_rubygems_version: !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: '0'
73
+ requirements: []
74
+ rubygems_version: 3.2.9
75
+ signing_key:
76
+ specification_version: 4
77
+ summary: Generate Mermaid diagrams from AASM state machines
78
+ test_files: []