cmdx-parallel 0.1.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 4e76ee1c69f488308751623aea5e54956fc18d5321a6f7b1b94d9bd785d0d285
4
+ data.tar.gz: def73effd677abbae9475fbc768ec6e401fe796503b8abdfebd330cdd8907183
5
+ SHA512:
6
+ metadata.gz: a6cb0ace3156289127ad9e54e02662632e3a68d2168bb87d6dc23c4b759c260c2da4dc5b99eda1df032c6477ef1717b72c086bfbea1465966602104513bbe656
7
+ data.tar.gz: 70eb23375b9a0a1a6ea95dd08f8a550ed2ff953c26d0496ba065359f748588bab6e0301d8d1456847a84cabe6203bdb55e643a525e34cdb6e194e8d5a58b658a
@@ -0,0 +1,12 @@
1
+ You are a senior Ruby developer with expert knowledge of CMDx and writing documentation.
2
+
3
+ Update the active tab using the following guidelines:
4
+
5
+ - Follow best practices and implementation
6
+ - Use a consistent professional voice
7
+ - Examples should be concise, non-repetitive, and realistic
8
+ - Update any pre-existing documentation to match stated rules
9
+ - Examples should not cross boundaries or focus
10
+ - Docs must cover both typical use cases, including invalid inputs and error conditions
11
+ - Use GitHub flavored markdown, including alerts to emphasize critical information (https://github.com/orgs/community/discussions/16925)
12
+ - Optimize for LLM's including coding and AI agents
@@ -0,0 +1,20 @@
1
+ Process the following instructions in the order given:
2
+
3
+ 1. Create an `LLM.md` file
4
+ 2. Append all files within `docs/**/*.md` into @LLM.md
5
+ 2a. Use order outlined in the table of contents of @README.md
6
+ 2b. Process one file at a time faster performance and improved accuracy
7
+ 2c. Remove the table of contents from the chunk
8
+ 2c. Remove the navigations below `---` from the chunk
9
+ 2d. Wrap the chunk the files GitHub url the top and a spacer at the bottom like so:
10
+ ```
11
+
12
+ ---
13
+ url: https://github.com/drexed/cmdx/blob/main/docs/callbacks.md
14
+ ---
15
+
16
+ {{ chunk }}
17
+
18
+ ---
19
+
20
+ ```
@@ -0,0 +1,24 @@
1
+ You are a senior Ruby developer with expert knowledge of RSpec.
2
+
3
+ Add tests for the active tab using the following guidelines:
4
+
5
+ - Expectations should be concise, non-repetitive, and realistic (how it would be used in the real world)
6
+ - Follow best practices and implementation
7
+ - Update any pre-existing specs to match stated rules
8
+ - New tests should be consistent with current `spec/cmdx` specs
9
+ - Use custom matchers available within `lib/cmdx/rspec`
10
+ - Use task helpers available within `spec/support/helpers`
11
+ - Use stubs to return predefined values for specific methods. Isolate the unit being tested, but avoid over-mocking; test real behavior when possible (mocks should be used only when necessary)
12
+ - Ensure each test is independent; avoid shared state between tests
13
+ - Use let and let! to define test data, ensuring minimal and necessary setup
14
+ - Context block descriptions should start with the following words: `when`, `with`, `without`
15
+ - Organize tests logically using describe for classes/modules and context for different scenarios
16
+ - Use subject to define the object under test when appropriate to avoid repetition
17
+ - Ensure test file paths mirror the structure of the files being tested, but within the spec directory (e.g., lib/cmdx/task.rb → spec/cmdx/task_spec.rb)
18
+ - Use clear and descriptive names for describe, context, and it blocks
19
+ - Prefer the expect syntax for assertions to improve readability
20
+ - Keep test code concise; avoid unnecessary complexity or duplication
21
+ - Tests must cover both typical cases and edge cases, including invalid inputs and error conditions
22
+ - Consider all possible scenarios for each method or behavior and ensure they are tested
23
+ - Do NOT include integration or real world examples
24
+ - Verify all specs are passing
@@ -0,0 +1,14 @@
1
+ You are a senior Ruby developer with expert knowledge of YARDoc.
2
+
3
+ Add yardoc to the active tab using the following guidelines:
4
+
5
+ - Follow best practices and implementation
6
+ - New documentation should be consistent with current `lib/cmdx` documentation
7
+ - Examples should be concise, non-repetitive, and realistic
8
+ - Avoid unnecessary complexity or duplication
9
+ - Update any pre-existing documentation to match stated rules
10
+ - Do NOT include `CMDx` module level docs
11
+ - Module level docs description should NOT include `@example`
12
+ - Method level docs should include `@example`, `param`, `@options`, `@return`, and any `@raise`
13
+ - Hash `@params` should expand with possible `@option`
14
+ - Module and method level docs should NOT include `@since`
@@ -0,0 +1,60 @@
1
+ ---
2
+ description:
3
+ globs:
4
+ alwaysApply: true
5
+ ---
6
+
7
+ # Ruby Coding Standards
8
+
9
+ Follow the official Ruby gem guides for best practices.
10
+ Reference the guides outlined in https://guides.rubygems.org
11
+
12
+ ## Project Context
13
+ CMDx provides a framework for designing and executing complex
14
+ business logic within service/command objects.
15
+
16
+ ## Technology Stack
17
+ - Ruby 3.4+
18
+ - RSpec 3.1+
19
+
20
+ ## Code Style and Structure
21
+ - Write concise, idiomatic Ruby code with accurate examples
22
+ - Follow Ruby conventions and best practices
23
+ - Use object-oriented and functional programming patterns as appropriate
24
+ - Prefer iteration and modularization over code duplication
25
+ - Use descriptive variable and method names (e.g., user_signed_in?, calculate_total)
26
+ - Write comprehensive code documentation using the Yardoc format
27
+
28
+ ## Naming Conventions
29
+ - Use snake_case for file names, method names, and variables
30
+ - Use CamelCase for class and module names
31
+
32
+ ## Syntax and Formatting
33
+ - Follow the Ruby Style Guide (https://rubystyle.guide/)
34
+ - Follow Ruby style conventions (2-space indentation, snake_case methods)
35
+ - Use Ruby's expressive syntax (e.g., unless, ||=, &.)
36
+ - Prefer double quotes for strings
37
+ - Respect my Rubocop options
38
+
39
+ ## Performance Optimization
40
+ - Use memoization for expensive operations
41
+
42
+ ## Testing
43
+ - Follow the RSpec Style Guide (https://rspec.rubystyle.guide/)
44
+ - Write comprehensive tests using RSpec
45
+ - It's ok to put multiple assertions in the same example
46
+ - Include both BDD and TDD based tests
47
+ - Create test objects to share across tests
48
+ - Do NOT make tests for obvious or reflective expectations
49
+ - Prefer real objects over mocks. Use `instance_double` if necessary; never `double`
50
+ - Don't test declarative configuration
51
+ - Use appropriate matchers
52
+ - Update tests and update Yardocs after you write code
53
+
54
+ ## Documentation
55
+ - Utilize the YARDoc format when documenting Ruby code
56
+ - Follow these best practices:
57
+ - Avoid redundant comments that merely restate the code
58
+ - Keep comments up-to-date with code changes
59
+ - Keep documentation consistent
60
+ - Update CHANGELOG.md with any changes
data/.irbrc ADDED
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "pp"
4
+
5
+ # To reload the gem, you must exit and restart the IRB session
6
+ require_relative "lib/cmdx/parallel" unless defined?(CMDx::Parallel)
data/.rspec ADDED
@@ -0,0 +1,4 @@
1
+ --backtrace
2
+ --color
3
+ --format progress
4
+ --order random
data/.rubocop.yml ADDED
@@ -0,0 +1,54 @@
1
+ plugins:
2
+ - rubocop-performance
3
+ - rubocop-rake
4
+ - rubocop-rspec
5
+ AllCops:
6
+ NewCops: enable
7
+ DisplayCopNames: true
8
+ DisplayStyleGuide: true
9
+ TargetRubyVersion: 3.1
10
+ Gemspec/DevelopmentDependencies:
11
+ EnforcedStyle: gemspec
12
+ Layout/EmptyLinesAroundAttributeAccessor:
13
+ Enabled: true
14
+ Layout/EmptyLinesAroundClassBody:
15
+ EnforcedStyle: empty_lines_except_namespace
16
+ Layout/EmptyLinesAroundModuleBody:
17
+ EnforcedStyle: empty_lines_except_namespace
18
+ Layout/FirstHashElementIndentation:
19
+ EnforcedStyle: consistent
20
+ Layout/LineLength:
21
+ Enabled: false
22
+ Metrics/AbcSize:
23
+ Enabled: false
24
+ RSpec/ExampleLength:
25
+ Enabled: false
26
+ RSpec/IndexedLet:
27
+ Enabled: false
28
+ RSpec/MessageSpies:
29
+ EnforcedStyle: receive
30
+ RSpec/MultipleExpectations:
31
+ Enabled: false
32
+ RSpec/MultipleMemoizedHelpers:
33
+ Enabled: false
34
+ RSpec/NestedGroups:
35
+ Enabled: false
36
+ RSpec/SpecFilePathFormat:
37
+ CustomTransform:
38
+ CMDx: cmdx
39
+ RSpec/SubjectStub:
40
+ Enabled: false
41
+ RSpec/StubbedMock:
42
+ Enabled: false
43
+ RSpec/VerifiedDoubleReference:
44
+ Enabled: false
45
+ Style/Documentation:
46
+ Enabled: false
47
+ Style/FrozenStringLiteralComment:
48
+ Enabled: true
49
+ EnforcedStyle: always_true
50
+ SafeAutoCorrect: true
51
+ Style/ModuleFunction:
52
+ EnforcedStyle: extend_self
53
+ Style/StringLiterals:
54
+ EnforcedStyle: double_quotes
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 3.4.5
data/CHANGELOG.md ADDED
@@ -0,0 +1,12 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
+
7
+ ## [TODO]
8
+
9
+ ## [0.1.0] - 2025-08-22
10
+
11
+ ### Added
12
+ - Initial release
@@ -0,0 +1,132 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our
6
+ community a harassment-free experience for everyone, regardless of age, body
7
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
8
+ identity and expression, level of experience, education, socio-economic status,
9
+ nationality, personal appearance, race, caste, color, religion, or sexual
10
+ identity and orientation.
11
+
12
+ We pledge to act and interact in ways that contribute to an open, welcoming,
13
+ diverse, inclusive, and healthy community.
14
+
15
+ ## Our Standards
16
+
17
+ Examples of behavior that contributes to a positive environment for our
18
+ community include:
19
+
20
+ * Demonstrating empathy and kindness toward other people
21
+ * Being respectful of differing opinions, viewpoints, and experiences
22
+ * Giving and gracefully accepting constructive feedback
23
+ * Accepting responsibility and apologizing to those affected by our mistakes,
24
+ and learning from the experience
25
+ * Focusing on what is best not just for us as individuals, but for the overall
26
+ community
27
+
28
+ Examples of unacceptable behavior include:
29
+
30
+ * The use of sexualized language or imagery, and sexual attention or advances of
31
+ any kind
32
+ * Trolling, insulting or derogatory comments, and personal or political attacks
33
+ * Public or private harassment
34
+ * Publishing others' private information, such as a physical or email address,
35
+ without their explicit permission
36
+ * Other conduct which could reasonably be considered inappropriate in a
37
+ professional setting
38
+
39
+ ## Enforcement Responsibilities
40
+
41
+ Community leaders are responsible for clarifying and enforcing our standards of
42
+ acceptable behavior and will take appropriate and fair corrective action in
43
+ response to any behavior that they deem inappropriate, threatening, offensive,
44
+ or harmful.
45
+
46
+ Community leaders have the right and responsibility to remove, edit, or reject
47
+ comments, commits, code, wiki edits, issues, and other contributions that are
48
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
49
+ decisions when appropriate.
50
+
51
+ ## Scope
52
+
53
+ This Code of Conduct applies within all community spaces, and also applies when
54
+ an individual is officially representing the community in public spaces.
55
+ Examples of representing our community include using an official email address,
56
+ posting via an official social media account, or acting as an appointed
57
+ representative at an online or offline event.
58
+
59
+ ## Enforcement
60
+
61
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
+ reported to the community leaders responsible for enforcement at
63
+ [INSERT CONTACT METHOD].
64
+ All complaints will be reviewed and investigated promptly and fairly.
65
+
66
+ All community leaders are obligated to respect the privacy and security of the
67
+ reporter of any incident.
68
+
69
+ ## Enforcement Guidelines
70
+
71
+ Community leaders will follow these Community Impact Guidelines in determining
72
+ the consequences for any action they deem in violation of this Code of Conduct:
73
+
74
+ ### 1. Correction
75
+
76
+ **Community Impact**: Use of inappropriate language or other behavior deemed
77
+ unprofessional or unwelcome in the community.
78
+
79
+ **Consequence**: A private, written warning from community leaders, providing
80
+ clarity around the nature of the violation and an explanation of why the
81
+ behavior was inappropriate. A public apology may be requested.
82
+
83
+ ### 2. Warning
84
+
85
+ **Community Impact**: A violation through a single incident or series of
86
+ actions.
87
+
88
+ **Consequence**: A warning with consequences for continued behavior. No
89
+ interaction with the people involved, including unsolicited interaction with
90
+ those enforcing the Code of Conduct, for a specified period of time. This
91
+ includes avoiding interactions in community spaces as well as external channels
92
+ like social media. Violating these terms may lead to a temporary or permanent
93
+ ban.
94
+
95
+ ### 3. Temporary Ban
96
+
97
+ **Community Impact**: A serious violation of community standards, including
98
+ sustained inappropriate behavior.
99
+
100
+ **Consequence**: A temporary ban from any sort of interaction or public
101
+ communication with the community for a specified period of time. No public or
102
+ private interaction with the people involved, including unsolicited interaction
103
+ with those enforcing the Code of Conduct, is allowed during this period.
104
+ Violating these terms may lead to a permanent ban.
105
+
106
+ ### 4. Permanent Ban
107
+
108
+ **Community Impact**: Demonstrating a pattern of violation of community
109
+ standards, including sustained inappropriate behavior, harassment of an
110
+ individual, or aggression toward or disparagement of classes of individuals.
111
+
112
+ **Consequence**: A permanent ban from any sort of public interaction within the
113
+ community.
114
+
115
+ ## Attribution
116
+
117
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118
+ version 2.1, available at
119
+ [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
120
+
121
+ Community Impact Guidelines were inspired by
122
+ [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
123
+
124
+ For answers to common questions about this code of conduct, see the FAQ at
125
+ [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
126
+ [https://www.contributor-covenant.org/translations][translations].
127
+
128
+ [homepage]: https://www.contributor-covenant.org
129
+ [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
130
+ [Mozilla CoC]: https://github.com/mozilla/diversity
131
+ [FAQ]: https://www.contributor-covenant.org/faq
132
+ [translations]: https://www.contributor-covenant.org/translations
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2025 Juan Gomez
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,75 @@
1
+ <p align="center">
2
+ <img src="./src/cmdx-parallel-logo.png" width="200" alt="CMDx::Parallel Logo">
3
+ </p>
4
+
5
+ <p align="center">
6
+ <img alt="Version" src="https://img.shields.io/gem/v/cmdx-parallel">
7
+ <img alt="Build" src="https://github.com/drexed/cmdx-parallel/actions/workflows/ci.yml/badge.svg">
8
+ <img alt="License" src="https://img.shields.io/github/license/drexed/cmdx-parallel">
9
+ </p>
10
+
11
+ # CMDx::Parallel
12
+
13
+ Parallelization execution of workflow tasks for [CMDx](https://github.com/drexed/cmdx).
14
+
15
+ ## Installation
16
+
17
+ Add this line to your application's Gemfile:
18
+
19
+ ```ruby
20
+ gem 'cmdx-parallel'
21
+ ```
22
+
23
+ And then execute:
24
+
25
+ $ bundle
26
+
27
+ Or install it yourself as:
28
+
29
+ $ gem install cmdx-parallel
30
+
31
+ ## Usage
32
+
33
+ CMDx::Parallel leverages the [Parallel](https://github.com/grosser/parallel) for parallel processing. The gem detects the number of processors available to maximize the number of tasks that could be executed in parallel.
34
+
35
+ ```ruby
36
+ class SendWelcomeNotifications < CMDx::Task
37
+ include CMDx::Workflow
38
+
39
+ tasks SendWelcomeEmail, SendWelcomeSms, SendWelcomePush, process: :parallel
40
+ end
41
+ ```
42
+
43
+ ### Options
44
+
45
+ Reference the [Parallel](https://github.com/grosser/parallel) gem for all processing options.
46
+
47
+ ```ruby
48
+ class SendWelcomeNotifications < CMDx::Task
49
+ include CMDx::Workflow
50
+
51
+ # Threads
52
+ tasks SendWelcomeEmail, SendWelcomeSms, SendWelcomePush, process: :parallel, in_threads: 2
53
+
54
+ # Processes
55
+ tasks SendWelcomeEmail, SendWelcomeSms, SendWelcomePush, process: :parallel, in_processes: 2
56
+ end
57
+ ```
58
+
59
+ ## Development
60
+
61
+ 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.
62
+
63
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
64
+
65
+ ## Contributing
66
+
67
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/cmdx-parallel. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/cmdx-parallel/blob/master/CODE_OF_CONDUCT.md).
68
+
69
+ ## License
70
+
71
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
72
+
73
+ ## Code of Conduct
74
+
75
+ Everyone interacting in the Cmdx::Parallel project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/cmdx-parallel/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,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CMDx
4
+ module Parallel
5
+
6
+ VERSION = "0.1.0"
7
+
8
+ end
9
+ end
@@ -0,0 +1,76 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "cmdx"
4
+ require "parallel"
5
+ require "zeitwerk"
6
+
7
+ module CMDx
8
+ # Provides parallel execution capabilities for CMDx pipeline tasks.
9
+ #
10
+ # This module extends CMDx::Pipeline to support parallel task execution
11
+ # using the parallel gem, allowing tasks within a group to run concurrently
12
+ # when the :parallel strategy is specified.
13
+ module Parallel
14
+
15
+ private
16
+
17
+ # Executes a group of tasks using the specified execution strategy.
18
+ #
19
+ # @param group [CMDx::Group] The task group to execute
20
+ # @param breakpoints [Array<Symbol>] Status values that trigger execution breaks
21
+ # @option group.options [Symbol, String] :strategy Execution strategy (:sequential, :parallel, or nil for default)
22
+ #
23
+ # @return [void]
24
+ #
25
+ # @raise [RuntimeError] When an unknown execution strategy is specified
26
+ #
27
+ # @example
28
+ # execute_group_tasks(group, ["failed", "skipped"])
29
+ def execute_group_tasks(group, breakpoints)
30
+ case strategy = group.options[:strategy]
31
+ when NilClass, /sequential/ then execute_tasks_in_sequence(group, breakpoints)
32
+ when /parallel/ then execute_tasks_in_parallel(group, breakpoints)
33
+ else raise "unknown execution strategy #{strategy.inspect}"
34
+ end
35
+ end
36
+
37
+ # Executes tasks in parallel using the parallel gem.
38
+ #
39
+ # @param group [CMDx::Group] The task group to execute in parallel
40
+ # @param breakpoints [Array<Symbol>] Status values that trigger execution breaks
41
+ # @option group.options [Integer] :in_threads Number of threads to use
42
+ # @option group.options [Integer] :in_processes Number of processes to use
43
+ #
44
+ # @return [void]
45
+ #
46
+ # @raise [Parallel::Break] When a task result matches breakpoint conditions
47
+ #
48
+ # @example
49
+ # execute_tasks_in_parallel(group, ["failed"])
50
+ def execute_tasks_in_parallel(group, breakpoints)
51
+ parallel_options = group.options.slice(:in_threads, :in_processes)
52
+ throwable_result = nil
53
+
54
+ ::Parallel.each(group.tasks, **parallel_options) do |task|
55
+ Chain.current = workflow.chain
56
+
57
+ task_result = task.execute(workflow.context)
58
+ next unless breakpoints.include?(task_result.status)
59
+
60
+ raise ::Parallel::Break, throwable_result = task_result
61
+ end
62
+
63
+ return if throwable_result.nil?
64
+
65
+ workflow.throw!(throwable_result)
66
+ end
67
+
68
+ end
69
+ end
70
+
71
+ CMDx::Pipeline.prepend(CMDx::Parallel)
72
+
73
+ # Set up Zeitwerk loader for the CMDx gem
74
+ loader = Zeitwerk::Loader.for_gem
75
+ loader.inflector.inflect("cmdx" => "CMDx")
76
+ loader.setup
Binary file
metadata ADDED
@@ -0,0 +1,217 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cmdx-parallel
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Juan Gomez
8
+ bindir: exe
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: cmdx
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - ">="
17
+ - !ruby/object:Gem::Version
18
+ version: 1.6.1
19
+ type: :runtime
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - ">="
24
+ - !ruby/object:Gem::Version
25
+ version: 1.6.1
26
+ - !ruby/object:Gem::Dependency
27
+ name: parallel
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ - !ruby/object:Gem::Dependency
41
+ name: zeitwerk
42
+ requirement: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ type: :runtime
48
+ prerelease: false
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ - !ruby/object:Gem::Dependency
55
+ name: bundler
56
+ requirement: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ type: :development
62
+ prerelease: false
63
+ version_requirements: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ - !ruby/object:Gem::Dependency
69
+ name: parallel
70
+ requirement: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ type: :development
76
+ prerelease: false
77
+ version_requirements: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ - !ruby/object:Gem::Dependency
83
+ name: rake
84
+ requirement: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ type: :development
90
+ prerelease: false
91
+ version_requirements: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ - !ruby/object:Gem::Dependency
97
+ name: rspec
98
+ requirement: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ type: :development
104
+ prerelease: false
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: rubocop
112
+ requirement: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ type: :development
118
+ prerelease: false
119
+ version_requirements: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ - !ruby/object:Gem::Dependency
125
+ name: rubocop-performance
126
+ requirement: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
131
+ type: :development
132
+ prerelease: false
133
+ version_requirements: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: '0'
138
+ - !ruby/object:Gem::Dependency
139
+ name: rubocop-rake
140
+ requirement: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - ">="
143
+ - !ruby/object:Gem::Version
144
+ version: '0'
145
+ type: :development
146
+ prerelease: false
147
+ version_requirements: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - ">="
150
+ - !ruby/object:Gem::Version
151
+ version: '0'
152
+ - !ruby/object:Gem::Dependency
153
+ name: rubocop-rspec
154
+ requirement: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - ">="
157
+ - !ruby/object:Gem::Version
158
+ version: '0'
159
+ type: :development
160
+ prerelease: false
161
+ version_requirements: !ruby/object:Gem::Requirement
162
+ requirements:
163
+ - - ">="
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
166
+ description: Parallelization execution of workflow tasks for CMDx.
167
+ email:
168
+ - drexed@users.noreply.github.com
169
+ executables: []
170
+ extensions: []
171
+ extra_rdoc_files: []
172
+ files:
173
+ - ".cursor/prompts/docs.md"
174
+ - ".cursor/prompts/llms.md"
175
+ - ".cursor/prompts/rspec.md"
176
+ - ".cursor/prompts/yardoc.md"
177
+ - ".cursor/rules/cursor-instructions.mdc"
178
+ - ".irbrc"
179
+ - ".rspec"
180
+ - ".rubocop.yml"
181
+ - ".ruby-version"
182
+ - CHANGELOG.md
183
+ - CODE_OF_CONDUCT.md
184
+ - LICENSE.txt
185
+ - README.md
186
+ - Rakefile
187
+ - lib/cmdx/parallel.rb
188
+ - lib/cmdx/parallel/version.rb
189
+ - src/cmdx-parallel-logo.png
190
+ homepage: https://github.com/drexed/cmdx-parallel
191
+ licenses:
192
+ - MIT
193
+ metadata:
194
+ homepage_uri: https://github.com/drexed/cmdx-parallel
195
+ source_code_uri: https://github.com/drexed/cmdx-parallel
196
+ changelog_uri: https://github.com/drexed/cmdx-parallel/blob/main/CHANGELOG.md
197
+ bug_tracker_uri: https://github.com/drexed/cmdx-parallel/issues
198
+ documentation_uri: https://github.com/drexed/cmdx-parallel/blob/main/README.md
199
+ rubygems_mfa_required: 'true'
200
+ rdoc_options: []
201
+ require_paths:
202
+ - lib
203
+ required_ruby_version: !ruby/object:Gem::Requirement
204
+ requirements:
205
+ - - ">="
206
+ - !ruby/object:Gem::Version
207
+ version: 3.1.0
208
+ required_rubygems_version: !ruby/object:Gem::Requirement
209
+ requirements:
210
+ - - ">="
211
+ - !ruby/object:Gem::Version
212
+ version: '0'
213
+ requirements: []
214
+ rubygems_version: 3.7.1
215
+ specification_version: 4
216
+ summary: Parallelization execution of workflow tasks for CMDx.
217
+ test_files: []