configurability 4.0.0 → 4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/History.md +6 -0
- data/Rakefile +1 -0
- data/lib/configurability.rb +1 -1
- data/lib/configurability/config.rb +1 -1
- data/spec/configurability/config_spec.rb +5 -0
- metadata +6 -6
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9cdd038b6ee7f7e344230c278a8ba1d811e3cda6a85683145229829f6c2a773c
|
4
|
+
data.tar.gz: c8f4d0f7552a41851a33390887f489a0ec962238c732179bf992204a1c1c9059
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42f8f31b7b511471134394189c4b2ef13eabf34afd5b264b74e57d82476bc029a59bdea2d5018c0c6b06319abbc6e999a8d3f46a51dca7deffe3dd1ca3972c4f
|
7
|
+
data.tar.gz: 355e03310f6b9a184c8266f651912c59362730225ef7100b0c5eae074d75534b9ef0d5ddb82dc653720c6ab4c0cc23870e212bf680e0ea4aba62d8945d17c488
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.md
CHANGED
data/Rakefile
CHANGED
data/lib/configurability.rb
CHANGED
@@ -166,7 +166,7 @@ class Configurability::Config
|
|
166
166
|
|
167
167
|
|
168
168
|
### Returns +true+ for methods which can be autoloaded
|
169
|
-
def respond_to?( sym )
|
169
|
+
def respond_to?( sym, include_all=false )
|
170
170
|
return true if @struct.member?( sym.to_s.sub(/(=|\?)$/, '').to_sym )
|
171
171
|
super
|
172
172
|
end
|
@@ -160,6 +160,11 @@ describe Configurability::Config do
|
|
160
160
|
end
|
161
161
|
|
162
162
|
|
163
|
+
it "supports two-argument respond_to?" do
|
164
|
+
expect( config.respond_to?(:section, true) ).to be_truthy
|
165
|
+
end
|
166
|
+
|
167
|
+
|
163
168
|
it "contains values specified in the source" do
|
164
169
|
# section:
|
165
170
|
# subsection:
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: configurability
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Granger
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
jBZSA+N+xUTgUWpXjjwsLZjzJkhWATJWq+krNXcqpwXo6HsjmdUxoFMt63RBb+sI
|
36
36
|
XrxOxp8o0uOkU7FdLSGsyqJ2LzsR4obN
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2020-
|
38
|
+
date: 2020-02-19 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: loggability
|
@@ -57,14 +57,14 @@ dependencies:
|
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '0.
|
60
|
+
version: '0.10'
|
61
61
|
type: :development
|
62
62
|
prerelease: false
|
63
63
|
version_requirements: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '0.
|
67
|
+
version: '0.10'
|
68
68
|
- !ruby/object:Gem::Dependency
|
69
69
|
name: simplecov
|
70
70
|
requirement: !ruby/object:Gem::Requirement
|
@@ -134,9 +134,9 @@ require_paths:
|
|
134
134
|
- lib
|
135
135
|
required_ruby_version: !ruby/object:Gem::Requirement
|
136
136
|
requirements:
|
137
|
-
- - "
|
137
|
+
- - "~>"
|
138
138
|
- !ruby/object:Gem::Version
|
139
|
-
version: '
|
139
|
+
version: '2.5'
|
140
140
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
141
141
|
requirements:
|
142
142
|
- - ">="
|
metadata.gz.sig
CHANGED
Binary file
|