config_files 0.1.7 → 0.2.2

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.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +111 -0
  3. data/.gitignore +2 -5
  4. data/.rubocop.yml +81 -0
  5. data/CHANGELOG.md +166 -0
  6. data/Gemfile +12 -1
  7. data/MULTI_RUBY_SETUP.md +160 -0
  8. data/README.md +260 -23
  9. data/Rakefile +26 -3
  10. data/TESTING.md +226 -0
  11. data/config_files.gemspec +12 -9
  12. data/docker/Dockerfile.test +32 -0
  13. data/lib/config_files/file_factory.rb +7 -3
  14. data/lib/config_files/loader_factory.rb +35 -11
  15. data/lib/config_files/loaders/base_parser.rb +133 -0
  16. data/lib/config_files/loaders/conf.rb +61 -0
  17. data/lib/config_files/loaders/default.rb +3 -1
  18. data/lib/config_files/loaders/ini.rb +48 -0
  19. data/lib/config_files/loaders/json.rb +3 -1
  20. data/lib/config_files/loaders/xml.rb +67 -0
  21. data/lib/config_files/loaders/yaml.rb +12 -1
  22. data/lib/config_files/loaders.rb +6 -1
  23. data/lib/config_files/version.rb +3 -1
  24. data/lib/config_files.rb +52 -17
  25. data/lib/meta.rb +3 -1
  26. data/scripts/install_rubies_asdf.sh +187 -0
  27. data/scripts/test_docker.sh +96 -0
  28. data/scripts/test_multiple_rubies.sh +295 -0
  29. data/test/comprehensive_multi_directory_test.rb +168 -0
  30. data/test/config/dummy.json +10 -0
  31. data/test/config/dummy.yml +6 -0
  32. data/test/config_files_test.rb +8 -6
  33. data/test/etc/dummy.conf +14 -2
  34. data/test/etc/dummy.ini +12 -0
  35. data/test/etc/dummy.xml +13 -0
  36. data/test/load_robustness_test.rb +87 -0
  37. data/test/loader_factory_test.rb +10 -10
  38. data/test/loaders_test.rb +362 -0
  39. data/test/local/dummy.json +10 -0
  40. data/test/local/dummy.yml +6 -0
  41. data/test/mixed_format_test.rb +152 -0
  42. data/test/multi_directory_test.rb +126 -0
  43. data/test/stray_files_test.rb +72 -0
  44. data/test/test_helper.rb +3 -0
  45. metadata +45 -25
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dabb2b8b5d0fb25738c2d55d02068fd4710f2085425b4236ad8b2da6b62a2167
4
- data.tar.gz: b10790c4f63c114122a4ccd0aa2a31bbaf897ae22e926838af1ddc2363d65152
3
+ metadata.gz: 2710dea587c6d0181879261bc6c61afbc7962671b159e56b98240813f7852d7d
4
+ data.tar.gz: 4cc06b016085761a6e7cc19211c9f2b94636e667fe1306a82a8e6215d14364b8
5
5
  SHA512:
6
- metadata.gz: 742b8d8e6955a5c65dcaa5e62c789f9bd0acd24decc3957f7c58d22086d6ce16a25b29b68703ff98c769049350d7c9195deb7144391ca5d179454633de7db164
7
- data.tar.gz: 623b886403b441802957faeebe5484a29b92fd9bd3b082e67c51270c6d53d5974b8ff0278699602bf2345861eb6c6788027a957677a19679e769a896b8d9ba3e
6
+ metadata.gz: f7bbda8a71c74af5c01460c5d8d7d48d3dbc27b841d6fe88a72b65ddabedcaab0a567f977fdf571cb20af597ebad0c9c83691ddd35fa49e47b8bd6448bd1a049
7
+ data.tar.gz: 4036e3a86e806977a0ac70a6f306e508ce204e68cdf685c73ab5f853db2f2202f412add028d9fbd44ca8dbfe1f55724ecd31c95dd4ac155a4b9e80efd38efac2
@@ -0,0 +1,111 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [ main, master ]
6
+ pull_request:
7
+ branches: [ main, master ]
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ fail-fast: false
14
+ matrix:
15
+ ruby-version:
16
+ - '2.7'
17
+ - '3.0'
18
+ - '3.1'
19
+ - '3.2'
20
+ - '3.3'
21
+ - '3.4'
22
+ activesupport-version:
23
+ - '~> 6.1.0'
24
+ - '~> 7.0.0'
25
+ - '~> 7.1.0'
26
+ - '~> 7.2.0'
27
+ - '~> 8.0.0'
28
+ - '~> 8.1.0'
29
+ # Unpinned: newest release the Ruby allows, so a new major (9.x) is tested on arrival
30
+ - '>= 6.1'
31
+ exclude:
32
+ # ActiveSupport 7.1+ requires Ruby 3.1+
33
+ - ruby-version: '2.7'
34
+ activesupport-version: '~> 7.1.0'
35
+ - ruby-version: '3.0'
36
+ activesupport-version: '~> 7.1.0'
37
+ - ruby-version: '2.7'
38
+ activesupport-version: '~> 7.2.0'
39
+ - ruby-version: '3.0'
40
+ activesupport-version: '~> 7.2.0'
41
+ # ActiveSupport 8.0+ requires Ruby 3.2+
42
+ - ruby-version: '2.7'
43
+ activesupport-version: '~> 8.0.0'
44
+ - ruby-version: '3.0'
45
+ activesupport-version: '~> 8.0.0'
46
+ - ruby-version: '3.1'
47
+ activesupport-version: '~> 8.0.0'
48
+ - ruby-version: '2.7'
49
+ activesupport-version: '~> 8.1.0'
50
+ - ruby-version: '3.0'
51
+ activesupport-version: '~> 8.1.0'
52
+ - ruby-version: '3.1'
53
+ activesupport-version: '~> 8.1.0'
54
+
55
+ env:
56
+ ACTIVESUPPORT_VERSION: ${{ matrix.activesupport-version }}
57
+
58
+ steps:
59
+ - uses: actions/checkout@v4
60
+
61
+ - name: Set up Ruby ${{ matrix.ruby-version }}
62
+ uses: ruby/setup-ruby@v1
63
+ with:
64
+ ruby-version: ${{ matrix.ruby-version }}
65
+ bundler-cache: false
66
+
67
+ - name: Create Gemfile for testing
68
+ run: |
69
+ cat > Gemfile.ci << EOF
70
+ source 'https://rubygems.org'
71
+
72
+ gemspec
73
+
74
+ gem 'activesupport', '${{ matrix.activesupport-version }}'
75
+ gem 'minitest', '~> 5.20'
76
+ gem 'mutex_m' if RUBY_VERSION >= '3.4'
77
+ gem 'rake'
78
+ EOF
79
+
80
+ - name: Install dependencies
81
+ run: |
82
+ cp Gemfile.ci Gemfile
83
+ bundle install
84
+
85
+ - name: Run tests
86
+ run: |
87
+ bundle exec rake test || bundle exec ruby -I test -e "Dir['test/*_test.rb'].each { |f| require f }"
88
+
89
+ - name: Run individual test files (fallback)
90
+ if: failure()
91
+ run: |
92
+ find test -name "*_test.rb" -exec bundle exec ruby {} \;
93
+
94
+ lint:
95
+ runs-on: ubuntu-latest
96
+ steps:
97
+ - uses: actions/checkout@v4
98
+
99
+ - name: Set up Ruby
100
+ uses: ruby/setup-ruby@v1
101
+ with:
102
+ ruby-version: '3.3'
103
+ bundler-cache: true
104
+
105
+ - name: Install RuboCop
106
+ run: |
107
+ gem install rubocop rubocop-minitest
108
+
109
+ - name: Run RuboCop
110
+ run: |
111
+ rubocop --format github || true # Don't fail on style issues for now
data/.gitignore CHANGED
@@ -1,5 +1,2 @@
1
- /.idea/.gitignore
2
- /.idea/config_files.iml
3
- /.idea/misc.xml
4
- /.idea/modules.xml
5
- /.idea/vcs.xml
1
+ /.idea
2
+ /Gemfile.lock
data/.rubocop.yml ADDED
@@ -0,0 +1,81 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.7
3
+ NewCops: enable
4
+ Exclude:
5
+ - 'vendor/**/*'
6
+ - 'tmp/**/*'
7
+ - 'bin/**/*'
8
+
9
+ plugins:
10
+ - rubocop-minitest
11
+ - rubocop-rake
12
+
13
+ # Allow longer lines for readability
14
+ Layout/LineLength:
15
+ Max: 120
16
+ Exclude:
17
+ - 'test/**/*'
18
+
19
+ # Allow longer methods in tests
20
+ Metrics/MethodLength:
21
+ Max: 20
22
+ Exclude:
23
+ - 'test/**/*'
24
+
25
+ # Allow longer classes in tests
26
+ Metrics/ClassLength:
27
+ Max: 200
28
+ Exclude:
29
+ - 'test/**/*'
30
+
31
+ # Allow longer blocks in tests
32
+ Metrics/BlockLength:
33
+ Max: 50
34
+ Exclude:
35
+ - 'test/**/*'
36
+ - '*.gemspec'
37
+
38
+ # Don't require documentation for every class/module
39
+ Style/Documentation:
40
+ Enabled: false
41
+
42
+ # Allow both single and double quotes
43
+ Style/StringLiterals:
44
+ Enabled: false
45
+
46
+ # Allow trailing commas in multiline structures
47
+ Style/TrailingCommaInArrayLiteral:
48
+ EnforcedStyleForMultiline: consistent_comma
49
+
50
+ Style/TrailingCommaInHashLiteral:
51
+ EnforcedStyleForMultiline: consistent_comma
52
+
53
+ # Allow compact module/class definitions
54
+ Style/ClassAndModuleChildren:
55
+ Enabled: false
56
+
57
+ # Allow empty methods
58
+ Style/EmptyMethod:
59
+ Enabled: false
60
+
61
+ # Don't require frozen string literals (for compatibility)
62
+ Style/FrozenStringLiteralComment:
63
+ Enabled: false
64
+
65
+ # Allow assignment in conditions (common pattern)
66
+ Lint/AssignmentInCondition:
67
+ Enabled: false
68
+
69
+ # Allow safe navigation operator
70
+ Style/SafeNavigation:
71
+ Enabled: true
72
+
73
+ # Allow multiple assertions in test methods
74
+ Minitest/MultipleAssertions:
75
+ Exclude:
76
+ - 'test/**/*'
77
+
78
+ # Allow high ABC size in test methods
79
+ Metrics/AbcSize:
80
+ Exclude:
81
+ - 'test/**/*'
data/CHANGELOG.md ADDED
@@ -0,0 +1,166 @@
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.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [0.2.2] - 2026-12-01
9
+
10
+ ### Changed
11
+ - ActiveSupport dependency is now `>= 6.1` with no upper bound, allowing 8.x (including 8.0.5.2+, which fixes the `safe_constantize` DoS advisory) and future majors. CI covers 8.0, 8.1 and the newest release.
12
+ - README: security note recommending ActiveSupport >= 8.0.5.2 on Ruby 3.2+, and updated file-matching and error-handling docs.
13
+
14
+ ### Fixed
15
+ - Stray files beside a config file (`dds.yaml.save`, `dds.yaml~`, `dds.old.yaml`) were loaded as YAML and merged over the real config. Only `<name>.<ext>` files with a registered loader (yaml, yml, json, xml, conf, ini) are loaded now.
16
+ - A config file that loaded as something other than a hash crashed the merge with `undefined method 'to_hash'`. Empty and comment-only files now contribute nothing; a top-level list or scalar raises `ConfigFiles::InvalidConfigError` naming the file.
17
+ - YAML files using anchors/aliases, dates or times failed to load on Ruby 3.1+ (Psych 4 safe loading).
18
+ - JSON loader failed on json 3.x (Ruby 4) because options were passed as a positional hash.
19
+
20
+ ## [0.2.1] - 2025-09-27
21
+
22
+ ### Fixed
23
+ - Incorrect active_support dependency version range
24
+
25
+ ## [0.2.0] - 2025-09-27 (yanked due to issue installing active_support versions. Use 0.2.1 instead)
26
+
27
+ ### Added
28
+ - Support for xml, conf and ini files in addition to the yaml and json formats
29
+ - Multi-directory configuration support - load and merge configs from multiple directories
30
+ - Directory precedence system - earlier directories override later ones
31
+ - Mixed file format support - YAML, JSON, and other formats in the same project
32
+ - Deep merging of nested configuration structures
33
+ - Comprehensive test suite with multi-Ruby version support (2.7-3.4)
34
+ - GitHub Actions CI/CD pipeline
35
+ - Support for asdf, rbenv, and rvm version managers
36
+ - Docker-based testing environment
37
+ - Extensive documentation and examples
38
+
39
+ ### Changed
40
+ - **BREAKING**: Directory precedence now works correctly - first directory wins
41
+ - Ruby version requirement updated to >= 2.7.0
42
+ - ActiveSupport dependency updated to >= 6.1, < 8.0
43
+ - Improved error handling for missing directories and files
44
+ - Updated development dependencies (minitest ~> 5.20, mutex_m for Ruby 3.4+)
45
+
46
+ ### Fixed
47
+ - Safe navigation operator compatibility with older Ruby versions
48
+ - Minitest constant name (MiniTest -> Minitest)
49
+ - File processing order within directories (alphabetical)
50
+
51
+ ## [0.1.7] - 2023-01-15
52
+
53
+ ### Added
54
+ - HashWithIndifferentAccess support for consistent key access with strings and symbols
55
+
56
+ ### Changed
57
+ - Configuration hashes now return HashWithIndifferentAccess instead of regular Hash
58
+ - Improved key access flexibility
59
+
60
+ ## [0.1.6] - 2022-12-10
61
+
62
+ ### Added
63
+ - Default directory support - directories are used even if not explicitly declared
64
+ - Better handling of missing configuration scenarios
65
+
66
+ ### Fixed
67
+ - Empty file handling improvements
68
+ - Default directory initialization
69
+
70
+ ## [0.1.5] - 2022-11-20
71
+
72
+ ### Added
73
+ - 'config' directory added to default :etc directory list
74
+ - Improved empty file and missing file handling
75
+
76
+ ### Fixed
77
+ - Better error handling for non-existent configuration files
78
+ - More robust directory scanning
79
+
80
+ ## [0.1.3] - 2022-10-15
81
+
82
+ ### Fixed
83
+ - JSON.load now properly receives an IO object instead of filename
84
+ - Improved JSON file parsing reliability
85
+
86
+ ## [0.1.2] - 2022-09-28
87
+
88
+ ### Changed
89
+ - JSON parsing now uses quirks mode for better compatibility
90
+ - More flexible JSON file format support
91
+
92
+ ## [0.1.1] - 2022-09-20
93
+
94
+ ### Changed
95
+ - Configuration objects now return Hash instead of OpenStruct
96
+ - Simplified data structure for better performance and compatibility
97
+
98
+ ## [0.1.0] - 2022-09-15
99
+
100
+ ### Added
101
+ - Initial release
102
+ - Basic YAML configuration file loading
103
+ - Single directory support
104
+ - Static and dynamic configuration file loading
105
+ - Support for multiple file extensions (.yml, .json, .conf)
106
+ - File-based configuration discovery
107
+ - Basic directory searching functionality
108
+
109
+ ### Features
110
+ - `config_directories` method to define search paths
111
+ - `static_config_files` for cached configuration loading
112
+ - `dynamic_config_files` for real-time configuration reloading
113
+ - Automatic file extension detection and parsing
114
+ - Integration with ActiveSupport for deep merging capabilities
115
+
116
+ ---
117
+
118
+ ## Migration Guide
119
+
120
+ ### Upgrading from 0.1.x to 0.2.0
121
+
122
+ The major change in 0.2.0 is the addition of multi-directory support and corrected directory precedence.
123
+
124
+ #### Before (0.1.x)
125
+ ```ruby
126
+ class MyApp
127
+ include ConfigFiles
128
+ config_directories etc: ['/etc/myapp'] # Single directory
129
+ static_config_files :config
130
+ end
131
+ ```
132
+
133
+ #### After (0.2.0)
134
+ ```ruby
135
+ class MyApp
136
+ include ConfigFiles
137
+ config_directories etc: [
138
+ 'config/production', # Highest priority
139
+ 'config/defaults' # Fallback values
140
+ ]
141
+ static_config_files :config
142
+ end
143
+ ```
144
+
145
+ #### Key Changes
146
+ 1. **Multi-directory support**: You can now specify multiple directories
147
+ 2. **Directory precedence**: Earlier directories in the list override later ones
148
+ 3. **Deep merging**: Configurations from all directories are intelligently merged
149
+ 4. **Mixed formats**: YAML and JSON files can coexist and are merged together
150
+
151
+ #### Compatibility
152
+ - Single directory configurations continue to work unchanged
153
+ - Existing method signatures are preserved
154
+ - Return values maintain the same structure (HashWithIndifferentAccess)
155
+
156
+ ## Development
157
+
158
+ ### Version History Summary
159
+ - **0.1.x series**: Basic single-directory YAML configuration loading
160
+ - **0.2.0**: Major enhancement with multi-directory support and mixed formats
161
+
162
+ ### Contributors
163
+ - Paul McKibbin - Original author and maintainer
164
+
165
+ ### License
166
+ MIT License - see [LICENCE.txt](LICENCE.txt) for details.
data/Gemfile CHANGED
@@ -1,3 +1,14 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
3
- gemspec
5
+ gemspec
6
+
7
+ group :development, :test do
8
+ gem 'minitest', '~> 5.20', '>= 5.20.0'
9
+ gem 'mutex_m', '~> 0.3.0'
10
+ gem 'rake', '~> 13.0', '>= 13.0.0'
11
+ gem 'rubocop', '~> 1.50'
12
+ gem 'rubocop-minitest', '~> 0.30'
13
+ gem 'rubocop-rake', '~> 0.6'
14
+ end
@@ -0,0 +1,160 @@
1
+ # Multi-Ruby Testing Setup Summary
2
+
3
+ This document summarizes the multi-Ruby version testing setup for the ConfigFiles gem.
4
+
5
+ ## 🎯 What Was Accomplished
6
+
7
+ ### ✅ Universal Ruby Version Manager Support
8
+ - **asdf** (recommended) - Modern, universal version manager
9
+ - **rbenv** - Popular Ruby-specific version manager
10
+ - **rvm** - Traditional Ruby version manager
11
+ - **Auto-detection** - Script automatically detects which manager you have
12
+
13
+ ### ✅ Comprehensive Testing Scripts
14
+
15
+ #### 1. Main Testing Script (`scripts/test_multiple_rubies.sh`)
16
+ - **Auto-detects** your Ruby version manager
17
+ - **Interactive installation** of missing Ruby versions
18
+ - **Tests all combinations** of Ruby + ActiveSupport versions
19
+ - **Skips incompatible** combinations automatically
20
+ - **Detailed reporting** with pass/fail summary
21
+ - **Help system** with `--help` flag
22
+
23
+ #### 2. asdf-Specific Installation (`scripts/install_rubies_asdf.sh`)
24
+ - **Bulk installation** of all required Ruby versions
25
+ - **System dependency checks** for different platforms
26
+ - **Progress tracking** and error handling
27
+ - **Installation summary** with troubleshooting tips
28
+
29
+ #### 3. Docker Testing (`scripts/test_docker.sh`)
30
+ - **Isolated testing** environment
31
+ - **No local Ruby installation** required
32
+ - **Consistent results** across different machines
33
+
34
+ ### ✅ CI/CD Integration
35
+
36
+ #### GitHub Actions (`.github/workflows/ci.yml`)
37
+ - **Matrix testing** across Ruby 2.7-3.4 and ActiveSupport 6.1-8.1, plus the newest release in CI
38
+ - **Automatic exclusion** of incompatible combinations
39
+ - **RuboCop linting** integration
40
+ - **Free for open source** projects
41
+
42
+ ### ✅ Documentation & Configuration
43
+
44
+ #### Testing Documentation (`TESTING.md`)
45
+ - **Comprehensive guide** for all testing methods
46
+ - **Compatibility matrix** for Ruby/ActiveSupport versions
47
+ - **Troubleshooting section** for common issues
48
+ - **Performance testing** guidelines
49
+
50
+ #### Configuration Files
51
+ - **RuboCop config** (`.rubocop.yml`) with sensible defaults
52
+ - **Rakefile** with test tasks
53
+ - **Gemspec updates** with proper version constraints
54
+
55
+ ## 🚀 Quick Start
56
+
57
+ ### For asdf Users
58
+ ```bash
59
+ # Install all Ruby versions
60
+ ./scripts/install_rubies_asdf.sh
61
+
62
+ # Run comprehensive tests
63
+ ./scripts/test_multiple_rubies.sh
64
+ ```
65
+
66
+ ### For rbenv/rvm Users
67
+ ```bash
68
+ # Install Ruby versions manually:
69
+ # rbenv: rbenv install 2.7.8 3.0.6 3.1.4 3.2.2 3.3.0 3.4.1
70
+ # rvm: rvm install 2.7.8 3.0.6 3.1.4 3.2.2 3.3.0 3.4.1
71
+
72
+ # Run tests (auto-detects your version manager)
73
+ ./scripts/test_multiple_rubies.sh
74
+ ```
75
+
76
+ ### For Docker Users
77
+ ```bash
78
+ # Test all combinations in isolated containers
79
+ ./scripts/test_docker.sh
80
+ ```
81
+
82
+ ## 📊 Test Coverage
83
+
84
+ | Ruby Version | ActiveSupport 6.1 | ActiveSupport 7.0 | ActiveSupport 7.1 | ActiveSupport 7.2 |
85
+ |--------------|-------------------|-------------------|-------------------|-------------------|
86
+ | 2.7.8 | ✅ | ✅ | ❌ | ❌ |
87
+ | 3.0.6 | ✅ | ✅ | ❌ | ❌ |
88
+ | 3.1.4 | ✅ | ✅ | ✅ | ✅ |
89
+ | 3.2.2 | ✅ | ✅ | ✅ | ✅ |
90
+ | 3.3.0 | ✅ | ✅ | ✅ | ✅ |
91
+ | 3.4.1 | ✅ | ✅ | ✅ | ✅ |
92
+
93
+ **Total Combinations Tested**: 20 valid combinations (4 incompatible combinations automatically skipped)
94
+
95
+ ActiveSupport 8.0 and 8.1 are also tested; they require Ruby 3.2+ and are skipped on older Rubies. The table above predates them.
96
+
97
+ ## 🛠 Key Features
98
+
99
+ ### Smart Version Management
100
+ - **Auto-detection** of asdf, rbenv, or rvm
101
+ - **Graceful fallbacks** when version managers aren't available
102
+ - **Plugin management** for asdf (auto-installs Ruby plugin)
103
+
104
+ ### Intelligent Testing
105
+ - **Compatibility checking** - skips Ruby 2.x + ActiveSupport 7.1/7.2
106
+ - **Dependency management** - handles mutex_m for Ruby 3.4+
107
+ - **Isolated environments** - each test uses its own Gemfile
108
+
109
+ ### User Experience
110
+ - **Colored output** for easy reading
111
+ - **Progress indicators** during installations
112
+ - **Interactive prompts** for missing versions
113
+ - **Comprehensive help** system
114
+
115
+ ### CI/CD Ready
116
+ - **GitHub Actions** integration out of the box
117
+ - **Badge-ready** with version compatibility info
118
+ - **Extensible** to other CI systems (GitLab, CircleCI, Jenkins)
119
+
120
+ ## 🔧 Maintenance
121
+
122
+ ### Adding New Ruby Versions
123
+ 1. Update `RUBY_VERSIONS` array in scripts
124
+ 2. Update GitHub Actions matrix
125
+ 3. Update documentation tables
126
+ 4. Test compatibility with ActiveSupport versions
127
+
128
+ ### Adding New ActiveSupport Versions
129
+ 1. Update `ACTIVESUPPORT_VERSIONS` array
130
+ 2. Update compatibility exclusions if needed
131
+ 3. Update GitHub Actions matrix
132
+ 4. Update documentation
133
+
134
+ ## 🎉 Benefits
135
+
136
+ ### For Developers
137
+ - **Confidence** in multi-version compatibility
138
+ - **Easy local testing** with any version manager
139
+ - **Quick feedback** on compatibility issues
140
+
141
+ ### For Contributors
142
+ - **Clear testing guidelines** in TESTING.md
143
+ - **Automated CI** catches issues early
144
+ - **Consistent environment** via Docker
145
+
146
+ ### For Users
147
+ - **Reliable gem** tested across many Ruby versions
148
+ - **Clear compatibility** information
149
+ - **Predictable behavior** across environments
150
+
151
+ ## 📈 Modern Best Practices
152
+
153
+ ### Why This Setup is Superior to Travis CI
154
+ 1. **GitHub Actions** - Free, integrated, reliable
155
+ 2. **Multi-manager support** - Works with any Ruby version manager
156
+ 3. **Docker option** - Completely isolated testing
157
+ 4. **Local testing** - Don't wait for CI to catch issues
158
+ 5. **Comprehensive documentation** - Easy to understand and maintain
159
+
160
+ This setup provides a robust, maintainable, and user-friendly testing environment that supports the diverse Ruby ecosystem while ensuring the ConfigFiles gem works reliably for all users! 🚀