mongoid_rating 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/lib/mongoid_rating/version.rb +1 -1
- data/mongoid_rating.gemspec +1 -1
- data/spec/spec_helper.rb +1 -2
- metadata +7 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c14456ce1e3ad58f6e2823499de3cb5b6dc96ded
|
4
|
+
data.tar.gz: 7e3457118affb581d85cc8ebddd7c9c090899e9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1540ac6b894671c8bd75a15a146678449b7acf3ca1175465f4dddb866edfdd47bb514e7c90a7692f644f78c47b6d0b93f7114ffa6624431a66c415bd02db37f
|
7
|
+
data.tar.gz: 317a1c70f5913db23a9cb85aa327c76ba9d62343bff261ff8b8f620bd52a6de84656ef89623befc39b18d0a8cf0f15c2daae4884257434a319ca78e77ff67d9c
|
data/Gemfile
CHANGED
data/mongoid_rating.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_dependency
|
21
|
+
spec.add_dependency 'mongoid', '~> 4.0.0.alpha1'
|
22
22
|
|
23
23
|
spec.add_development_dependency "bundler", "~> 1.3"
|
24
24
|
spec.add_development_dependency "rake"
|
data/spec/spec_helper.rb
CHANGED
@@ -4,14 +4,13 @@ Coveralls.wear!
|
|
4
4
|
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
5
5
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
|
6
6
|
|
7
|
-
MODELS = File.join(File.dirname(__FILE__), "models")
|
8
|
-
|
9
7
|
require "rubygems"
|
10
8
|
require "rspec"
|
11
9
|
require "mongoid"
|
12
10
|
require "database_cleaner"
|
13
11
|
require "mongoid_rating"
|
14
12
|
|
13
|
+
MODELS = File.join(File.dirname(__FILE__), "models")
|
15
14
|
Dir["#{MODELS}/*.rb"].each { |f| require f }
|
16
15
|
|
17
16
|
Mongoid.configure do |config|
|
metadata
CHANGED
@@ -1,35 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongoid_rating
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- glebtv
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mongoid
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '4.0'
|
20
|
-
- - <
|
17
|
+
- - ~>
|
21
18
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
19
|
+
version: 4.0.0.alpha1
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '4.0'
|
30
|
-
- - <
|
24
|
+
- - ~>
|
31
25
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
26
|
+
version: 4.0.0.alpha1
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: bundler
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -151,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
151
145
|
version: '0'
|
152
146
|
requirements: []
|
153
147
|
rubyforge_project:
|
154
|
-
rubygems_version: 2.1.
|
148
|
+
rubygems_version: 2.1.11
|
155
149
|
signing_key:
|
156
150
|
specification_version: 4
|
157
151
|
summary: Star rating for Mongoid
|