cmdx-i18n 0.2.0 → 0.3.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: 330eb1ca9e8ca9a61a2073fa6efcbfe0b9b01f95938e2be371127e9d958e8550
4
- data.tar.gz: 764bea625ce3edd4e85dc2d7273ef220a0c2d523598f9d9dcd8f35bc9874ed62
3
+ metadata.gz: 4f4734775d41a6dd96b82b98b99b28f7d577bdae78a9ced6b4fa43da4d731c61
4
+ data.tar.gz: 20c4295ef038cd0552e88b1676207756c2dd24aa37e4e6981b7e2728534f2886
5
5
  SHA512:
6
- metadata.gz: 87f5e559e7bb2a45696596cfbb26b121db382dbc50789adb81839ae3aa7cebc067672908061a6c837f579a10cf26a6fadd35b99c7a35ed5202203c8e3e59be91
7
- data.tar.gz: 725ae012e65190d74c691dfca4ba2668e3cea89590fd5950b4940bbb609324cbe5a1b7261fbc9831c030159e1702e922978b05f70554a5fcab563bcc07cfb27c
6
+ metadata.gz: c0b944ea2ff2d7b5416871df5175991efa6542854b3061d93d43b9a25d3ffbdfc1f110f1758c763564ba3198a02a30e51b1dd5c925f7734de17d7777eb4e3bfb
7
+ data.tar.gz: bbb8a50ad9361e141bf8f6e0a9a49b5d483f8d59e162a992301765b29e405e683f422d1f9891e818826462da576119013f8f9281a31003dbc12be2177494d958
@@ -12,11 +12,12 @@ Reference the guides outlined in https://guides.rubygems.org
12
12
  ## Project Context
13
13
  CMDx::I18n is a collection of localized translations for the CMDx framework.
14
14
  Reference the CMDx documentation in https://github.com/drexed/cmdx/blob/main/LLM.md
15
+ Reference the CMDx::I18n documentation in https://github.com/drexed/cmdx-i18n/blob/main/README.md
15
16
 
16
17
  ## Technology Stack
17
18
  - Ruby 3.4+
18
19
  - RSpec 3.1+
19
- - CMDx 1.6+
20
+ - CMDx 1.5+
20
21
 
21
22
  ## Code Style and Structure
22
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.3.0] - 2025-08-25
10
+
11
+ ### Changes
12
+ - Removed zeitwerk gem dependency
13
+
9
14
  ## [0.2.0] - 2025-08-24
10
15
 
11
16
  ### Added
data/README.md CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  # CMDx::I18n
12
12
 
13
- Centralization of locale data collection for [CMDx](https://github.com/drexed/cmdx).
13
+ Centralization of locales for [CMDx](https://github.com/drexed/cmdx).
14
14
 
15
15
  ## Installation
16
16
 
@@ -30,9 +30,11 @@ Or install it yourself as:
30
30
 
31
31
  ## Configuration
32
32
 
33
- If the `I18n` gem is installed, `cmdx-i18n` locales are automatically loaded and are managed through the `I18n.available_locales` option.
33
+ If the `I18n` gem is installed in a Rails app, `cmdx-i18n` locales are automatically loaded and are managed through the `I18n.available_locales` option.
34
34
 
35
- Execute the following command to copy any locale to the applications `config/locales` directory:
35
+ ## Local Version
36
+
37
+ Execute the following command to copy any locale to the Rails applications `config/locales` directory:
36
38
 
37
39
  ```bash
38
40
  rails generate cmdx:i18n:locale [LOCALE]
@@ -138,7 +140,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
138
140
 
139
141
  ## Contributing
140
142
 
141
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/cmdx-i18n. 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-i18n/blob/master/CODE_OF_CONDUCT.md).
143
+ Bug reports and pull requests are welcome on GitHub at https://github.com/drexed/cmdx-i18n. 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-i18n/blob/master/CODE_OF_CONDUCT.md).
142
144
 
143
145
  ## License
144
146
 
@@ -146,4 +148,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
146
148
 
147
149
  ## Code of Conduct
148
150
 
149
- Everyone interacting in the Cmdx::I18n project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/cmdx-i18n/blob/master/CODE_OF_CONDUCT.md).
151
+ Everyone interacting in the Cmdx::I18n project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/drexed/cmdx-i18n/blob/master/CODE_OF_CONDUCT.md).
@@ -3,7 +3,7 @@
3
3
  module CMDx
4
4
  module I18n
5
5
 
6
- VERSION = "0.2.0"
6
+ VERSION = "0.3.0"
7
7
 
8
8
  end
9
9
  end
data/lib/cmdx/i18n.rb CHANGED
@@ -1,7 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "cmdx"
4
- require "zeitwerk"
4
+
5
+ require_relative "i18n/version"
5
6
 
6
7
  module CMDx
7
8
  module I18n
@@ -15,12 +16,6 @@ module CMDx
15
16
  end
16
17
  end
17
18
 
18
- # Set up Zeitwerk loader for the CMDx gem
19
- loader = Zeitwerk::Loader.for_gem
20
- loader.inflector.inflect("cmdx" => "CMDx")
21
- loader.ignore("#{__dir__}/locales")
22
- loader.setup
23
-
24
19
  # Conditionally load Rails components if Rails is available
25
20
  require_relative "generators/cmdx/i18n/copy_generator" if defined?(Rails::Generators)
26
21
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cmdx-i18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
@@ -15,28 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - ">="
17
17
  - !ruby/object:Gem::Version
18
- version: 1.5.1
18
+ version: 1.5.0
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - ">="
24
24
  - !ruby/object:Gem::Version
25
- version: 1.5.1
26
- - !ruby/object:Gem::Dependency
27
- name: zeitwerk
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'
25
+ version: 1.5.0
40
26
  - !ruby/object:Gem::Dependency
41
27
  name: bundler
42
28
  requirement: !ruby/object:Gem::Requirement