gaston 0.4.0 → 0.4.1
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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dfdd12aa84cdc77d6042fb68b5906561c0cbceaa
|
4
|
+
data.tar.gz: 8173422f18bd719ac3a5ae0b1e876fcfeaee97f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc83a28352461adaaa45e71031e87376ba2bf9b9be7a72ebc2c79c4625e0289d60d228fd35dff16fc9dd3bb442a2aa4eb344726b72a137d2cdb8443e3ea26690
|
7
|
+
data.tar.gz: 3225f9fe3903573ee52e12d45abe30ade86448404dc1708e7fae8932660df06b4a1cdd64c83096d0799454ff3c905276c468d4f32ed9583d92198e908c05ca24
|
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 = Inflecto.camelize(key)
|
8
|
+
camelize = "Gaston" + Inflecto.camelize(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.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- chatgris
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-04-
|
11
|
+
date: 2013-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: inflecto
|