mongoid-eager-loading 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,17 +1,16 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mongoid-eager-loading (0.1.1)
5
- mongoid (~> 2.0.0.beta.19)
4
+ mongoid-eager-loading (0.1.2)
6
5
 
7
6
  GEM
8
7
  remote: http://rubygems.org/
9
8
  specs:
10
- activemodel (3.0.1)
11
- activesupport (= 3.0.1)
9
+ activemodel (3.0.3)
10
+ activesupport (= 3.0.3)
12
11
  builder (~> 2.1.2)
13
- i18n (~> 0.4.1)
14
- activesupport (3.0.1)
12
+ i18n (~> 0.4)
13
+ activesupport (3.0.3)
15
14
  bson (1.1.1)
16
15
  bson_ext (1.1.1)
17
16
  builder (2.1.2)
@@ -21,10 +20,11 @@ GEM
21
20
  rake
22
21
  mongo (1.1.1)
23
22
  bson (>= 1.1.1)
24
- mongoid (2.0.0.alpha)
25
- activemodel (>= 3.0.pre)
26
- mongo (>= 0.19.1)
27
- will_paginate (>= 3.0.pre)
23
+ mongoid (2.0.0.beta.20)
24
+ activemodel (~> 3.0)
25
+ mongo (~> 1.1)
26
+ tzinfo (~> 0.3.22)
27
+ will_paginate (~> 3.0.pre)
28
28
  rake (0.8.7)
29
29
  rspec (2.0.1)
30
30
  rspec-core (~> 2.0.1)
@@ -36,6 +36,7 @@ GEM
36
36
  rspec-mocks (2.0.1)
37
37
  rspec-core (~> 2.0.1)
38
38
  rspec-expectations (~> 2.0.1)
39
+ tzinfo (0.3.23)
39
40
  watchr (0.7)
40
41
  will_paginate (3.0.pre2)
41
42
 
@@ -47,7 +48,7 @@ DEPENDENCIES
47
48
  bundler (>= 1.0.0)
48
49
  mocha
49
50
  mongo (~> 1.1.1)
50
- mongoid (~> 2.0.0.beta.19)
51
+ mongoid (= 2.0.0.beta.20)
51
52
  mongoid-eager-loading!
52
53
  rspec (~> 2.0.0)
53
54
  watchr
@@ -1,5 +1,5 @@
1
1
  module Mongoid
2
2
  module EagerLoading
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
@@ -14,9 +14,8 @@ Gem::Specification.new do |s|
14
14
  s.required_rubygems_version = ">= 1.3.6"
15
15
  s.rubyforge_project = "mongoid-eager-loading"
16
16
 
17
- s.add_dependency "mongoid", "~> 2.0.0.beta.19"
18
-
19
17
  s.add_development_dependency "bundler", ">= 1.0.0"
18
+ s.add_development_dependency "mongoid", "2.0.0.beta.20"
20
19
  s.add_development_dependency "rspec", "~> 2.0.0"
21
20
  s.add_development_dependency "mocha"
22
21
  s.add_development_dependency "watchr"
@@ -5,6 +5,7 @@ describe Mongoid::Criteria do
5
5
  describe "#each" do
6
6
 
7
7
  before :each do
8
+ Game.destroy_all
8
9
  Person.destroy_all
9
10
  @person1 = Person.create(:title => "Sir", :age => 100, :aliases => ["D", "Durran"], :ssn => "666666666")
10
11
  @person2 = Person.create(:title => "Madam", :age => 1, :ssn => "098-76-5434")
@@ -18,7 +18,12 @@ describe Mongoid::Criterion::EagerLoading do
18
18
 
19
19
  describe "#preload" do
20
20
 
21
- before do
21
+ before :all do
22
+ Preference.destroy_all
23
+ Post.destroy_all
24
+ Game.destroy_all
25
+ Person.destroy_all
26
+
22
27
  person1 = Person.create(:title => "Sir", :age => 100, :aliases => ["D", "Durran"], :ssn => "666666666")
23
28
  person2 = Person.create(:title => "Madam", :age => 1, :ssn => "098-76-5434")
24
29
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid-eager-loading
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Richard Huang
@@ -15,40 +15,40 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-10-27 00:00:00 +08:00
18
+ date: 2010-11-19 00:00:00 +08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  requirement: &id001 !ruby/object:Gem::Requirement
23
23
  none: false
24
24
  requirements:
25
- - - ~>
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
- hash: 62196421
27
+ hash: 23
28
28
  segments:
29
- - 2
29
+ - 1
30
30
  - 0
31
31
  - 0
32
- - beta
33
- - 19
34
- version: 2.0.0.beta.19
35
- name: mongoid
32
+ version: 1.0.0
33
+ name: bundler
36
34
  prerelease: false
37
- type: :runtime
35
+ type: :development
38
36
  version_requirements: *id001
39
37
  - !ruby/object:Gem::Dependency
40
38
  requirement: &id002 !ruby/object:Gem::Requirement
41
39
  none: false
42
40
  requirements:
43
- - - ">="
41
+ - - "="
44
42
  - !ruby/object:Gem::Version
45
- hash: 23
43
+ hash: 62196427
46
44
  segments:
47
- - 1
45
+ - 2
48
46
  - 0
49
47
  - 0
50
- version: 1.0.0
51
- name: bundler
48
+ - beta
49
+ - 20
50
+ version: 2.0.0.beta.20
51
+ name: mongoid
52
52
  prerelease: false
53
53
  type: :development
54
54
  version_requirements: *id002