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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: efc3714f0ce8a75574f4850ab886d79b52953333f93542a205bbc5b2a0e5c9c1
4
- data.tar.gz: 9a27d42bd4d637c9866f9e2f764c307a9e9df0081aaf839c6441d50eaad1c6c8
3
+ metadata.gz: 9cdd038b6ee7f7e344230c278a8ba1d811e3cda6a85683145229829f6c2a773c
4
+ data.tar.gz: c8f4d0f7552a41851a33390887f489a0ec962238c732179bf992204a1c1c9059
5
5
  SHA512:
6
- metadata.gz: ebf734283d52e1c93127fb3f2d24e1fb8a7a9bce01895384c5ac626d8fb7e43064492a2251a27d8f5dd9b06e2cde1aee643661a15e485b7004b6630b1e69bc4a
7
- data.tar.gz: aa92af53f1d07a2260f7ddbf78927b622e4724af8593a2316353b5b2f3a9b705112f1dd465651eb8e0f0da5838469e33ad1faff3fb1f94f7ad8c885d4e85e6b9
6
+ metadata.gz: 42f8f31b7b511471134394189c4b2ef13eabf34afd5b264b74e57d82476bc029a59bdea2d5018c0c6b06319abbc6e999a8d3f46a51dca7deffe3dd1ca3972c4f
7
+ data.tar.gz: 355e03310f6b9a184c8266f651912c59362730225ef7100b0c5eae074d75534b9ef0d5ddb82dc653720c6ab4c0cc23870e212bf680e0ea4aba62d8945d17c488
Binary file
data.tar.gz.sig CHANGED
Binary file
data/History.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ---
4
4
 
5
+ ## v4.1.0 [2020-02-19] Michael Granger <ged@faeriemud.org>
6
+
7
+ Improvements:
8
+
9
+ - Add support for two-argument #respond_to? to Configurability::Config
10
+
5
11
 
6
12
  ## v4.0.0 [2020-01-08] Michael Granger <ged@faeriemud.org>
7
13
 
data/Rakefile CHANGED
@@ -3,6 +3,7 @@
3
3
  require 'rake/deveiate'
4
4
 
5
5
  Rake::DevEiate.setup( 'configurability' ) do |project|
6
+ project.required_ruby_version = '~> 2.5'
6
7
  project.publish_to = 'deveiate:/usr/local/www/public/code'
7
8
  end
8
9
 
@@ -14,7 +14,7 @@ module Configurability
14
14
 
15
15
 
16
16
  # Library version constant
17
- VERSION = '4.0.0'
17
+ VERSION = '4.1.0'
18
18
 
19
19
  # Version-control revision constant
20
20
  REVISION = %q$Revision$
@@ -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.0.0
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-01-08 00:00:00.000000000 Z
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.5'
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.5'
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: '0'
139
+ version: '2.5'
140
140
  required_rubygems_version: !ruby/object:Gem::Requirement
141
141
  requirements:
142
142
  - - ">="
metadata.gz.sig CHANGED
Binary file