cmdx 1.15.0 → 1.16.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 +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +2 -1
- data/lib/cmdx/{exceptions.rb → exception.rb} +1 -1
- data/lib/cmdx/version.rb +1 -1
- data/lib/cmdx.rb +4 -4
- data/mkdocs.yml +2 -3
- metadata +18 -4
- /data/lib/cmdx/{faults.rb → fault.rb} +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d864a54c25ea1fd3a30f5c84b760bfa1f50207f7b26e47143876c76e2258b37a
|
|
4
|
+
data.tar.gz: f1381fc4c62e761b0553800ccdd28a1aa0315e8dab4c2504692d936635b07063
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3431a3d16f0ac92ebb52daa8c412d8f9e33975deab27482d6756e00935015100b3edeb008a419d28daf3daa5e3ba59456110b8ef9554a648ebda348d68152609
|
|
7
|
+
data.tar.gz: b7837730a25c052356e45d56c69f2f41baa932362031f4f3f2fb9f5302020fff4ed8d690973afd0b482ba22a38d13091fe47f11b54635f1c321372bcbbf0cf60
|
data/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
### Added
|
|
10
|
+
- Add `CMDx::Exception` alias for `CMDx::Error`
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
- Renamed `exceptions.rb` file to `exception.rb` (zeitwerk issue)
|
|
14
|
+
- Renamed `faults.rb` file to `fault.rb` (zeitwerk issue)
|
|
15
|
+
|
|
9
16
|
## [1.15.0] - 2025-01-21
|
|
10
17
|
|
|
11
18
|
### Added
|
data/README.md
CHANGED
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
[Report Bug](https://github.com/drexed/cmdx/issues) ·
|
|
14
14
|
[Request Feature](https://github.com/drexed/cmdx/issues) ·
|
|
15
15
|
[llms.txt](https://drexed.github.io/cmdx/llms.txt) ·
|
|
16
|
-
[llms-full.txt](https://drexed.github.io/cmdx/llms-full.txt)
|
|
16
|
+
[llms-full.txt](https://drexed.github.io/cmdx/llms-full.txt) ·
|
|
17
|
+
[SKILL.md](https://github.com/drexed/cmdx/blob/main/docs/SKILL.md)
|
|
17
18
|
|
|
18
19
|
<img alt="Version" src="https://img.shields.io/gem/v/cmdx">
|
|
19
20
|
<img alt="Build" src="https://github.com/drexed/cmdx/actions/workflows/ci.yml/badge.svg">
|
|
@@ -7,7 +7,7 @@ module CMDx
|
|
|
7
7
|
# This serves as the root exception class for all errors raised by the CMDx
|
|
8
8
|
# framework. It inherits from StandardError and provides a common base for
|
|
9
9
|
# handling CMDx-specific exceptions.
|
|
10
|
-
Error = Class.new(StandardError)
|
|
10
|
+
Exception = Error = Class.new(StandardError)
|
|
11
11
|
|
|
12
12
|
# Raised when attribute coercion fails during task execution.
|
|
13
13
|
#
|
data/lib/cmdx/version.rb
CHANGED
data/lib/cmdx.rb
CHANGED
|
@@ -35,8 +35,8 @@ end
|
|
|
35
35
|
loader = Zeitwerk::Loader.for_gem
|
|
36
36
|
loader.inflector.inflect("cmdx" => "CMDx", "json" => "JSON")
|
|
37
37
|
loader.ignore("#{__dir__}/cmdx/configuration")
|
|
38
|
-
loader.ignore("#{__dir__}/cmdx/
|
|
39
|
-
loader.ignore("#{__dir__}/cmdx/
|
|
38
|
+
loader.ignore("#{__dir__}/cmdx/exception")
|
|
39
|
+
loader.ignore("#{__dir__}/cmdx/fault")
|
|
40
40
|
loader.ignore("#{__dir__}/cmdx/railtie")
|
|
41
41
|
loader.ignore("#{__dir__}/generators")
|
|
42
42
|
loader.ignore("#{__dir__}/locales")
|
|
@@ -48,11 +48,11 @@ require_relative "cmdx/configuration"
|
|
|
48
48
|
|
|
49
49
|
# Pre-load exceptions to make them available at the top level
|
|
50
50
|
# This ensures CMDx::Error and its descendants are always available
|
|
51
|
-
require_relative "cmdx/
|
|
51
|
+
require_relative "cmdx/exception"
|
|
52
52
|
|
|
53
53
|
# Pre-load fault classes to make them available at the top level
|
|
54
54
|
# This ensures CMDx::FailFault and CMDx::SkipFault are always available
|
|
55
|
-
require_relative "cmdx/
|
|
55
|
+
require_relative "cmdx/fault"
|
|
56
56
|
|
|
57
57
|
# Conditionally load Rails components if Rails is available
|
|
58
58
|
if defined?(Rails::Generators)
|
data/mkdocs.yml
CHANGED
|
@@ -11,6 +11,7 @@ copyright: Drexed, Inc. © 2025 - EoT
|
|
|
11
11
|
|
|
12
12
|
theme:
|
|
13
13
|
name: material
|
|
14
|
+
custom_dir: docs/overrides
|
|
14
15
|
logo: assets/favicon.svg
|
|
15
16
|
favicon: assets/favicon.ico
|
|
16
17
|
icon:
|
|
@@ -144,9 +145,6 @@ plugins:
|
|
|
144
145
|
More:
|
|
145
146
|
- tips_and_tricks.md: Best practices, patterns, and techniques for maintainable CMDx applications
|
|
146
147
|
- comparison.md: Comparison with other command/service object frameworks
|
|
147
|
-
Ecosystem:
|
|
148
|
-
- cmdx-rspec: RSpec test matchers (https://github.com/drexed/cmdx-rspec)
|
|
149
|
-
|
|
150
148
|
nav:
|
|
151
149
|
- Home: index.md
|
|
152
150
|
- Documentation:
|
|
@@ -187,6 +185,7 @@ nav:
|
|
|
187
185
|
- API Documentation: https://drexed.github.io/cmdx/api/index.html
|
|
188
186
|
- llms.txt: https://drexed.github.io/cmdx/llms.txt
|
|
189
187
|
- llms-full.txt: https://drexed.github.io/cmdx/llms-full.txt
|
|
188
|
+
- SKILL.md: https://github.com/drexed/cmdx/blob/main/docs/SKILL.md
|
|
190
189
|
- Ecosystem:
|
|
191
190
|
- cmdx-rspec: https://github.com/drexed/cmdx-rspec
|
|
192
191
|
- Blog: blog/index.md
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cmdx
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.16.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Juan Gomez
|
|
@@ -121,6 +121,20 @@ dependencies:
|
|
|
121
121
|
- - ">="
|
|
122
122
|
- !ruby/object:Gem::Version
|
|
123
123
|
version: '0'
|
|
124
|
+
- !ruby/object:Gem::Dependency
|
|
125
|
+
name: rdoc
|
|
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'
|
|
124
138
|
- !ruby/object:Gem::Dependency
|
|
125
139
|
name: rspec
|
|
126
140
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -257,9 +271,9 @@ files:
|
|
|
257
271
|
- lib/cmdx/context.rb
|
|
258
272
|
- lib/cmdx/deprecator.rb
|
|
259
273
|
- lib/cmdx/errors.rb
|
|
260
|
-
- lib/cmdx/
|
|
274
|
+
- lib/cmdx/exception.rb
|
|
261
275
|
- lib/cmdx/executor.rb
|
|
262
|
-
- lib/cmdx/
|
|
276
|
+
- lib/cmdx/fault.rb
|
|
263
277
|
- lib/cmdx/identifier.rb
|
|
264
278
|
- lib/cmdx/locale.rb
|
|
265
279
|
- lib/cmdx/log_formatters/json.rb
|
|
@@ -406,7 +420,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
406
420
|
- !ruby/object:Gem::Version
|
|
407
421
|
version: '0'
|
|
408
422
|
requirements: []
|
|
409
|
-
rubygems_version: 4.0.
|
|
423
|
+
rubygems_version: 4.0.4
|
|
410
424
|
specification_version: 4
|
|
411
425
|
summary: CMDx is a framework for building maintainable business processes.
|
|
412
426
|
test_files: []
|
|
File without changes
|