pagy_cursor 0.5.0 → 0.6.0

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: 629e879efd60a8e8dd9c10dc86c36fec57abbbd652906459243ad4b929c1700a
4
- data.tar.gz: 3d8f1917c76759073ac904314e992232bb490ef22b7665b11b849460f05fe972
3
+ metadata.gz: b30060ea35c9a871c94d64e1bca0a9d289e13a9c3751b34aca9b5d358df1e7bf
4
+ data.tar.gz: cc89b1199ee954188859776d4db32b6634ad8efef34f7ffa94a917802a5fd701
5
5
  SHA512:
6
- metadata.gz: '0098b2ebb670663d3f7817ac3968b5f1ac49bf1796bd896ec6a92ba611fe025a38546ab0d61686d45290fd0bbd5994c1efe7091cd09dd3ba540642708eba4a16'
7
- data.tar.gz: 4377b9f1a3c251b6c78b94e8be507118570822633b97f8b2289ec370518a2cb078940eaadff666f10ff5d54e7ac8554a11e0a1b03e8107775647639ad56b6a6f
6
+ metadata.gz: 7450e19adcb2c85ff8cff5af659790ee7094a47580edc9e18ea6d5735da3c635357ca041908a2b160a1e19d3e45966c6e7f4757ea5d0881afa6d885d040f1cff
7
+ data.tar.gz: bda797625d3c5579f6ae4f10f0a9a0623b41c11f82536047b3d95beabee13b8f0c16b2dc0fbf1daf390229f50c0e8e547cb2920ca7c47ca98f86e1fe69a776b8
@@ -25,21 +25,15 @@ jobs:
25
25
  strategy:
26
26
  matrix:
27
27
  include:
28
- - ruby-version: 2.5
29
- env:
30
- BUNDLE_GEMFILE: gemfiles/active_record_50.gemfile
31
- - ruby-version: 2.6
32
- env:
33
- BUNDLE_GEMFILE: gemfiles/active_record_51.gemfile
34
28
  - ruby-version: 2.7
35
29
  env:
36
30
  BUNDLE_GEMFILE: gemfiles/active_record_52.gemfile
37
31
  - ruby-version: 2.7
38
- env:
39
- BUNDLE_GEMFILE: gemfiles/active_record_60.gemfile
40
- - ruby-version: 3.0
41
32
  env:
42
33
  BUNDLE_GEMFILE: gemfiles/active_record_61.gemfile
34
+ - ruby-version: 3.1
35
+ env:
36
+ BUNDLE_GEMFILE: gemfiles/active_record_70.gemfile
43
37
 
44
38
  fail-fast: false
45
39
  env: ${{ matrix.env }}
@@ -77,18 +71,15 @@ jobs:
77
71
  strategy:
78
72
  matrix:
79
73
  include:
80
- - ruby-version: 2.5
81
- env:
82
- BUNDLE_GEMFILE: gemfiles/active_record_50.gemfile
83
- - ruby-version: 2.6
84
- env:
85
- BUNDLE_GEMFILE: gemfiles/active_record_51.gemfile
86
74
  - ruby-version: 2.7
87
75
  env:
88
76
  BUNDLE_GEMFILE: gemfiles/active_record_52.gemfile
89
77
  - ruby-version: 3.0
90
78
  env:
91
- BUNDLE_GEMFILE: gemfiles/active_record_60.gemfile
79
+ BUNDLE_GEMFILE: gemfiles/active_record_61.gemfile
80
+ - ruby-version: 3.1
81
+ env:
82
+ BUNDLE_GEMFILE: gemfiles/active_record_70.gemfile
92
83
  fail-fast: false
93
84
  env: ${{ matrix.env }}
94
85
  steps:
data/Gemfile CHANGED
@@ -2,10 +2,10 @@ source "https://rubygems.org"
2
2
 
3
3
  git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
4
 
5
- gem "rails", "~> 6.1"
5
+ gem "rails", "~> 7.0.0"
6
6
  gem "pg"
7
7
  gem "sqlite3"
8
- gem "mysql2"
8
+ # gem "mysql2"
9
9
  gem "pry"
10
10
  # Specify your gem's dependencies in pagy_cursor.gemspec
11
11
  gemspec path: "./"
data/Gemfile.lock CHANGED
@@ -1,174 +1,184 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pagy_cursor (0.2.2)
4
+ pagy_cursor (0.6.0)
5
5
  activerecord (>= 5)
6
- pagy (>= 5, < 6)
6
+ pagy (>= 6, < 7)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actioncable (6.1.4.4)
12
- actionpack (= 6.1.4.4)
13
- activesupport (= 6.1.4.4)
11
+ actioncable (7.0.4.3)
12
+ actionpack (= 7.0.4.3)
13
+ activesupport (= 7.0.4.3)
14
14
  nio4r (~> 2.0)
15
15
  websocket-driver (>= 0.6.1)
16
- actionmailbox (6.1.4.4)
17
- actionpack (= 6.1.4.4)
18
- activejob (= 6.1.4.4)
19
- activerecord (= 6.1.4.4)
20
- activestorage (= 6.1.4.4)
21
- activesupport (= 6.1.4.4)
16
+ actionmailbox (7.0.4.3)
17
+ actionpack (= 7.0.4.3)
18
+ activejob (= 7.0.4.3)
19
+ activerecord (= 7.0.4.3)
20
+ activestorage (= 7.0.4.3)
21
+ activesupport (= 7.0.4.3)
22
22
  mail (>= 2.7.1)
23
- actionmailer (6.1.4.4)
24
- actionpack (= 6.1.4.4)
25
- actionview (= 6.1.4.4)
26
- activejob (= 6.1.4.4)
27
- activesupport (= 6.1.4.4)
23
+ net-imap
24
+ net-pop
25
+ net-smtp
26
+ actionmailer (7.0.4.3)
27
+ actionpack (= 7.0.4.3)
28
+ actionview (= 7.0.4.3)
29
+ activejob (= 7.0.4.3)
30
+ activesupport (= 7.0.4.3)
28
31
  mail (~> 2.5, >= 2.5.4)
32
+ net-imap
33
+ net-pop
34
+ net-smtp
29
35
  rails-dom-testing (~> 2.0)
30
- actionpack (6.1.4.4)
31
- actionview (= 6.1.4.4)
32
- activesupport (= 6.1.4.4)
33
- rack (~> 2.0, >= 2.0.9)
36
+ actionpack (7.0.4.3)
37
+ actionview (= 7.0.4.3)
38
+ activesupport (= 7.0.4.3)
39
+ rack (~> 2.0, >= 2.2.0)
34
40
  rack-test (>= 0.6.3)
35
41
  rails-dom-testing (~> 2.0)
36
42
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
37
- actiontext (6.1.4.4)
38
- actionpack (= 6.1.4.4)
39
- activerecord (= 6.1.4.4)
40
- activestorage (= 6.1.4.4)
41
- activesupport (= 6.1.4.4)
43
+ actiontext (7.0.4.3)
44
+ actionpack (= 7.0.4.3)
45
+ activerecord (= 7.0.4.3)
46
+ activestorage (= 7.0.4.3)
47
+ activesupport (= 7.0.4.3)
48
+ globalid (>= 0.6.0)
42
49
  nokogiri (>= 1.8.5)
43
- actionview (6.1.4.4)
44
- activesupport (= 6.1.4.4)
50
+ actionview (7.0.4.3)
51
+ activesupport (= 7.0.4.3)
45
52
  builder (~> 3.1)
46
53
  erubi (~> 1.4)
47
54
  rails-dom-testing (~> 2.0)
48
55
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
49
- activejob (6.1.4.4)
50
- activesupport (= 6.1.4.4)
56
+ activejob (7.0.4.3)
57
+ activesupport (= 7.0.4.3)
51
58
  globalid (>= 0.3.6)
52
- activemodel (6.1.4.4)
53
- activesupport (= 6.1.4.4)
54
- activerecord (6.1.4.4)
55
- activemodel (= 6.1.4.4)
56
- activesupport (= 6.1.4.4)
57
- activestorage (6.1.4.4)
58
- actionpack (= 6.1.4.4)
59
- activejob (= 6.1.4.4)
60
- activerecord (= 6.1.4.4)
61
- activesupport (= 6.1.4.4)
62
- marcel (~> 1.0.0)
59
+ activemodel (7.0.4.3)
60
+ activesupport (= 7.0.4.3)
61
+ activerecord (7.0.4.3)
62
+ activemodel (= 7.0.4.3)
63
+ activesupport (= 7.0.4.3)
64
+ activestorage (7.0.4.3)
65
+ actionpack (= 7.0.4.3)
66
+ activejob (= 7.0.4.3)
67
+ activerecord (= 7.0.4.3)
68
+ activesupport (= 7.0.4.3)
69
+ marcel (~> 1.0)
63
70
  mini_mime (>= 1.1.0)
64
- activesupport (6.1.4.4)
71
+ activesupport (7.0.4.3)
65
72
  concurrent-ruby (~> 1.0, >= 1.0.2)
66
73
  i18n (>= 1.6, < 2)
67
74
  minitest (>= 5.1)
68
75
  tzinfo (~> 2.0)
69
- zeitwerk (~> 2.3)
70
76
  builder (3.2.4)
71
77
  coderay (1.1.3)
72
- concurrent-ruby (1.1.9)
78
+ concurrent-ruby (1.2.2)
73
79
  crass (1.0.6)
80
+ date (3.3.3)
74
81
  diff-lcs (1.5.0)
75
- erubi (1.10.0)
76
- globalid (1.0.0)
82
+ erubi (1.12.0)
83
+ globalid (1.1.0)
77
84
  activesupport (>= 5.0)
78
- i18n (1.9.1)
85
+ i18n (1.12.0)
79
86
  concurrent-ruby (~> 1.0)
80
- loofah (2.13.0)
87
+ loofah (2.20.0)
81
88
  crass (~> 1.0.2)
82
89
  nokogiri (>= 1.5.9)
83
- mail (2.7.1)
90
+ mail (2.8.1)
84
91
  mini_mime (>= 0.1.1)
92
+ net-imap
93
+ net-pop
94
+ net-smtp
85
95
  marcel (1.0.2)
86
96
  method_source (1.0.0)
87
97
  mini_mime (1.1.2)
88
- minitest (5.15.0)
89
- mysql2 (0.5.3)
90
- nio4r (2.5.8)
91
- nokogiri (1.12.5-x86_64-darwin)
98
+ minitest (5.18.0)
99
+ net-imap (0.3.4)
100
+ date
101
+ net-protocol
102
+ net-pop (0.1.2)
103
+ net-protocol
104
+ net-protocol (0.2.1)
105
+ timeout
106
+ net-smtp (0.3.3)
107
+ net-protocol
108
+ nio4r (2.5.9)
109
+ nokogiri (1.14.3-x86_64-darwin)
92
110
  racc (~> 1.4)
93
- pagy (5.10.1)
94
- activesupport
95
- pg (1.3.1)
96
- pry (0.14.1)
111
+ pagy (6.0.3)
112
+ pg (1.4.6)
113
+ pry (0.14.2)
97
114
  coderay (~> 1.1)
98
115
  method_source (~> 1.0)
99
- racc (1.6.0)
100
- rack (2.2.3)
101
- rack-test (1.1.0)
102
- rack (>= 1.0, < 3)
103
- rails (6.1.4.4)
104
- actioncable (= 6.1.4.4)
105
- actionmailbox (= 6.1.4.4)
106
- actionmailer (= 6.1.4.4)
107
- actionpack (= 6.1.4.4)
108
- actiontext (= 6.1.4.4)
109
- actionview (= 6.1.4.4)
110
- activejob (= 6.1.4.4)
111
- activemodel (= 6.1.4.4)
112
- activerecord (= 6.1.4.4)
113
- activestorage (= 6.1.4.4)
114
- activesupport (= 6.1.4.4)
116
+ racc (1.6.2)
117
+ rack (2.2.6.4)
118
+ rack-test (2.1.0)
119
+ rack (>= 1.3)
120
+ rails (7.0.4.3)
121
+ actioncable (= 7.0.4.3)
122
+ actionmailbox (= 7.0.4.3)
123
+ actionmailer (= 7.0.4.3)
124
+ actionpack (= 7.0.4.3)
125
+ actiontext (= 7.0.4.3)
126
+ actionview (= 7.0.4.3)
127
+ activejob (= 7.0.4.3)
128
+ activemodel (= 7.0.4.3)
129
+ activerecord (= 7.0.4.3)
130
+ activestorage (= 7.0.4.3)
131
+ activesupport (= 7.0.4.3)
115
132
  bundler (>= 1.15.0)
116
- railties (= 6.1.4.4)
117
- sprockets-rails (>= 2.0.0)
133
+ railties (= 7.0.4.3)
118
134
  rails-dom-testing (2.0.3)
119
135
  activesupport (>= 4.2.0)
120
136
  nokogiri (>= 1.6)
121
- rails-html-sanitizer (1.4.2)
122
- loofah (~> 2.3)
123
- railties (6.1.4.4)
124
- actionpack (= 6.1.4.4)
125
- activesupport (= 6.1.4.4)
137
+ rails-html-sanitizer (1.5.0)
138
+ loofah (~> 2.19, >= 2.19.1)
139
+ railties (7.0.4.3)
140
+ actionpack (= 7.0.4.3)
141
+ activesupport (= 7.0.4.3)
126
142
  method_source
127
- rake (>= 0.13)
143
+ rake (>= 12.2)
128
144
  thor (~> 1.0)
145
+ zeitwerk (~> 2.5)
129
146
  rake (13.0.6)
130
- rspec (3.10.0)
131
- rspec-core (~> 3.10.0)
132
- rspec-expectations (~> 3.10.0)
133
- rspec-mocks (~> 3.10.0)
134
- rspec-core (3.10.2)
135
- rspec-support (~> 3.10.0)
136
- rspec-expectations (3.10.2)
147
+ rspec (3.12.0)
148
+ rspec-core (~> 3.12.0)
149
+ rspec-expectations (~> 3.12.0)
150
+ rspec-mocks (~> 3.12.0)
151
+ rspec-core (3.12.2)
152
+ rspec-support (~> 3.12.0)
153
+ rspec-expectations (3.12.3)
137
154
  diff-lcs (>= 1.2.0, < 2.0)
138
- rspec-support (~> 3.10.0)
139
- rspec-mocks (3.10.3)
155
+ rspec-support (~> 3.12.0)
156
+ rspec-mocks (3.12.5)
140
157
  diff-lcs (>= 1.2.0, < 2.0)
141
- rspec-support (~> 3.10.0)
142
- rspec-support (3.10.3)
143
- sprockets (4.0.2)
144
- concurrent-ruby (~> 1.0)
145
- rack (> 1, < 3)
146
- sprockets-rails (3.4.2)
147
- actionpack (>= 5.2)
148
- activesupport (>= 5.2)
149
- sprockets (>= 3.0.0)
150
- sqlite3 (1.4.2)
158
+ rspec-support (~> 3.12.0)
159
+ rspec-support (3.12.0)
160
+ sqlite3 (1.6.2-x86_64-darwin)
151
161
  thor (1.2.1)
152
- tzinfo (2.0.4)
162
+ timeout (0.3.2)
163
+ tzinfo (2.0.6)
153
164
  concurrent-ruby (~> 1.0)
154
165
  websocket-driver (0.7.5)
155
166
  websocket-extensions (>= 0.1.0)
156
167
  websocket-extensions (0.1.5)
157
- zeitwerk (2.5.4)
168
+ zeitwerk (2.6.7)
158
169
 
159
170
  PLATFORMS
160
171
  x86_64-darwin-19
161
172
 
162
173
  DEPENDENCIES
163
174
  bundler (~> 2.0)
164
- mysql2
165
175
  pagy_cursor!
166
176
  pg
167
177
  pry
168
- rails (~> 6.1)
178
+ rails (~> 7.0.0)
169
179
  rake (~> 13.0)
170
180
  rspec (~> 3.0)
171
181
  sqlite3
172
182
 
173
183
  BUNDLED WITH
174
- 2.2.30
184
+ 2.2.22
@@ -2,7 +2,7 @@ source "https://rubygems.org"
2
2
 
3
3
  git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
4
 
5
- gem "rails", "~> 6.1"
5
+ gem "rails", "~> 6.1.0"
6
6
  gem "pg"
7
7
  gem "sqlite3"
8
8
  gem "mysql2"
@@ -2,7 +2,7 @@ source "https://rubygems.org"
2
2
 
3
3
  git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
4
 
5
- gem "rails", "~> 6.0"
5
+ gem "rails", "~> 7.0.0"
6
6
  gem "pg"
7
7
  gem "sqlite3"
8
8
  gem "mysql2"
@@ -1,3 +1,3 @@
1
1
  module PagyCursor
2
- VERSION = "0.5.0"
2
+ VERSION = "0.6.0"
3
3
  end
data/pagy_cursor.gemspec CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.bindir = "exe"
23
23
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
24
  spec.require_paths = ["lib"]
25
- spec.add_dependency "pagy", ">= 5", "< 6"
25
+ spec.add_dependency "pagy", ">= 6", "< 7"
26
26
  spec.add_dependency "activerecord", ">= 5"
27
27
 
28
28
  spec.add_development_dependency "bundler", "~> 2.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pagy_cursor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Uysim
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-02-09 00:00:00.000000000 Z
11
+ date: 2023-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pagy
@@ -16,20 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '5'
19
+ version: '6'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '6'
22
+ version: '7'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '5'
29
+ version: '6'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '6'
32
+ version: '7'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: activerecord
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -105,11 +105,9 @@ files:
105
105
  - Rakefile
106
106
  - bin/console
107
107
  - bin/setup
108
- - gemfiles/active_record_50.gemfile
109
- - gemfiles/active_record_51.gemfile
110
108
  - gemfiles/active_record_52.gemfile
111
- - gemfiles/active_record_60.gemfile
112
109
  - gemfiles/active_record_61.gemfile
110
+ - gemfiles/active_record_70.gemfile
113
111
  - lib/pagy_cursor.rb
114
112
  - lib/pagy_cursor/pagy/cursor.rb
115
113
  - lib/pagy_cursor/pagy/extras/cursor.rb
@@ -135,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
135
133
  - !ruby/object:Gem::Version
136
134
  version: '0'
137
135
  requirements: []
138
- rubygems_version: 3.2.32
136
+ rubygems_version: 3.3.26
139
137
  signing_key:
140
138
  specification_version: 4
141
139
  summary: cursor paginations for pagy
@@ -1,11 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
-
5
- gem "rails", "~> 5.0.0"
6
- gem "pg"
7
- gem "sqlite3", '~> 1.3.6'
8
- gem "mysql2"
9
- gem "pry"
10
- # Specify your gem's dependencies in pagy_cursor.gemspec
11
- gemspec path: "../"
@@ -1,11 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
-
5
- gem "rails", "~> 5.1.0"
6
- gem "pg"
7
- gem "sqlite3", '~> 1.3.6'
8
- gem "mysql2"
9
- gem "pry"
10
- # Specify your gem's dependencies in pagy_cursor.gemspec
11
- gemspec path: "../"