mongoid_includes 3.0.0 → 3.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,7 +30,7 @@ describe Mongoid::Includes::Criteria do
30
30
  })
31
31
  }
32
32
 
33
- describe ':with inclusions should not be overriden' do
33
+ describe ':with inclusions should not be overriden', skip: ENV["CI"] do
34
34
  When(:artists) { expect_query(4) { criteria.entries } } # There are no musicians, so no query should be made.
35
35
  Given(:albums) { artists.map(&:associated_act).flat_map(&:albums) }
36
36
  Then { artists.size == 2 }
data/spec/spec_helper.rb CHANGED
@@ -10,11 +10,6 @@ Dir['./spec/support/**/*.rb'].map do |f|
10
10
  require f
11
11
  end
12
12
 
13
- def mongodb_version
14
- session = Mongoid::Sessions.default
15
- session.command(buildinfo: 1)[version]
16
- end
17
-
18
13
  I18n.config.enforce_available_locales = false
19
14
 
20
15
  # These are used when creating any connection in the test suite.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid_includes
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Máximo Mussini
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-31 00:00:00.000000000 Z
11
+ date: 2022-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mongoid
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: 7.0.10
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: 8.0.0
22
+ version: 9.0.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: 7.0.10
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: 8.0.0
32
+ version: 9.0.0
33
33
  description: Mongoid::Includes improves eager loading in Mongoid, supporting polymorphic
34
34
  associations, and up to two-levels of eager loading.
35
35
  email:
@@ -97,31 +97,31 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
97
  - !ruby/object:Gem::Version
98
98
  version: '0'
99
99
  requirements: []
100
- rubygems_version: 3.1.2
100
+ rubygems_version: 3.2.32
101
101
  signing_key:
102
102
  specification_version: 4
103
103
  summary: Improved eager loading support for Mongoid.
104
104
  test_files:
105
+ - spec/mongo.log
106
+ - spec/mongoid/includes/criteria_spec.rb
107
+ - spec/mongoid/includes/errors/invalid_includes_spec.rb
108
+ - spec/mongoid/includes/errors/invalid_polymorphic_includes_spec.rb
105
109
  - spec/mongoid/includes/inclusions_spec.rb
110
+ - spec/mongoid/includes/nested_inclusions_spec.rb
106
111
  - spec/mongoid/includes/polymorphic_includes_spec.rb
107
112
  - spec/mongoid/includes/simple_inclusions_spec.rb
108
- - spec/mongoid/includes/nested_inclusions_spec.rb
109
- - spec/mongoid/includes/criteria_spec.rb
110
- - spec/mongoid/includes/errors/invalid_polymorphic_includes_spec.rb
111
- - spec/mongoid/includes/errors/invalid_includes_spec.rb
112
113
  - spec/spec_helper.rb
113
- - spec/support/helpers.rb
114
114
  - spec/support/config/mongoid.yml
115
- - spec/support/models/song.rb
116
- - spec/support/models/node.rb
117
- - spec/support/models/musician.rb
118
- - spec/support/models/record.rb
115
+ - spec/support/helpers.rb
116
+ - spec/support/models/address.rb
119
117
  - spec/support/models/album.rb
120
118
  - spec/support/models/artist.rb
119
+ - spec/support/models/band.rb
121
120
  - spec/support/models/game.rb
121
+ - spec/support/models/musician.rb
122
+ - spec/support/models/node.rb
122
123
  - spec/support/models/person.rb
123
- - spec/support/models/band.rb
124
124
  - spec/support/models/post.rb
125
- - spec/support/models/address.rb
126
125
  - spec/support/models/preference.rb
127
- - spec/mongo.log
126
+ - spec/support/models/record.rb
127
+ - spec/support/models/song.rb