gaston 0.5.2 → 0.6.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
  SHA1:
3
- metadata.gz: 062c79cf31c0363d386a5206e1274d13b3fb78ff
4
- data.tar.gz: 1b320ded5d2068679c0c367c524297c755b0cfd4
3
+ metadata.gz: eb904772e50f01491b21bba1bbabe9d702011127
4
+ data.tar.gz: 89ef6c0791dafbbd6ca30f7540deeb56a52ce303
5
5
  SHA512:
6
- metadata.gz: 6098890fdf7a8d599ebcd5c78fcc838a3d5885097a73b219ea88d1df5f6f21cb41a490b71333493409dc59d0c591f78cf797036e8f9f35b021baa1b50502c035
7
- data.tar.gz: 74214076451c2343133d6dbd6a7d4fa3e4bd37242e2c6a0c9cc4845b525f47397ee038db8ed8d5e6b355571687d14d06eff9e11fb28dff31b798a5f849ad4b1e
6
+ metadata.gz: feb6636d7ba5dcb316ae7a46cdf64fcde0537c81c6c8cacf7b818b45cdb4fecd99ca240aa42e414a4722dbf76575d4df54d811a379f76f95248fb519091f5f9a
7
+ data.tar.gz: 476ca34858ae8d5ad9c57e4326f7d596b833abdef049bc9e1a02e8f7e7cf3a4d9a1147c379f2552970b88de516d5ba6c1d67aac32e56985857494a2532d6256b
@@ -5,7 +5,7 @@ class Gaston
5
5
  def new(parent, hash={})
6
6
  hash.each_with_object({}) do |(key, store), hsh|
7
7
  if store.is_a?(Hash)
8
- camelize = "Gaston" + Inflecto.camelize(key)
8
+ camelize = "Gaston" + Inflecto.camelize(Inflecto.underscore(key))
9
9
  klass = if parent.const_defined? camelize, false
10
10
  Inflecto.constantize("#{parent}::#{camelize}")
11
11
  else
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  class Gaston
3
- VERSION = "0.5.2"
3
+ VERSION = "0.6.0"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gaston
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - chatgris
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-03 00:00:00.000000000 Z
11
+ date: 2014-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: inflecto
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
88
  version: '0'
89
89
  requirements: []
90
90
  rubyforge_project:
91
- rubygems_version: 2.1.10
91
+ rubygems_version: 2.2.2
92
92
  signing_key:
93
93
  specification_version: 4
94
94
  summary: Dead simple Ruby config store.