mongoid_rating 0.1.4 → 0.1.5

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: c14456ce1e3ad58f6e2823499de3cb5b6dc96ded
4
- data.tar.gz: 7e3457118affb581d85cc8ebddd7c9c090899e9e
3
+ metadata.gz: 1efef37155c0d76832d3e0eb24b602abf7f0b236
4
+ data.tar.gz: 17e8e0bacb1995a10158776f5b969c9d93571b7a
5
5
  SHA512:
6
- metadata.gz: c1540ac6b894671c8bd75a15a146678449b7acf3ca1175465f4dddb866edfdd47bb514e7c90a7692f644f78c47b6d0b93f7114ffa6624431a66c415bd02db37f
7
- data.tar.gz: 317a1c70f5913db23a9cb85aa327c76ba9d62343bff261ff8b8f620bd52a6de84656ef89623befc39b18d0a8cf0f15c2daae4884257434a319ca78e77ff67d9c
6
+ metadata.gz: 357d74333de312975d5b4d81e89c5692546e50ae8ee3f626cb117f9370e9a57952a3f73b643e161842310ba3574f21735e3aecc2a794f4ff3a1bbecefcb178f1
7
+ data.tar.gz: 265065fdb928aa81ede84926ab773cae1b9534ebae35423ff74cd2266e5a296bf1c102de026f2f142d2352ae745eadc8f3828cb4639d356498b37a43ce3d290e
@@ -8,6 +8,10 @@ module Mongoid::Rating
8
8
 
9
9
  # rate can be integer or float so we don't force class here
10
10
  field :value
11
+
12
+ def rails_admin_default_object_label_method
13
+ "Mongoid::Rating::Rate ##{id.to_s}"
14
+ end
11
15
  end
12
16
  end
13
17
 
@@ -1,3 +1,3 @@
1
1
  module MongoidRating
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid_rating
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - glebtv
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-03 00:00:00.000000000 Z
11
+ date: 2013-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mongoid