cmdx-parallel 0.1.0 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e76ee1c69f488308751623aea5e54956fc18d5321a6f7b1b94d9bd785d0d285
4
- data.tar.gz: def73effd677abbae9475fbc768ec6e401fe796503b8abdfebd330cdd8907183
3
+ metadata.gz: 8236c1fcd0ed96d885a037b21132cb218fab7f33b5a9c06df9e27d0faa7a5bbc
4
+ data.tar.gz: 5cf0d139cc595f4b18b398a318f07c89b37a45b3c80036c9e4ae7fbb5bf4709a
5
5
  SHA512:
6
- metadata.gz: a6cb0ace3156289127ad9e54e02662632e3a68d2168bb87d6dc23c4b759c260c2da4dc5b99eda1df032c6477ef1717b72c086bfbea1465966602104513bbe656
7
- data.tar.gz: 70eb23375b9a0a1a6ea95dd08f8a550ed2ff953c26d0496ba065359f748588bab6e0301d8d1456847a84cabe6203bdb55e643a525e34cdb6e194e8d5a58b658a
6
+ metadata.gz: 86be1be833fd3855c2a8000f1e51763c5248009f5aab6409e3e3aa5c2a7fded0d07d7021da16aa31688fe9795ee3148744ded14427736d330dbc3c67237bc566
7
+ data.tar.gz: d4bd15674f5489b13d7c09f62d207ff52804daec82b413d6d6c82ec649f3167d589d5a6b3698cbcde12d39c38066bde048254e9a61cc7f8202c10fa416092d60
@@ -10,12 +10,14 @@ Follow the official Ruby gem guides for best practices.
10
10
  Reference the guides outlined in https://guides.rubygems.org
11
11
 
12
12
  ## Project Context
13
- CMDx provides a framework for designing and executing complex
14
- business logic within service/command objects.
13
+ CMDx::Parallel provides CMDx with parallel task execution capabilities.
14
+ Reference the CMDx documentation in https://github.com/drexed/cmdx/blob/main/LLM.md
15
+ Reference the CMDx::Parallel documentation in https://github.com/drexed/cmdx-parallel/blob/main/README.md
15
16
 
16
17
  ## Technology Stack
17
18
  - Ruby 3.4+
18
19
  - RSpec 3.1+
20
+ - CMDx 1.6+
19
21
 
20
22
  ## Code Style and Structure
21
23
  - Write concise, idiomatic Ruby code with accurate examples
data/CHANGELOG.md CHANGED
@@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
 
7
7
  ## [TODO]
8
8
 
9
+ ## [0.2.0] - 2025-08-25
10
+
11
+ ### Changed
12
+ - Removed zeitwerk gem dependency
13
+
9
14
  ## [0.1.0] - 2025-08-22
10
15
 
11
16
  ### Added
data/README.md CHANGED
@@ -32,6 +32,9 @@ Or install it yourself as:
32
32
 
33
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
34
 
35
+ > [!WARNING]
36
+ > One important caveat to note is that context cannot be altered within parallel executions. It is best to preload the context with any required data before parallelization begins.
37
+
35
38
  ```ruby
36
39
  class SendWelcomeNotifications < CMDx::Task
37
40
  include CMDx::Workflow
@@ -64,7 +67,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
64
67
 
65
68
  ## Contributing
66
69
 
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).
70
+ Bug reports and pull requests are welcome on GitHub at https://github.com/drexed/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/drexed/cmdx-parallel/blob/master/CODE_OF_CONDUCT.md).
68
71
 
69
72
  ## License
70
73
 
@@ -72,4 +75,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
72
75
 
73
76
  ## Code of Conduct
74
77
 
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).
78
+ 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/drexed/cmdx-parallel/blob/master/CODE_OF_CONDUCT.md).
@@ -3,7 +3,7 @@
3
3
  module CMDx
4
4
  module Parallel
5
5
 
6
- VERSION = "0.1.0"
6
+ VERSION = "0.2.0"
7
7
 
8
8
  end
9
9
  end
data/lib/cmdx/parallel.rb CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  require "cmdx"
4
4
  require "parallel"
5
- require "zeitwerk"
5
+
6
+ require_relative "parallel/version"
6
7
 
7
8
  module CMDx
8
9
  # Provides parallel execution capabilities for CMDx pipeline tasks.
@@ -69,8 +70,3 @@ module CMDx
69
70
  end
70
71
 
71
72
  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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cmdx-parallel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
@@ -37,20 +37,6 @@ dependencies:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
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
40
  - !ruby/object:Gem::Dependency
55
41
  name: bundler
56
42
  requirement: !ruby/object:Gem::Requirement
@@ -65,20 +51,6 @@ dependencies:
65
51
  - - ">="
66
52
  - !ruby/object:Gem::Version
67
53
  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
54
  - !ruby/object:Gem::Dependency
83
55
  name: rake
84
56
  requirement: !ruby/object:Gem::Requirement