gimlet 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/lib/gimlet/data_store.rb +1 -1
- data/lib/gimlet/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62584aecfa34ddfae8151092011b21032b345bb9
|
4
|
+
data.tar.gz: fdee5e353d0b18e4c8a39f0e809c0a573be57cd7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cb283f71b7a4a3d8487ab5949967e45cbd01f1b4beb4d642fff0a185b35b067ba8c965454b9c731ab75e6827b17e94f2ca8381093413dbeeb8dd0820dd76c13
|
7
|
+
data.tar.gz: f9ab49e424779ec4479866064dd6b3bd2488bc1a53e40d8138b84aa3dcd06fec75fc854030c0f07783fc268c7d3047dd3df1f46217fda95e7f4d7deff8b66345
|
data/README.md
CHANGED
@@ -32,11 +32,11 @@ Then you can access the data:
|
|
32
32
|
|
33
33
|
require 'gimlet'
|
34
34
|
|
35
|
-
|
35
|
+
data = Gimlet::DataStore.new('data')
|
36
36
|
|
37
|
-
p data.to_h #=> {"homuhomu"=>{"first_name"=>"Akemi", "last_name"=>"Homura"}}
|
38
|
-
p data.homuhomu
|
39
|
-
p data[:homuhomu].last_name #=> "Homura"
|
37
|
+
p data.to_h #=> {"people"=>{"homuhomu"=>{"first_name"=>"Akemi", "last_name"=>"Homura"}}}
|
38
|
+
p data.people.homuhomu #=> {"first_name"=>"Akemi", "last_name"=>"Homura"}
|
39
|
+
p data.people[:homuhomu].last_name #=> "Homura"
|
40
40
|
|
41
41
|
|
42
42
|
## Contributing
|
data/lib/gimlet/data_store.rb
CHANGED
data/lib/gimlet/version.rb
CHANGED