store 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/store.rb +1 -1
  3. data/lib/store/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3cf1280f06ddee3f9d3c5190390bbe8cf29ffd6b
4
- data.tar.gz: da7e50bad1b9702421edb0820c1bcb91bc02a481
3
+ metadata.gz: df33306fe8b122660bed78924798dd868aaec454
4
+ data.tar.gz: 14080358cdeb12d1144c083814c4c43f508edfa5
5
5
  SHA512:
6
- metadata.gz: 8fa9a6d146e4c87c796032a3b3b7ff7f2db857c60a4d5ad2fd786f5ac405c26f8c61f4741805223bffeb63830a534da7b4ea385b9f6145a3eff46a8df303ed99
7
- data.tar.gz: a0850ae08752a3eb8ea76f80640c71b82fa57609ce323844d0250a8e172a615cd482f844bd08f52bf50fed07f0e58aaa25195d99a35c750891de6c48704c1e02
6
+ metadata.gz: d9f5547caeec781e7091141718d101b7d132c4d7bd684c7c5d6025b430c8154d181fb8ee3b56a696239ba4d68be4bb177634d4152029e8cc0594a4a114d68693
7
+ data.tar.gz: f009c4f56c166c52b66295a84f217dadb5f2636f4f18fe2e312cc0a4b04877bdfb06360dad5e69421f57e0571523f1a487b9017a9d186ecb446876ac9d7ca68d
@@ -149,7 +149,7 @@ class Store
149
149
 
150
150
  def entity_type(entity)
151
151
  entity_class = entity.class
152
- entity_class.name
152
+ entity_class.name.split('::').last
153
153
  end
154
154
 
155
155
  def data_mapper_for_entity(entity)
@@ -1,3 +1,3 @@
1
1
  class Store
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: store
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jakob Holderbaum