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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 733389cf8385bfc6f6ddd4df9ef5a6048faa9e67
4
- data.tar.gz: d6ebdf34974ecb99668f68bfb7eb9cc2ab4f2bd8
3
+ metadata.gz: 62584aecfa34ddfae8151092011b21032b345bb9
4
+ data.tar.gz: fdee5e353d0b18e4c8a39f0e809c0a573be57cd7
5
5
  SHA512:
6
- metadata.gz: 71f88abd67a30819ce810946eca365fae9f199b97c78e446bf9afa2be85e055b24d1fbbeebdf2f40eaf1ddf7c1c7f5d711297ff10269c91428e743a354569285
7
- data.tar.gz: d7565013532a8738d3b7115f06ecbdf1ba78feca799dc908246c10987a2fa670ed365afc9aea750a531374496d3a3db8a6113050eb9b0f057e2b514838ac1701
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
- DB = Gimlet::DataStore.new('data')
35
+ data = Gimlet::DataStore.new('data')
36
36
 
37
- p data.to_h #=> {"homuhomu"=>{"first_name"=>"Akemi", "last_name"=>"Homura"}}
38
- p data.homuhomu #=> {"first_name"=>"Akemi", "last_name"=>"Homura"}
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
@@ -32,6 +32,6 @@ module Gimlet
32
32
  end
33
33
  end
34
34
 
35
- def_delegators :@local_data, :[], :method_missing, :to_h
35
+ def_delegators :@local_data, :[], :method_missing, :to_h, :each
36
36
  end
37
37
  end
@@ -1,3 +1,3 @@
1
1
  module Gimlet
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gimlet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoji SHIDARA