complex_config 0.22.3 → 0.23.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/CHANGES.md +36 -19
- data/README.md +610 -105
- data/Rakefile +6 -4
- data/VERSION +1 -1
- data/bin/complex_config +31 -1
- data/complex_config.gemspec +4 -3
- data/lib/complex_config/config.rb +46 -1
- data/lib/complex_config/encryption.rb +58 -0
- data/lib/complex_config/errors.rb +88 -0
- data/lib/complex_config/key_source.rb +32 -0
- data/lib/complex_config/provider/shortcuts.rb +34 -0
- data/lib/complex_config/provider.rb +342 -0
- data/lib/complex_config/proxy.rb +32 -0
- data/lib/complex_config/railtie.rb +5 -0
- data/lib/complex_config/settings.rb +374 -2
- data/lib/complex_config/tree.rb +93 -0
- data/lib/complex_config/version.rb +1 -1
- data/lib/complex_config.rb +13 -0
- data/spec/spec_helper.rb +4 -5
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1deb5e4f387e2e1e88e6636f2354b4ee7ec0552ae2ab2e8b74c29f26338d7c35
|
4
|
+
data.tar.gz: 169a0f8fceca97a3444f7522b449dc051783680770e4f16f1a657d6b8cf05253
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6970033043150fd167e40be0ee30e4dfc42faa4c18ed916256f78f9cdf2d50526509e234ef0449607d45856368efcd254ea53277b2154b15481eb0cd3398764b
|
7
|
+
data.tar.gz: 5e154605e6557eb0ec33893b275241c7445195f33528001269c6f86fe1558e882690d3bccbe2a864440f95fdca2c7f8e494c92d13803b7d58ad5894a689c0732
|
data/CHANGES.md
CHANGED
@@ -1,5 +1,24 @@
|
|
1
1
|
# Changes
|
2
2
|
|
3
|
+
## 2025-09-14 v0.23.0
|
4
|
+
|
5
|
+
- **README overhaul** with comprehensive encryption documentation, debugging
|
6
|
+
section, architecture overview, error handling guides, YARD integration,
|
7
|
+
emoji formatting, and updated license link
|
8
|
+
- **Enhanced YARD documentation** integrated at module and class levels with
|
9
|
+
comprehensive method documentation, for improved code documentation quality
|
10
|
+
and developer experience.
|
11
|
+
- **Test coverage configuration** updated to use `GemHadar::SimpleCov` for
|
12
|
+
improved coverage analysis.
|
13
|
+
|
14
|
+
## 2025-09-11 v0.22.3
|
15
|
+
|
16
|
+
- Dependencies updated
|
17
|
+
- `gem_hadar`: Updated to **2.4**
|
18
|
+
- `tins`: Updated to **1**
|
19
|
+
- `mize`: Updated to **0.6**
|
20
|
+
- Added support for **Ruby 3.4** images in `all_images`
|
21
|
+
|
3
22
|
## 2024-10-21 v0.22.2
|
4
23
|
|
5
24
|
* Update file to handle ENOENT and ENOTDIR errors when reading from file:
|
@@ -7,12 +26,11 @@
|
|
7
26
|
+ Rescue both `Errno::ENOENT` and `Errno::ENOTDIR` exceptions for robustness
|
8
27
|
* Improved test(s) in specs:
|
9
28
|
+ Removed unneeded `allow` statement from `provider_spec.rb`
|
10
|
-
+ Modified `shortcuts_spec.rb` to use `at_least(:once)` for
|
29
|
+
+ Modified `shortcuts_spec.rb` to use `at_least(:once)` for
|
30
|
+
`expect(provider).to receive(:env)`
|
11
31
|
|
12
32
|
## 2024-09-22 v0.22.1
|
13
33
|
|
14
|
-
#### Bug Fixes and Improvements
|
15
|
-
|
16
34
|
* Refactor ComplexConfig settings and specs to handle nil values:
|
17
35
|
* Added `nil` handling in `ComplexConfig::Settings`
|
18
36
|
* Updated `settings_spec.rb` to test for `nil` values
|
@@ -20,17 +38,14 @@
|
|
20
38
|
- Removed development dependency `'utils'` from Rakefile.
|
21
39
|
- Updated date in `complex_config.gemspec` from "2024-09-13" to "2024-09-22"
|
22
40
|
|
23
|
-
* Bumped version to **0.22.1**:
|
24
|
-
- Updated `VERSION` in `lib/complex_config/version.rb` from **0.22.0** to **0.22.1**
|
25
|
-
- Updated `s.version` in `complex_config.gemspec` from **0.22.0** to **0.22.1**
|
26
|
-
- Updated gem stub version in `complex_config.gemspec` from **0.22.0** to **0.22.1**
|
27
|
-
|
28
41
|
## 2024-09-12 v0.22.0
|
29
42
|
|
30
43
|
* **New Feature: UTF-8 Support**
|
31
44
|
+ Added `utf8` parameter to `Tree#initialize`
|
32
|
-
+ Introduced `default_utf8` method to determine default encoding based on
|
33
|
-
|
45
|
+
+ Introduced `default_utf8` method to determine default encoding based on
|
46
|
+
environment variables
|
47
|
+
+ Modified `inner_child_prefix` and `last_child_prefix` methods for UTF-8 and
|
48
|
+
ASCII encodings
|
34
49
|
+ Updated tests in `spec/complex_config/settings_spec.rb`
|
35
50
|
|
36
51
|
## 2024-09-09 v0.21.2
|
@@ -42,9 +57,11 @@
|
|
42
57
|
## 2024-09-09 v0.21.1
|
43
58
|
|
44
59
|
* **API Changes**:
|
45
|
-
* The default string representation of ComplexConfig has been changed to a
|
60
|
+
* The default string representation of ComplexConfig has been changed to a
|
61
|
+
tree-like structure.
|
46
62
|
* The `to_s` method in ComplexConfig::Settings has been renamed to `list`.
|
47
|
-
* A new `list` method has been added to ComplexConfig::Settings for listing
|
63
|
+
* A new `list` method has been added to ComplexConfig::Settings for listing
|
64
|
+
settings as a string.
|
48
65
|
|
49
66
|
## 2024-09-09 v0.21.0
|
50
67
|
|
@@ -55,15 +72,15 @@
|
|
55
72
|
* **Components Array**: Add components array for flux capacitors
|
56
73
|
* **Rakefile and Gemspec**:
|
57
74
|
- Add clobber task for coverage to Rakefile
|
58
|
-
- Update all_images script: update `bundle` to `bundle install --full-index`
|
75
|
+
- Update `all_images` script: update `bundle` to `bundle install --full-index`
|
59
76
|
* **.gitignore**: Remove `.byebug_history` from ignored files
|
60
77
|
* **Complex Config**:
|
61
78
|
+ Raise type error and add test for empty configuration file.
|
62
79
|
+ Update gemspec to use GemHadar 1.17.0
|
63
|
-
+ Add requirement for tins/xt/ask_and_send in complex_config/provider.rb
|
80
|
+
+ Add requirement for `tins/xt/ask_and_send` in `complex_config/provider.rb`
|
64
81
|
+ Add check for hash type in ComplexConfig::Settings#build method
|
65
|
-
+ Add test for reading from empty configuration file in provider_spec.rb
|
66
|
-
+ Replace byebug with debug in spec_helper.rb
|
82
|
+
+ Add test for reading from empty configuration file in `provider_spec.rb`
|
83
|
+
+ Replace byebug with debug in `spec_helper.rb`
|
67
84
|
|
68
85
|
## 2024-04-17 v0.20.0
|
69
86
|
|
@@ -286,13 +303,13 @@
|
|
286
303
|
+ Test on Ruby 2.3.3
|
287
304
|
* **Bug Fixes**
|
288
305
|
+ Fix Travis builds
|
289
|
-
+ travis fiddles with RAILS_ENV variable, breaking specs (resolved)
|
306
|
+
+ travis fiddles with `RAILS_ENV` variable, breaking specs (resolved)
|
290
307
|
* **Testing Improvements**
|
291
308
|
+ Test newer Rubies
|
292
309
|
|
293
310
|
## 2016-11-22 v0.9.0
|
294
311
|
|
295
|
-
* **Gem Update**: Updated to newest gem_hadar
|
312
|
+
* **Gem Update**: Updated to newest `gem_hadar`.
|
296
313
|
* **Coverage Report**: Only send new coverage report on success.
|
297
314
|
* **Manual Run**: We are supposed to run this manually now.
|
298
315
|
* **Code Organization**: Moved provider shortcuts into its own module.
|
@@ -357,7 +374,7 @@
|
|
357
374
|
+ Adds a decent string representation for ComplexConfig::Settings objects
|
358
375
|
* **Dependency Updates**
|
359
376
|
+ Use newest gem hadar
|
360
|
-
+ Add some development_dependencies (including tins)
|
377
|
+
+ Add some `development_dependencies` (including tins)
|
361
378
|
* **Code Improvements**
|
362
379
|
+ Shorten codeclimate snippet
|
363
380
|
|