mongoid-scroll 0.3.6 → 0.3.7

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
- SHA1:
3
- metadata.gz: 3c6aed40600433d3619cdc8839f6a2ad2da3b9c7
4
- data.tar.gz: fbe2257d54b98c8aff1d8163f2a4dc15071c7d92
2
+ SHA256:
3
+ metadata.gz: 976d59e1ce7d21c024936f21e58be085fa096260c8ee38b4c0d6f70d35145449
4
+ data.tar.gz: 389db57d4b31efa2114f9c3f5f86545f691a2db96de1d3aaad5ff995a0b02f45
5
5
  SHA512:
6
- metadata.gz: 4936c9a792ec9950a4bbd5c02c8fcc89cedc44cd1900737d6e20106ad3810f1d27b7aa9bbb230f58177a2dd10ac251bfbaec4674a5e31855c5f5bf450fd7dfbf
7
- data.tar.gz: 5f087846be5d4870975de8841872320a6e0ce441b568e4db28526a2bb715264b92b7089aa70df9adb615d3f735b8079847472e55e9c8cd75cd0eca4b33cd01ca
6
+ metadata.gz: f4929b559f25512c5ebe9a66519f018e834a2678e60c4062047bbdeb466d87b1c99be3a23b157f1c331c61d39bb5627f2ff4eef13158c697596755adf9eea927
7
+ data.tar.gz: bd8df34a05b1861472d6710e96c58104af9f0873fffc6cbb4191c91d4eab2c42bb739c0c8a522a92d61eb8898f3ace07adbccd48b40396f2330831cb4c014426
data/.travis.yml CHANGED
@@ -19,6 +19,8 @@ matrix:
19
19
  env: MONGOID_VERSION=5
20
20
  - rvm: 2.3.1
21
21
  env: MONGOID_VERSION=6
22
+ - rvm: 2.3.1
23
+ env: MONGOID_VERSION=7
22
24
  - rvm: 2.3.1
23
25
  env: MONGOID_VERSION=HEAD
24
26
  - rvm: 2.3.1
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 0.3.7 (2021/06/01)
2
+
3
+ * [#22](https://github.com/mongoid/mongoid-scroll/pull/22): Compatibility with Mongoid 7 - [@asgerb](https://github.com/asgerb).
4
+
1
5
  ### 0.3.6 (2018/05/01)
2
6
 
3
7
  * [#18](https://github.com/mongoid/mongoid-scroll/pull/18): Fix mongoid scroll without block returning wrong criteria - [@asgerb](https://github.com/asgerb).
data/Gemfile CHANGED
@@ -2,26 +2,19 @@ source 'http://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
- case version = ENV['MONGOID_VERSION'] || '~> 6.0'
6
- when 'HEAD'
7
- gem 'mongoid', github: 'mongodb/mongoid'
8
- when /7/
9
- gem 'mongoid', github: 'mongodb/mongoid', branch: '7.0-dev'
10
- when /6/
11
- gem 'mongoid', '~> 6.0'
12
- when /5/
13
- gem 'mongoid', '~> 5.0'
14
- when /4/
15
- gem 'mongoid', '~> 4.0'
16
- when /3/
17
- gem 'mongoid', '~> 3.1'
18
- else
19
- gem 'mongoid', version
5
+ case version = ENV['MONGOID_VERSION'] || '~> 7.0'
6
+ when 'HEAD' then gem 'mongoid', github: 'mongodb/mongoid'
7
+ when /7/ then gem 'mongoid', '~> 7.0'
8
+ when /6/ then gem 'mongoid', '~> 6.0'
9
+ when /5/ then gem 'mongoid', '~> 5.0'
10
+ when /4/ then gem 'mongoid', '~> 4.0'
11
+ when /3/ then gem 'mongoid', '~> 3.1'
12
+ else gem 'mongoid', version
20
13
  end
21
14
 
22
15
  group :development, :test do
23
16
  gem 'bundler'
24
- gem 'database_cleaner'
17
+ gem 'database_cleaner', '~> 1.8.5'
25
18
  gem 'faker'
26
19
  gem 'mongoid-danger', '~> 0.1.0', require: false
27
20
  gem 'rake'
data/README.md CHANGED
@@ -11,7 +11,7 @@ Mongoid extension that enables infinite scrolling for `Mongoid::Criteria`, `Mope
11
11
  Compatibility
12
12
  -------------
13
13
 
14
- This gem supports Mongoid 3, 4, 5, 6, Moped and Mongo-Ruby-Driver.
14
+ This gem supports Mongoid 3, 4, 5, 6, 7, Moped and Mongo-Ruby-Driver.
15
15
 
16
16
  Demo
17
17
  ----
data/RELEASING.md CHANGED
@@ -16,8 +16,8 @@ Check that the last build succeeded in [Travis CI](https://travis-ci.org/mongoid
16
16
 
17
17
  Increment the version, modify [lib/mongoid/scroll/version.rb](lib/mongoid/scroll/version.rb).
18
18
 
19
- * Increment the third number if the release has bug fixes and/or very minor features, only (eg. change `0.5.1` to `0.5.2`).
20
- * Increment the second number if the release contains major features or breaking API changes (eg. change `0.5.1` to `0.4.0`).
19
+ * Increment the third number if the release has bug fixes and/or very minor features, only (eg. change `0.4.1` to `0.4.2`).
20
+ * Increment the second number if the release contains major features or breaking API changes (eg. change `0.4.1` to `0.5.0`).
21
21
 
22
22
  Change "Next Release" in [CHANGELOG.md](CHANGELOG.md) to the new version.
23
23
 
@@ -51,7 +51,7 @@ Pushed mongoid-scroll 0.4.0 to rubygems.org.
51
51
  Add the next release to [CHANGELOG.md](CHANGELOG.md).
52
52
 
53
53
  ```
54
- ### Next Release
54
+ ### 0.4.1 (Next)
55
55
 
56
56
  * Your contribution here.
57
57
  ```
@@ -1,5 +1,5 @@
1
1
  module Mongoid
2
2
  module Scroll
3
- VERSION = '0.3.6'.freeze
3
+ VERSION = '0.3.7'.freeze
4
4
  end
5
5
  end
data/spec/spec_helper.rb CHANGED
@@ -18,7 +18,7 @@ end
18
18
  RSpec.configure do |config|
19
19
  config.before :all do
20
20
  Mongoid.logger.level = Logger::INFO
21
- Mongo::Logger.logger.level = Logger::INFO if Mongoid::Compatibility::Version.mongoid5? || Mongoid::Compatibility::Version.mongoid6?
21
+ Mongo::Logger.logger.level = Logger::INFO if Mongoid::Compatibility::Version.mongoid5_or_newer?
22
22
  end
23
23
  config.before :each do
24
24
  DatabaseCleaner.clean
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid-scroll
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Doubrovkine
8
8
  - Frank Macreery
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-05-01 00:00:00.000000000 Z
12
+ date: 2021-06-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mongoid
@@ -53,7 +53,7 @@ dependencies:
53
53
  - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
- description:
56
+ description:
57
57
  email: dblock@dblock.org
58
58
  executables: []
59
59
  extensions: []
@@ -103,7 +103,7 @@ homepage: http://github.com/mongoid/mongoid-scroll
103
103
  licenses:
104
104
  - MIT
105
105
  metadata: {}
106
- post_install_message:
106
+ post_install_message:
107
107
  rdoc_options: []
108
108
  require_paths:
109
109
  - lib
@@ -118,9 +118,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
118
118
  - !ruby/object:Gem::Version
119
119
  version: 1.3.6
120
120
  requirements: []
121
- rubyforge_project:
122
- rubygems_version: 2.6.12
123
- signing_key:
121
+ rubygems_version: 3.1.3
122
+ signing_key:
124
123
  specification_version: 4
125
124
  summary: Mongoid extensions to enable infinite scroll.
126
125
  test_files: []