graphql-pagination 1.2.1 → 2.0.1

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: d715716106b2909150983a8bfdfac8e1a9d9b05d83c5b9862c2fc22b2db55489
4
- data.tar.gz: 42e4ab3559c17d4c66a142af51797023e55732baa40f54f776f5707d7b34185f
3
+ metadata.gz: b902c58fce73cf2785b2f6a1938f9578c89e9b235c081a6e5c769f0c747acece
4
+ data.tar.gz: ee72aa64adb804a3a5458530cc426a3fd98a54d910eaa53cdccb088573ce9361
5
5
  SHA512:
6
- metadata.gz: 0f3b71b35a6e209551664aac705224ad4a87dedd9cd94c5f919a5c7eacdc4136f2a6f21bcdbf8e63895e3ff97097f55458d3cf4cd04bfd70cad52f2a15946de7
7
- data.tar.gz: 3fc4bd5ca7d35e3eff913bd15e44de5c679908c22ded3d3ce94bb7d1753e4211363ea2dd59e3e0d35e190d4358831dab6c40bd899f8707e82d8bf7ae135050ac
6
+ metadata.gz: cef3d062eb3f7eaf42617fbe44fb4b33400df6ce03d60a6b10715e3a3066c780ad74482a2e78ec11dc382c1a415fb4c8bb96f9a6c02f1f85d89d48c49b36d940
7
+ data.tar.gz: 534eda25a1be3daab2259787696e1ea604d040cd8e8ade5883beea90d755acfe6246433742d19579d703bbcda14cc194dcc7b4e10717d1d53666db55cc0dc751
data/.bundler-version CHANGED
@@ -1 +1 @@
1
- 2.2.32
1
+ 2.3.12
@@ -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', 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,85 +1,85 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- graphql-pagination (1.2.1)
5
- graphql (~> 1.12)
4
+ graphql-pagination (2.0.1)
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.4)
11
+ activesupport (= 7.0.2.4)
12
+ activerecord (7.0.2.4)
13
+ activemodel (= 7.0.2.4)
14
+ activesupport (= 7.0.2.4)
15
+ activesupport (7.0.2.4)
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.19)
26
- i18n (1.8.11)
22
+ concurrent-ruby (1.1.10)
23
+ diff-lcs (1.5.0)
24
+ graphql (2.0.7)
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.21.0)
35
- parser (3.0.2.0)
32
+ minitest (5.15.0)
33
+ parallel (1.22.1)
34
+ parser (3.1.2.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.3.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.3)
57
- rubocop (1.23.0)
54
+ rspec-support (~> 3.11.0)
55
+ rspec-support (3.11.0)
56
+ rubocop (1.28.2)
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.17.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.17.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.10.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
78
+ ruby
80
79
  x86_64-darwin-18
81
80
  x86_64-darwin-19
82
81
  x86_64-darwin-20
82
+ x86_64-darwin-21
83
83
  x86_64-linux
84
84
 
85
85
  DEPENDENCIES
@@ -94,4 +94,4 @@ DEPENDENCIES
94
94
  rubocop-rspec
95
95
 
96
96
  BUNDLED WITH
97
- 2.2.29
97
+ 2.3.12
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'
@@ -24,9 +24,9 @@ Gem::Specification.new do |spec|
24
24
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
25
  spec.require_paths = ['lib']
26
26
 
27
- spec.required_ruby_version = '>= 2.7'
27
+ spec.required_ruby_version = '>= 3.0'
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.1'.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.1
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-05-03 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
@@ -183,14 +183,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
183
183
  requirements:
184
184
  - - ">="
185
185
  - !ruby/object:Gem::Version
186
- version: '2.7'
186
+ version: '3.0'
187
187
  required_rubygems_version: !ruby/object:Gem::Requirement
188
188
  requirements:
189
189
  - - ">="
190
190
  - !ruby/object:Gem::Version
191
191
  version: '0'
192
192
  requirements: []
193
- rubygems_version: 3.2.23
193
+ rubygems_version: 3.3.11
194
194
  signing_key:
195
195
  specification_version: 4
196
196
  summary: Page-based kaminari pagination for graphql.