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 +4 -4
- data/lib/gaston/builder.rb +1 -1
- data/lib/gaston/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb904772e50f01491b21bba1bbabe9d702011127
|
4
|
+
data.tar.gz: 89ef6c0791dafbbd6ca30f7540deeb56a52ce303
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: feb6636d7ba5dcb316ae7a46cdf64fcde0537c81c6c8cacf7b818b45cdb4fecd99ca240aa42e414a4722dbf76575d4df54d811a379f76f95248fb519091f5f9a
|
7
|
+
data.tar.gz: 476ca34858ae8d5ad9c57e4326f7d596b833abdef049bc9e1a02e8f7e7cf3a4d9a1147c379f2552970b88de516d5ba6c1d67aac32e56985857494a2532d6256b
|
data/lib/gaston/builder.rb
CHANGED
@@ -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
|
data/lib/gaston/version.rb
CHANGED
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.
|
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:
|
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.
|
91
|
+
rubygems_version: 2.2.2
|
92
92
|
signing_key:
|
93
93
|
specification_version: 4
|
94
94
|
summary: Dead simple Ruby config store.
|