graphql-pagination 1.2.1 → 2.0.0.rc

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d715716106b2909150983a8bfdfac8e1a9d9b05d83c5b9862c2fc22b2db55489
4
- data.tar.gz: 42e4ab3559c17d4c66a142af51797023e55732baa40f54f776f5707d7b34185f
3
+ metadata.gz: 4481440a6f4abc6e4c8a4698404712b26445567036d889a776fbc8f4ebf0c728
4
+ data.tar.gz: 2161f01f80cab505cbea3a2f5728a7a19c9b1353c0bfc7089fa4f2a8f6649c20
5
5
  SHA512:
6
- metadata.gz: 0f3b71b35a6e209551664aac705224ad4a87dedd9cd94c5f919a5c7eacdc4136f2a6f21bcdbf8e63895e3ff97097f55458d3cf4cd04bfd70cad52f2a15946de7
7
- data.tar.gz: 3fc4bd5ca7d35e3eff913bd15e44de5c679908c22ded3d3ce94bb7d1753e4211363ea2dd59e3e0d35e190d4358831dab6c40bd899f8707e82d8bf7ae135050ac
6
+ metadata.gz: 6867a1340bf4ff4429489ee5d9dafcd2eef354b524ad76b9abcf397a67c6e482e6360cb2a1e69effb1abe5ba368cfb1d00ffa05a14808977a4b4f565a65c7423
7
+ data.tar.gz: cc613654cb5178ba60f903d21505100193499319658a28032c19197656e574b7f0ea4f4e81ec56a5b45b5c67f93fb29b4a9f4099cf71019920c684476dc6f0f7
data/.bundler-version CHANGED
@@ -1 +1 @@
1
- 2.2.32
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:
@@ -11,7 +11,7 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
  strategy:
13
13
  matrix:
14
- ruby-version: ['2.7', '3.0']
14
+ ruby-version: ['3.0']
15
15
 
16
16
  steps:
17
17
  - uses: actions/checkout@v2
data/Gemfile.lock CHANGED
@@ -1,85 +1,84 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- graphql-pagination (1.2.1)
5
- graphql (~> 1.12)
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 (6.1.4.1)
11
- activesupport (= 6.1.4.1)
12
- activerecord (6.1.4.1)
13
- activemodel (= 6.1.4.1)
14
- activesupport (= 6.1.4.1)
15
- activesupport (6.1.4.1)
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.4.4)
25
- graphql (1.12.19)
26
- i18n (1.8.11)
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.1)
27
+ kaminari-activerecord (1.2.2)
29
28
  activerecord
30
- kaminari-core (= 1.2.1)
31
- kaminari-core (1.2.1)
29
+ kaminari-core (= 1.2.2)
30
+ kaminari-core (1.2.2)
32
31
  method_source (1.0.0)
33
- minitest (5.14.4)
32
+ minitest (5.15.0)
34
33
  parallel (1.21.0)
35
- parser (3.0.2.0)
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.0.0)
39
+ rainbow (3.1.1)
41
40
  rake (13.0.6)
42
- regexp_parser (2.1.1)
41
+ regexp_parser (2.2.1)
43
42
  rexml (3.2.5)
44
- rspec (3.10.0)
45
- rspec-core (~> 3.10.0)
46
- rspec-expectations (~> 3.10.0)
47
- rspec-mocks (~> 3.10.0)
48
- rspec-core (3.10.1)
49
- rspec-support (~> 3.10.0)
50
- rspec-expectations (3.10.1)
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.10.0)
53
- rspec-mocks (3.10.2)
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.10.0)
56
- rspec-support (3.10.3)
57
- rubocop (1.23.0)
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.0.0.0)
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.12.0, < 2.0)
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.13.0)
67
- parser (>= 3.0.1.1)
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.6.0)
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.2.29
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 anmd load it on your own.
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'
@@ -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', '~> 1.12'
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'
@@ -1,3 +1,3 @@
1
1
  module GraphqlPagination
2
- VERSION = '1.2.1'.freeze
2
+ VERSION = '2.0.0.rc'.freeze
3
3
  end
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: 1.2.1
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: 2021-11-24 00:00:00.000000000 Z
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: '1.12'
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: '1.12'
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: '0'
191
+ version: 1.3.1
192
192
  requirements: []
193
- rubygems_version: 3.2.23
193
+ rubygems_version: 3.2.32
194
194
  signing_key:
195
195
  specification_version: 4
196
196
  summary: Page-based kaminari pagination for graphql.