conf-stack 1.0.0 → 1.0.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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/conf_stack/version.rb +1 -1
- data/lib/conf_stack.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 67302bd017f23f622d151915071a63d705d6c4fa29c5723b601bc18f261f670b
|
|
4
|
+
data.tar.gz: 7bf9e1101ae10d0cfdc4e07337bd9b610f58fdbff1f2978c82f066da6bc0efef
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '048d3af0c6b8c1e49e67ab36d46907c86de75b3687f62ff2ac8a24c24faab2e3ada38ff7dffad8f3723f35d453bb3b684e3722ad2f748dc801a15748abacc606'
|
|
7
|
+
data.tar.gz: 014fa091bda4a87fb258099eced1dfedc33533d442c01f02ba11e1e7ffe51c08b829727622aaf02f4dc2eb6254ac98b9e59b3d944064a78cce520f94118dfca4
|
data/Gemfile.lock
CHANGED
data/lib/conf_stack/version.rb
CHANGED
data/lib/conf_stack.rb
CHANGED
|
@@ -105,13 +105,17 @@ class ConfStack
|
|
|
105
105
|
# accessing non-existant configuration can lead to unhelpful NoMethodErrors. This replaces
|
|
106
106
|
# those errors with more helpful errors.
|
|
107
107
|
def method_missing(symbol, *args)
|
|
108
|
-
return false if symbol.to_s.
|
|
108
|
+
return false if symbol.to_s.end_with? '?'
|
|
109
109
|
|
|
110
110
|
super
|
|
111
111
|
rescue NoMethodError
|
|
112
112
|
raise MissingConfigurationError.new(symbol, @filename)
|
|
113
113
|
end
|
|
114
114
|
|
|
115
|
+
def respond_to_missing?(symbol, include_private = false)
|
|
116
|
+
symbol.to_s.end_with? '?' || super
|
|
117
|
+
end
|
|
118
|
+
|
|
115
119
|
# Walks up the file tree looking for configuration files.
|
|
116
120
|
#
|
|
117
121
|
# @return [Void]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: conf-stack
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chris Hall
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-08-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description:
|
|
14
14
|
email:
|