cursor_pager 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -4
- data/Gemfile.lock +9 -9
- data/README.md +2 -2
- data/cursor_pager.gemspec +2 -2
- data/lib/cursor_pager/page.rb +2 -1
- data/lib/cursor_pager/version.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c136fc2b06ed62b7e934a79af8b411d72b953e686510920544c04262d76f2e2
|
4
|
+
data.tar.gz: 443b6ec2ffd61b52e1e4ebc81483a51babe6037c9471eb16d43a0aba44ddebb3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 435a7a01a58084c5ee22d1f0b669ec7106a8f82666edee8cffe5834adf42c48b453c60453ba5128880cea0d18ecaeb83329521d8ad9230073aa807aab2bbe021
|
7
|
+
data.tar.gz: 1f5ff16d594ec6dfad4bae98a024f51c4f02cd0e32ac1c7c7f09c1797533280b84a480fc31ec478c9b29b4786364e5bfa5959b00d617e8171bbf178455617cd2
|
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
7
7
|
|
8
8
|
## [Unreleased]
|
9
9
|
|
10
|
+
## [0.2.2] - 2020-09-29
|
11
|
+
|
12
|
+
### Fixed
|
13
|
+
|
14
|
+
* Fix checking if the next page exists when a custom select is given #12
|
15
|
+
|
10
16
|
## [0.2.1] - 2020-05-13
|
11
17
|
|
12
18
|
### Fixed
|
@@ -27,7 +33,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
27
33
|
* First implementation of cursor-pased pagination #2
|
28
34
|
* Configurable cursor encoder #3
|
29
35
|
|
30
|
-
[Unreleased]: https://github.com/
|
31
|
-
[0.2.
|
32
|
-
[0.2.
|
33
|
-
[0.
|
36
|
+
[Unreleased]: https://github.com/check24-profis/shared-cursor-pager/compare/v0.2.2...HEAD
|
37
|
+
[0.2.2]: https://github.com/check24-profis/shared-cursor-pager/compare/v0.2.1...v0.2.2
|
38
|
+
[0.2.1]: https://github.com/check24-profis/shared-cursor-pager/compare/v0.2.0...v0.2.1
|
39
|
+
[0.2.0]: https://github.com/check24-profis/shared-cursor-pager/compare/v0.1.0...v0.2.0
|
40
|
+
[0.1.0]: https://github.com/check24-profis/shared-cursor-pager/releases/tag/v0.1.0
|
data/Gemfile.lock
CHANGED
@@ -1,23 +1,23 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
cursor_pager (0.2.
|
4
|
+
cursor_pager (0.2.2)
|
5
5
|
activerecord (>= 5.2.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
activemodel (6.0.
|
11
|
-
activesupport (= 6.0.
|
12
|
-
activerecord (6.0.
|
13
|
-
activemodel (= 6.0.
|
14
|
-
activesupport (= 6.0.
|
15
|
-
activesupport (6.0.
|
10
|
+
activemodel (6.0.3.1)
|
11
|
+
activesupport (= 6.0.3.1)
|
12
|
+
activerecord (6.0.3.1)
|
13
|
+
activemodel (= 6.0.3.1)
|
14
|
+
activesupport (= 6.0.3.1)
|
15
|
+
activesupport (6.0.3.1)
|
16
16
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
17
17
|
i18n (>= 0.7, < 2)
|
18
18
|
minitest (~> 5.1)
|
19
19
|
tzinfo (~> 1.1)
|
20
|
-
zeitwerk (~> 2.2)
|
20
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
21
21
|
appraisal (2.2.0)
|
22
22
|
bundler
|
23
23
|
rake
|
@@ -32,7 +32,7 @@ GEM
|
|
32
32
|
i18n (1.8.2)
|
33
33
|
concurrent-ruby (~> 1.0)
|
34
34
|
jaro_winkler (1.5.4)
|
35
|
-
minitest (5.14.
|
35
|
+
minitest (5.14.1)
|
36
36
|
parallel (1.19.1)
|
37
37
|
parser (2.7.1.1)
|
38
38
|
ast (~> 2.4.0)
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# CursorPager
|
2
2
|
|
3
|
-
![build](https://github.com/
|
3
|
+
![build](https://github.com/check24-profis/shared-cursor-pager/workflows/CI/badge.svg) [![Gem Version](https://badge.fury.io/rb/cursor_pager.svg)](https://badge.fury.io/rb/cursor_pager)
|
4
4
|
|
5
5
|
A small and easy-to-use library that aims to make it easy to build Rails APIs
|
6
6
|
with cursor-based pagination (aka keyset pagination).
|
@@ -119,5 +119,5 @@ The gem is available as open source under the terms of the [MIT License].
|
|
119
119
|
|
120
120
|
[JSON API Cursor Pagination]: https://jsonapi.org/profiles/ethanresnick/cursor-pagination/
|
121
121
|
[Relay's GraphQL Cursor Connection]: https://relay.dev/graphql/connections.htm
|
122
|
-
[code of conduct]: https://github.com/
|
122
|
+
[code of conduct]: https://github.com/check24-profis/shared-cursor-pager/blob/master/CODE_OF_CONDUCT.md
|
123
123
|
[MIT License]: https://opensource.org/licenses/MIT
|
data/cursor_pager.gemspec
CHANGED
@@ -9,14 +9,14 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.email = ["bastian.bartmann@check24.de"]
|
10
10
|
|
11
11
|
spec.summary = "Cursor-based pagination for ActiveRecord relations."
|
12
|
-
spec.homepage = "https://github.com/
|
12
|
+
spec.homepage = "https://github.com/check24-profis/shared-cursor-pager"
|
13
13
|
spec.license = "MIT"
|
14
14
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.6.0")
|
15
15
|
|
16
16
|
spec.metadata["homepage_uri"] = spec.homepage
|
17
17
|
spec.metadata["source_code_uri"] = spec.homepage
|
18
18
|
spec.metadata["changelog_uri"] =
|
19
|
-
"https://github.com/
|
19
|
+
"https://github.com/check24-profis/shared-cursor-pager/blob/master/CHANGELOG.md"
|
20
20
|
|
21
21
|
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
22
22
|
`git ls-files -z`
|
data/lib/cursor_pager/page.rb
CHANGED
data/lib/cursor_pager/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cursor_pager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bastian Bartmann
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -24,7 +24,7 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 5.2.0
|
27
|
-
description:
|
27
|
+
description:
|
28
28
|
email:
|
29
29
|
- bastian.bartmann@check24.de
|
30
30
|
executables: []
|
@@ -66,14 +66,14 @@ files:
|
|
66
66
|
- lib/cursor_pager/page.rb
|
67
67
|
- lib/cursor_pager/slice_relation.rb
|
68
68
|
- lib/cursor_pager/version.rb
|
69
|
-
homepage: https://github.com/
|
69
|
+
homepage: https://github.com/check24-profis/shared-cursor-pager
|
70
70
|
licenses:
|
71
71
|
- MIT
|
72
72
|
metadata:
|
73
|
-
homepage_uri: https://github.com/
|
74
|
-
source_code_uri: https://github.com/
|
75
|
-
changelog_uri: https://github.com/
|
76
|
-
post_install_message:
|
73
|
+
homepage_uri: https://github.com/check24-profis/shared-cursor-pager
|
74
|
+
source_code_uri: https://github.com/check24-profis/shared-cursor-pager
|
75
|
+
changelog_uri: https://github.com/check24-profis/shared-cursor-pager/blob/master/CHANGELOG.md
|
76
|
+
post_install_message:
|
77
77
|
rdoc_options: []
|
78
78
|
require_paths:
|
79
79
|
- lib
|
@@ -89,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
89
89
|
version: '0'
|
90
90
|
requirements: []
|
91
91
|
rubygems_version: 3.1.2
|
92
|
-
signing_key:
|
92
|
+
signing_key:
|
93
93
|
specification_version: 4
|
94
94
|
summary: Cursor-based pagination for ActiveRecord relations.
|
95
95
|
test_files: []
|