configlogic 2.0.9.1 → 2.0.10

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
  SHA1:
3
- metadata.gz: 9d9bacc85199c8127939c821ac7861bc958568ae
4
- data.tar.gz: 840e445dad2af54bd56a593bb554bc32d6ddb540
3
+ metadata.gz: 2ff9f21b871547a845ebf52393b6ae78f0f43f33
4
+ data.tar.gz: cf78b2fee76a6f80333a888e360db8d4a05af13f
5
5
  SHA512:
6
- metadata.gz: 9304e8904bb36391340854f83358af9a3fa912f162d64f5d6120d837b40b2761c77006c5b198ad175534a25cf00c0432e57a72c6c22d5d32ddd310cce45361a6
7
- data.tar.gz: 9fca40ef87dae0bb0fbbfda7ad20b7b475cddae3af25089ceadb926ab705e57d8615da00d8f47db8ef97df9ba11f62785ec0f4e912dc1bd7a48a1628eb1846b2
6
+ metadata.gz: 29bcb7e9ba8dd0734ea5eabd0efd7698b5d6b3fcf92465011c25eead42eb95612b521da172cb88e20765369f12b015a3da8c6f07c3d00aa107f15e1f11b983b4
7
+ data.tar.gz: ac2d35b9ad4ba944f716ea9e487cf3476977198f0d69fc855f72ec39a8c5086ba90fba41e49d381fd669ae56ae8c91262263dfdb1bf270ce8781e99017c5c724
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- configlogic (2.0.9.1)
4
+ configlogic (2.0.10)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
data/configlogic.gemspec CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "configlogic"
6
- s.version = "2.0.9.1"
6
+ s.version = "2.0.10"
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ["Ben Johnson"]
9
9
  s.email = ["bjohnson@binarylogic.com"]
data/lib/configlogic.rb CHANGED
@@ -120,6 +120,7 @@ class Configlogic < Hash
120
120
  # Called for dynamically-defined keys, and also the first key deferenced at the top-level, if load! is not used.
121
121
  # Otherwise, create_accessors! (called by new) will have created actual methods for each key.
122
122
  def method_missing(name, *args, &block)
123
+ super if name === :to_ary # delegate to_ary to Hash
123
124
  key = name.to_s
124
125
  return missing_key("Missing setting '#{key}' in #{@section}") unless has_key? key
125
126
  value = fetch(key)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: configlogic
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.9.1
4
+ version: 2.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Johnson