graphql-pagination 1.2.0 → 2.0.0

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
2
  SHA256:
3
- metadata.gz: ac8eec73e3f4bf23e60cf8cca10cee6066b1f72ba02b4abfe62a5d64a1973b84
4
- data.tar.gz: d5128484c2d064e47d06a36d3b46404361f2f85873442222882b62c376421363
3
+ metadata.gz: 66ee4e073251b59ae351cabd16e4122d2b9aca8ad2bf666b6a7d7f24004d2d60
4
+ data.tar.gz: ca7ab1e6a8612d16a80296b50158073e42d160dc4ef9487d6926968153847e93
5
5
  SHA512:
6
- metadata.gz: e48de20398166c2632c8751978882ec75db86714b2703667886da512813b5c027cdb8ee5e0179229a3a2e2e10a887b683abf4365a6477b441d1586660f9459df
7
- data.tar.gz: 9006adcb4177edd4fbe1d1f2f03e2778f87faf920ac9ce8caf9e57b1265859cde04677ce9c163c2d68e421dea5f8c43af45695e469ac22af553961c846f6f68f
6
+ metadata.gz: f281e3304279f6f02dfde1c682a94ad3fe2771c41052ab97982200a17257b9a2650ab858fc70834bcef0a0651b61e34190765fcc121c0c4c71a8adb93e072a1f
7
+ data.tar.gz: ddd6dd8edb076763cb918abb30187bd67d6b62999f89eb08abd39b5324794a0fcbafb1ca4c16f95809e14959941c5720d8eaedc7036d83f4cf1ca9d4047f59ff
data/.bundler-version CHANGED
@@ -1 +1 @@
1
- 2.2.23
1
+ 2.3.10
@@ -2,15 +2,13 @@
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
9
  runs-on: ubuntu-latest
12
10
  steps:
13
- - uses: hmarr/auto-approve-action@v2.0.0
11
+ - uses: hmarr/auto-approve-action@v2
14
12
  if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.actor == 'renofidev'
15
13
  with:
16
14
  github-token: "${{ secrets.GITHUB_TOKEN }}"
@@ -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', 3.1]
15
15
 
16
16
  steps:
17
17
  - uses: actions/checkout@v2
@@ -19,7 +19,7 @@ jobs:
19
19
  # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
20
20
  # change this to (see https://github.com/ruby/setup-ruby#versioning):
21
21
  # uses: ruby/setup-ruby@v1
22
- uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
22
+ uses: ruby/setup-ruby@bd94d6a504586da892a5753afdd1480096ed30df
23
23
  with:
24
24
  ruby-version: ${{ matrix.ruby-version }}
25
25
  bundler-cache: true # runs 'bundle install' and caches installed gems automatically
data/Gemfile.lock CHANGED
@@ -1,84 +1,84 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- graphql-pagination (1.2.0)
5
- graphql (~> 1.12)
4
+ graphql-pagination (2.0.0)
5
+ graphql (~> 2.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activemodel (6.1.4)
11
- activesupport (= 6.1.4)
12
- activerecord (6.1.4)
13
- activemodel (= 6.1.4)
14
- activesupport (= 6.1.4)
15
- activesupport (6.1.4)
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
- concurrent-ruby (1.1.9)
24
- diff-lcs (1.4.4)
25
- graphql (1.12.13)
26
- i18n (1.8.10)
22
+ concurrent-ruby (1.1.10)
23
+ diff-lcs (1.5.0)
24
+ graphql (2.0.5)
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)
34
- parallel (1.20.1)
35
- parser (3.0.1.1)
32
+ minitest (5.15.0)
33
+ parallel (1.22.1)
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)
41
- rake (13.0.4)
42
- regexp_parser (2.1.1)
39
+ rainbow (3.1.1)
40
+ rake (13.0.6)
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.1)
54
53
  diff-lcs (>= 1.2.0, < 2.0)
55
- rspec-support (~> 3.10.0)
56
- rspec-support (3.10.2)
57
- rubocop (1.18.3)
54
+ rspec-support (~> 3.11.0)
55
+ rspec-support (3.11.0)
56
+ rubocop (1.26.1)
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.7.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.7.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.4.0)
71
- rubocop (~> 1.0)
72
- rubocop-ast (>= 1.1.0)
69
+ rubocop-rspec (2.9.0)
70
+ rubocop (~> 1.19)
73
71
  ruby-progressbar (1.11.0)
74
72
  tzinfo (2.0.4)
75
73
  concurrent-ruby (~> 1.0)
76
- unicode-display_width (2.0.0)
77
- zeitwerk (2.4.2)
74
+ unicode-display_width (2.1.0)
78
75
 
79
76
  PLATFORMS
80
- ruby
77
+ aarch64-linux-musl
78
+ x86_64-darwin-18
79
+ x86_64-darwin-19
81
80
  x86_64-darwin-20
81
+ x86_64-darwin-21
82
82
  x86_64-linux
83
83
 
84
84
  DEPENDENCIES
@@ -93,4 +93,4 @@ DEPENDENCIES
93
93
  rubocop-rspec
94
94
 
95
95
  BUNDLED WITH
96
- 2.2.23
96
+ 2.3.10
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  [![Gem Version](https://badge.fury.io/rb/graphql-pagination.svg)](https://rubygems.org/gems/graphql-pagination)
2
- [![Build Status](https://travis-ci.org/RenoFi/graphql-pagination.svg?branch=master)](https://travis-ci.org/RenoFi/graphql-pagination)
2
+ [![Build Status](https://github.com/RenoFi/graphql-pagination/actions/workflows/ci.yml/badge.svg)](https://github.com/RenoFi/graphql-pagination/actions/workflows/ci.yml?query=branch%3Amain)
3
3
 
4
4
  # graphql-pagination
5
5
 
@@ -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'
@@ -15,6 +15,7 @@ Gem::Specification.new do |spec|
15
15
 
16
16
  spec.metadata['homepage_uri'] = 'https://github.com/RenoFi/graphql-pagination'
17
17
  spec.metadata['source_code_uri'] = 'https://github.com/RenoFi/graphql-pagination'
18
+ spec.metadata['rubygems_mfa_required'] = 'true'
18
19
 
19
20
  spec.files = Dir.chdir(__dir__) do
20
21
  `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(bin/|spec/|\.rub)}) }
@@ -23,9 +24,9 @@ Gem::Specification.new do |spec|
23
24
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
25
  spec.require_paths = ['lib']
25
26
 
26
- spec.required_ruby_version = '>= 2.7'
27
+ spec.required_ruby_version = '>= 3.0'
27
28
 
28
- spec.add_dependency 'graphql', '~> 1.12'
29
+ spec.add_dependency 'graphql', '~> 2.0'
29
30
 
30
31
  spec.add_development_dependency 'kaminari-activerecord'
31
32
  spec.add_development_dependency 'kaminari-core'
@@ -1,3 +1,3 @@
1
1
  module GraphqlPagination
2
- VERSION = '1.2.0'.freeze
2
+ VERSION = '2.0.0'.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.0
4
+ version: 2.0.0
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-07-15 00:00:00.000000000 Z
12
+ date: 2022-04-02 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
@@ -174,6 +174,7 @@ licenses:
174
174
  metadata:
175
175
  homepage_uri: https://github.com/RenoFi/graphql-pagination
176
176
  source_code_uri: https://github.com/RenoFi/graphql-pagination
177
+ rubygems_mfa_required: 'true'
177
178
  post_install_message:
178
179
  rdoc_options: []
179
180
  require_paths:
@@ -182,14 +183,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
182
183
  requirements:
183
184
  - - ">="
184
185
  - !ruby/object:Gem::Version
185
- version: '2.7'
186
+ version: '3.0'
186
187
  required_rubygems_version: !ruby/object:Gem::Requirement
187
188
  requirements:
188
189
  - - ">="
189
190
  - !ruby/object:Gem::Version
190
191
  version: '0'
191
192
  requirements: []
192
- rubygems_version: 3.2.23
193
+ rubygems_version: 3.3.7
193
194
  signing_key:
194
195
  specification_version: 4
195
196
  summary: Page-based kaminari pagination for graphql.