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 +5 -5
- data/.travis.yml +2 -0
- data/CHANGELOG.md +4 -0
- data/Gemfile +9 -16
- data/README.md +1 -1
- data/RELEASING.md +3 -3
- data/lib/mongoid/scroll/version.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +7 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 976d59e1ce7d21c024936f21e58be085fa096260c8ee38b4c0d6f70d35145449
|
4
|
+
data.tar.gz: 389db57d4b31efa2114f9c3f5f86545f691a2db96de1d3aaad5ff995a0b02f45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4929b559f25512c5ebe9a66519f018e834a2678e60c4062047bbdeb466d87b1c99be3a23b157f1c331c61d39bb5627f2ff4eef13158c697596755adf9eea927
|
7
|
+
data.tar.gz: bd8df34a05b1861472d6710e96c58104af9f0873fffc6cbb4191c91d4eab2c42bb739c0c8a522a92d61eb8898f3ace07adbccd48b40396f2330831cb4c014426
|
data/.travis.yml
CHANGED
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
|
-
when 'HEAD'
|
7
|
-
|
8
|
-
when /
|
9
|
-
|
10
|
-
when /
|
11
|
-
|
12
|
-
|
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.
|
20
|
-
* Increment the second number if the release contains major features or breaking API changes (eg. change `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
|
54
|
+
### 0.4.1 (Next)
|
55
55
|
|
56
56
|
* Your contribution here.
|
57
57
|
```
|
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.
|
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.
|
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:
|
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
|
-
|
122
|
-
|
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: []
|