mongoid_rateable 0.0.0 → 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Rakefile +2 -2
  2. data/VERSION +1 -1
  3. data/lib/mongoid_rateable/rating.rb +2 -1
  4. metadata +12 -12
data/Rakefile CHANGED
@@ -17,8 +17,8 @@ Jeweler::Tasks.new do |gem|
17
17
  gem.name = "mongoid_rateable"
18
18
  gem.homepage = "http://github.com/proton/mongoid_rateable"
19
19
  gem.license = "MIT"
20
- gem.summary = "Rating functionality for Mongoid documents"
21
- gem.description = "Provides fields and methods for the manipulation of rates on Mongoid documents."
20
+ gem.summary = %q{Rating functionality for Mongoid documents}
21
+ gem.description = %q{Provides fields and methods for the manipulation of rates on Mongoid documents.}
22
22
  gem.email = "psavichev@gmail.com"
23
23
  gem.authors = ["Peter Savichev (proton)"]
24
24
  # dependencies defined in Gemfile
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.0
1
+ 0.0.1
@@ -1,4 +1,5 @@
1
- class Rating < ActiveRecord::Base
1
+ class Rating
2
+ include Mongoid::Document
2
3
  # belongs_to :rater, polymorphic: true
3
4
  embedded_in :rateable, polymorphic: true
4
5
  field :mark, :type => Integer
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid_rateable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: mongoid
17
- requirement: &84204750 !ruby/object:Gem::Requirement
17
+ requirement: &74559330 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *84204750
25
+ version_requirements: *74559330
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: shoulda
28
- requirement: &84202400 !ruby/object:Gem::Requirement
28
+ requirement: &74551740 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
- version_requirements: *84202400
36
+ version_requirements: *74551740
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: bundler
39
- requirement: &84200960 !ruby/object:Gem::Requirement
39
+ requirement: &74550340 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ~>
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: 1.0.0
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *84200960
47
+ version_requirements: *74550340
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: jeweler
50
- requirement: &84198840 !ruby/object:Gem::Requirement
50
+ requirement: &74548240 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ~>
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: 1.6.2
56
56
  type: :development
57
57
  prerelease: false
58
- version_requirements: *84198840
58
+ version_requirements: *74548240
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: rcov
61
- requirement: &84157670 !ruby/object:Gem::Requirement
61
+ requirement: &74546640 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ! '>='
@@ -66,7 +66,7 @@ dependencies:
66
66
  version: '0'
67
67
  type: :development
68
68
  prerelease: false
69
- version_requirements: *84157670
69
+ version_requirements: *74546640
70
70
  description: Provides fields and methods for the manipulation of rates on Mongoid
71
71
  documents.
72
72
  email: psavichev@gmail.com
@@ -105,7 +105,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
105
105
  version: '0'
106
106
  segments:
107
107
  - 0
108
- hash: 656644143
108
+ hash: -389218975
109
109
  required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  none: false
111
111
  requirements: