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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 25cb13913e025c8e1c6d1bdb5879273ef0d68137
4
- data.tar.gz: 7a634be5625c8af142be76b957b4dd2f266d5827
3
+ metadata.gz: c14456ce1e3ad58f6e2823499de3cb5b6dc96ded
4
+ data.tar.gz: 7e3457118affb581d85cc8ebddd7c9c090899e9e
5
5
  SHA512:
6
- metadata.gz: 29ae78bb51b8ba354925ed60d2beeaca3d527e7a4e792320465af4a722af0dcaf8cb89d1e5ed63867f6b4686fb8ffea369f3d07c7bb0baa7c150ee4705ca38cd
7
- data.tar.gz: 4319ee5e97ef7ab1bd3943d056da645098f0b480f2ec5236639616cd585788f40f86141597cc71fbcf47c64027f50a4ff66a8af6187d84a4dcae9e2c639cd42c
6
+ metadata.gz: c1540ac6b894671c8bd75a15a146678449b7acf3ca1175465f4dddb866edfdd47bb514e7c90a7692f644f78c47b6d0b93f7114ffa6624431a66c415bd02db37f
7
+ data.tar.gz: 317a1c70f5913db23a9cb85aa327c76ba9d62343bff261ff8b8f620bd52a6de84656ef89623befc39b18d0a8cf0f15c2daae4884257434a319ca78e77ff67d9c
data/Gemfile CHANGED
@@ -1,5 +1,5 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in mongoid_rating.gemspec
4
- gem "mongoid", github: "mongoid/mongoid"
4
+
5
5
  gemspec
@@ -1,3 +1,3 @@
1
1
  module MongoidRating
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
@@ -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 "mongoid", [">= 4.0", "< 5.0"]
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"
@@ -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.3
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-13 00:00:00.000000000 Z
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: '5.0'
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: '5.0'
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.10
148
+ rubygems_version: 2.1.11
155
149
  signing_key:
156
150
  specification_version: 4
157
151
  summary: Star rating for Mongoid