config 4.2.0 → 4.2.1

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: 03a5310fb513c9cd3ac7ae0f8b12c532618c75f3a9416e0ce1b75652c97a2bba
4
- data.tar.gz: 1537d127fbf2d149eac3d3ad8dadbfbe9928e8c2a74eaa1d53f1ab216459fae0
3
+ metadata.gz: d8e3673269abb8919961385bf27374aac4125d46988f5f69114feb7b2d36ef30
4
+ data.tar.gz: 040fff3a658f33f09da8296079a0672b28fbce8e3e6333c8dfacdfb8a239e998
5
5
  SHA512:
6
- metadata.gz: 42de1f0fb9037304f8627a55d3168821816c12182a4ee688f45a5c9d5f948b74f37b8b381750e68569730b9bb93f735620e4f4015995d3787bcc3f7ed8a56cde
7
- data.tar.gz: 22f79baf73d715844db059ac3cb6ca6b506d913305a5415fc7ecae206d159d7f84302821d863bab10b01c31d5b88ce95a321e6d6a54bd84ead1d2732b9c74336
6
+ metadata.gz: 859eda030f5b0ac224a367359f4fc8c1af2a45eab726c74691db3da79fd3f2cb8fa6f85011036be6fef7c07600a0f5687e96db2f3a09bb1430755bfb7322cd86
7
+ data.tar.gz: 0d233e69e12d0f92d6edd3d588e727905b8bff7d57b93027ec40290131ea3883208e4509db3fff946a30a326a6b34fe6fae340dacb12ea196cb07cd1eb68c850
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 4.2.1
4
+
5
+ ### Bug fixes
6
+
7
+ * Address edge case with `table` config param ([#339](https://github.com/rubyconfig/config/pull/339))
8
+
3
9
  ## 4.2.0
4
10
 
5
11
  ### Bug fixes
data/README.md CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  [![Version](https://img.shields.io/gem/v/config)](https://rubygems.org/gems/config)
4
4
  [![Downloads Total](https://img.shields.io/gem/dt/config)](https://rubygems.org/gems/config)
5
- [![Build](https://img.shields.io/github/workflow/status/rubyconfig/config/tests)](https://rubygems.org/gems/config)
6
5
  [![Tests](https://github.com/rubyconfig/config/workflows/tests/badge.svg)](https://github.com/rubyconfig/config/actions?query=branch%3Amaster)
7
6
  [![Financial Contributors on Open Collective](https://opencollective.com/rubyconfig/all/badge.svg?label=backers)](https://opencollective.com/rubyconfig)
8
7
 
@@ -112,7 +112,7 @@ module Config
112
112
  end
113
113
 
114
114
  # Some keywords that don't play nicely with OpenStruct
115
- SETTINGS_RESERVED_NAMES = %w[select collect test count zip min max exit!].freeze
115
+ SETTINGS_RESERVED_NAMES = %w[select collect test count zip min max exit! table].freeze
116
116
 
117
117
  # An alternative mechanism for property access.
118
118
  # This let's you do foo['bar'] along with foo.bar.
@@ -132,11 +132,11 @@ module Config
132
132
  end
133
133
 
134
134
  def key?(key)
135
- table.key?(key)
135
+ @table.key?(key)
136
136
  end
137
137
 
138
138
  def has_key?(key)
139
- table.has_key?(key)
139
+ @table.has_key?(key)
140
140
  end
141
141
 
142
142
  def method_missing(method_name, *args)
@@ -1,3 +1,3 @@
1
1
  module Config
2
- VERSION = '4.2.0'.freeze
2
+ VERSION = '4.2.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: config
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.0
4
+ version: 4.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Kuczynski
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-05-03 00:00:00.000000000 Z
13
+ date: 2023-06-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: deep_merge
@@ -265,7 +265,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
265
265
  - !ruby/object:Gem::Version
266
266
  version: '0'
267
267
  requirements: []
268
- rubygems_version: 3.2.26
268
+ rubygems_version: 3.4.13
269
269
  signing_key:
270
270
  specification_version: 4
271
271
  summary: Effortless multi-environment settings in Rails, Sinatra, Padrino and others