graphql-pagination 1.2.1 → 2.0.0.rc
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.bundler-version +1 -1
- data/.github/workflows/auto-approve.yml +1 -3
- data/.github/workflows/ci.yml +1 -1
- data/Gemfile.lock +37 -38
- data/README.md +1 -1
- data/graphql-pagination.gemspec +1 -1
- data/lib/graphql_pagination/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4481440a6f4abc6e4c8a4698404712b26445567036d889a776fbc8f4ebf0c728
|
4
|
+
data.tar.gz: 2161f01f80cab505cbea3a2f5728a7a19c9b1353c0bfc7089fa4f2a8f6649c20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6867a1340bf4ff4429489ee5d9dafcd2eef354b524ad76b9abcf397a67c6e482e6360cb2a1e69effb1abe5ba368cfb1d00ffa05a14808977a4b4f565a65c7423
|
7
|
+
data.tar.gz: cc613654cb5178ba60f903d21505100193499319658a28032c19197656e574b7f0ea4f4e81ec56a5b45b5c67f93fb29b4a9f4099cf71019920c684476dc6f0f7
|
data/.bundler-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.3.9
|
@@ -2,9 +2,7 @@
|
|
2
2
|
# this will allow Dependabot to automatically merge dependency update PRs where CI passes
|
3
3
|
# from: https://github.com/hmarr/auto-approve-action
|
4
4
|
name: Auto approve dependency upgrades PRs
|
5
|
-
|
6
|
-
on:
|
7
|
-
pull_request
|
5
|
+
on: pull_request_target
|
8
6
|
|
9
7
|
jobs:
|
10
8
|
auto-approve:
|
data/.github/workflows/ci.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,85 +1,84 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
graphql-pagination (
|
5
|
-
graphql (~>
|
4
|
+
graphql-pagination (2.0.0.rc)
|
5
|
+
graphql (~> 2.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
activemodel (
|
11
|
-
activesupport (=
|
12
|
-
activerecord (
|
13
|
-
activemodel (=
|
14
|
-
activesupport (=
|
15
|
-
activesupport (
|
10
|
+
activemodel (7.0.2.3)
|
11
|
+
activesupport (= 7.0.2.3)
|
12
|
+
activerecord (7.0.2.3)
|
13
|
+
activemodel (= 7.0.2.3)
|
14
|
+
activesupport (= 7.0.2.3)
|
15
|
+
activesupport (7.0.2.3)
|
16
16
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
17
17
|
i18n (>= 1.6, < 2)
|
18
18
|
minitest (>= 5.1)
|
19
19
|
tzinfo (~> 2.0)
|
20
|
-
zeitwerk (~> 2.3)
|
21
20
|
ast (2.4.2)
|
22
21
|
coderay (1.1.3)
|
23
22
|
concurrent-ruby (1.1.9)
|
24
|
-
diff-lcs (1.
|
25
|
-
graphql (
|
26
|
-
i18n (1.
|
23
|
+
diff-lcs (1.5.0)
|
24
|
+
graphql (2.0.2)
|
25
|
+
i18n (1.10.0)
|
27
26
|
concurrent-ruby (~> 1.0)
|
28
|
-
kaminari-activerecord (1.2.
|
27
|
+
kaminari-activerecord (1.2.2)
|
29
28
|
activerecord
|
30
|
-
kaminari-core (= 1.2.
|
31
|
-
kaminari-core (1.2.
|
29
|
+
kaminari-core (= 1.2.2)
|
30
|
+
kaminari-core (1.2.2)
|
32
31
|
method_source (1.0.0)
|
33
|
-
minitest (5.
|
32
|
+
minitest (5.15.0)
|
34
33
|
parallel (1.21.0)
|
35
|
-
parser (3.
|
34
|
+
parser (3.1.1.0)
|
36
35
|
ast (~> 2.4.1)
|
37
36
|
pry (0.14.1)
|
38
37
|
coderay (~> 1.1)
|
39
38
|
method_source (~> 1.0)
|
40
|
-
rainbow (3.
|
39
|
+
rainbow (3.1.1)
|
41
40
|
rake (13.0.6)
|
42
|
-
regexp_parser (2.
|
41
|
+
regexp_parser (2.2.1)
|
43
42
|
rexml (3.2.5)
|
44
|
-
rspec (3.
|
45
|
-
rspec-core (~> 3.
|
46
|
-
rspec-expectations (~> 3.
|
47
|
-
rspec-mocks (~> 3.
|
48
|
-
rspec-core (3.
|
49
|
-
rspec-support (~> 3.
|
50
|
-
rspec-expectations (3.
|
43
|
+
rspec (3.11.0)
|
44
|
+
rspec-core (~> 3.11.0)
|
45
|
+
rspec-expectations (~> 3.11.0)
|
46
|
+
rspec-mocks (~> 3.11.0)
|
47
|
+
rspec-core (3.11.0)
|
48
|
+
rspec-support (~> 3.11.0)
|
49
|
+
rspec-expectations (3.11.0)
|
51
50
|
diff-lcs (>= 1.2.0, < 2.0)
|
52
|
-
rspec-support (~> 3.
|
53
|
-
rspec-mocks (3.
|
51
|
+
rspec-support (~> 3.11.0)
|
52
|
+
rspec-mocks (3.11.0)
|
54
53
|
diff-lcs (>= 1.2.0, < 2.0)
|
55
|
-
rspec-support (~> 3.
|
56
|
-
rspec-support (3.
|
57
|
-
rubocop (1.
|
54
|
+
rspec-support (~> 3.11.0)
|
55
|
+
rspec-support (3.11.0)
|
56
|
+
rubocop (1.26.0)
|
58
57
|
parallel (~> 1.10)
|
59
|
-
parser (>= 3.
|
58
|
+
parser (>= 3.1.0.0)
|
60
59
|
rainbow (>= 2.2.2, < 4.0)
|
61
60
|
regexp_parser (>= 1.8, < 3.0)
|
62
61
|
rexml
|
63
|
-
rubocop-ast (>= 1.
|
62
|
+
rubocop-ast (>= 1.16.0, < 2.0)
|
64
63
|
ruby-progressbar (~> 1.7)
|
65
64
|
unicode-display_width (>= 1.4.0, < 3.0)
|
66
|
-
rubocop-ast (1.
|
67
|
-
parser (>= 3.
|
65
|
+
rubocop-ast (1.16.0)
|
66
|
+
parser (>= 3.1.1.0)
|
68
67
|
rubocop-rake (0.6.0)
|
69
68
|
rubocop (~> 1.0)
|
70
|
-
rubocop-rspec (2.
|
69
|
+
rubocop-rspec (2.9.0)
|
71
70
|
rubocop (~> 1.19)
|
72
71
|
ruby-progressbar (1.11.0)
|
73
72
|
tzinfo (2.0.4)
|
74
73
|
concurrent-ruby (~> 1.0)
|
75
74
|
unicode-display_width (2.1.0)
|
76
|
-
zeitwerk (2.5.1)
|
77
75
|
|
78
76
|
PLATFORMS
|
79
77
|
aarch64-linux-musl
|
80
78
|
x86_64-darwin-18
|
81
79
|
x86_64-darwin-19
|
82
80
|
x86_64-darwin-20
|
81
|
+
x86_64-darwin-21
|
83
82
|
x86_64-linux
|
84
83
|
|
85
84
|
DEPENDENCIES
|
@@ -94,4 +93,4 @@ DEPENDENCIES
|
|
94
93
|
rubocop-rspec
|
95
94
|
|
96
95
|
BUNDLED WITH
|
97
|
-
2.
|
96
|
+
2.3.9
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Implements page-based pagination returning collection and pagination metadata. I
|
|
7
7
|
|
8
8
|
## Installation
|
9
9
|
|
10
|
-
Add `graphql-pagination` to your Gemfile, you can use `kaminari-activerecord` or `kaminari-monogid` to not implement page scope methods. Kaminari is not loaded by the gem, so you need to decide
|
10
|
+
Add `graphql-pagination` to your Gemfile, you can use `kaminari-activerecord` or `kaminari-monogid` to not implement page scope methods. Kaminari is not loaded by the gem, so you need to decide and load it on your own.
|
11
11
|
|
12
12
|
```ruby
|
13
13
|
gem 'graphql-pagination'
|
data/graphql-pagination.gemspec
CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
|
27
27
|
spec.required_ruby_version = '>= 2.7'
|
28
28
|
|
29
|
-
spec.add_dependency 'graphql', '~>
|
29
|
+
spec.add_dependency 'graphql', '~> 2.0'
|
30
30
|
|
31
31
|
spec.add_development_dependency 'kaminari-activerecord'
|
32
32
|
spec.add_development_dependency 'kaminari-core'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphql-pagination
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0.rc
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Krzysztof Knapik
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2022-03-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: graphql
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '
|
20
|
+
version: '2.0'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: '
|
27
|
+
version: '2.0'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: kaminari-activerecord
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -186,11 +186,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
186
186
|
version: '2.7'
|
187
187
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
188
188
|
requirements:
|
189
|
-
- - "
|
189
|
+
- - ">"
|
190
190
|
- !ruby/object:Gem::Version
|
191
|
-
version:
|
191
|
+
version: 1.3.1
|
192
192
|
requirements: []
|
193
|
-
rubygems_version: 3.2.
|
193
|
+
rubygems_version: 3.2.32
|
194
194
|
signing_key:
|
195
195
|
specification_version: 4
|
196
196
|
summary: Page-based kaminari pagination for graphql.
|