pagy_cursor 0.5.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +16 -20
- data/.github/workflows/gempush.yml +2 -2
- data/Gemfile +2 -2
- data/Gemfile.lock +118 -104
- data/README.md +2 -1
- data/gemfiles/active_record_61.gemfile +1 -1
- data/gemfiles/{active_record_60.gemfile → active_record_70.gemfile} +1 -1
- data/lib/pagy_cursor/pagy/extras/uuid_cursor.rb +16 -3
- data/lib/pagy_cursor/version.rb +1 -1
- data/pagy_cursor.gemspec +1 -1
- metadata +8 -10
- data/gemfiles/active_record_50.gemfile +0 -11
- data/gemfiles/active_record_51.gemfile +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aeef340ec1e16f142493c13d33e9aff54b231be6e6bccbcd54407feafe8ee392
|
4
|
+
data.tar.gz: 6e4f963a7cc5ae9d19c6a07327464989081e69bfc6c431fa672aad91dded0af7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d78438ba52a1287c0c445d4e59a7688bf625116cd54468a6e879f2871361f9d3a2731c150ddb1c40f0c29c3dfdea387f0812cc2b20136ccdf4d511777565494b
|
7
|
+
data.tar.gz: 5f0498e40683a5e51caa923845e56fcf9d9633f6cb22b48c5fb9453bffbf5007f43ca7e5e24ae65de194c68fe1bfe3d6e90d70783a877ec69fb4b73c00734cc2
|
data/.github/workflows/ci.yml
CHANGED
@@ -25,27 +25,23 @@ 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
|
43
|
-
|
34
|
+
- ruby-version: 3.1
|
35
|
+
env:
|
36
|
+
BUNDLE_GEMFILE: gemfiles/active_record_70.gemfile
|
37
|
+
- ruby-version: 3.2
|
38
|
+
env:
|
39
|
+
BUNDLE_GEMFILE: gemfiles/active_record_70.gemfile
|
44
40
|
fail-fast: false
|
45
41
|
env: ${{ matrix.env }}
|
46
42
|
|
47
43
|
steps:
|
48
|
-
- uses: actions/checkout@
|
44
|
+
- uses: actions/checkout@v3
|
49
45
|
|
50
46
|
- name: Set up ruby
|
51
47
|
uses: ruby/setup-ruby@v1
|
@@ -77,22 +73,22 @@ jobs:
|
|
77
73
|
strategy:
|
78
74
|
matrix:
|
79
75
|
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
76
|
- ruby-version: 2.7
|
87
77
|
env:
|
88
78
|
BUNDLE_GEMFILE: gemfiles/active_record_52.gemfile
|
89
|
-
- ruby-version: 3.0
|
79
|
+
- ruby-version: "3.0"
|
80
|
+
env:
|
81
|
+
BUNDLE_GEMFILE: gemfiles/active_record_61.gemfile
|
82
|
+
- ruby-version: 3.1
|
83
|
+
env:
|
84
|
+
BUNDLE_GEMFILE: gemfiles/active_record_70.gemfile
|
85
|
+
- ruby-version: 3.2
|
90
86
|
env:
|
91
|
-
BUNDLE_GEMFILE: gemfiles/
|
87
|
+
BUNDLE_GEMFILE: gemfiles/active_record_70.gemfile
|
92
88
|
fail-fast: false
|
93
89
|
env: ${{ matrix.env }}
|
94
90
|
steps:
|
95
|
-
- uses: actions/checkout@
|
91
|
+
- uses: actions/checkout@v3
|
96
92
|
|
97
93
|
- name: Set up ruby
|
98
94
|
uses: ruby/setup-ruby@v1
|
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", "~>
|
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,188 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
pagy_cursor (0.
|
4
|
+
pagy_cursor (0.6.0)
|
5
5
|
activerecord (>= 5)
|
6
|
-
pagy (>=
|
6
|
+
pagy (>= 6, < 7)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
actioncable (
|
12
|
-
actionpack (=
|
13
|
-
activesupport (=
|
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 (
|
17
|
-
actionpack (=
|
18
|
-
activejob (=
|
19
|
-
activerecord (=
|
20
|
-
activestorage (=
|
21
|
-
activesupport (=
|
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
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
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 (
|
31
|
-
actionview (=
|
32
|
-
activesupport (=
|
33
|
-
rack (~> 2.0, >= 2.0
|
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 (
|
38
|
-
actionpack (=
|
39
|
-
activerecord (=
|
40
|
-
activestorage (=
|
41
|
-
activesupport (=
|
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 (
|
44
|
-
activesupport (=
|
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 (
|
50
|
-
activesupport (=
|
56
|
+
activejob (7.0.4.3)
|
57
|
+
activesupport (= 7.0.4.3)
|
51
58
|
globalid (>= 0.3.6)
|
52
|
-
activemodel (
|
53
|
-
activesupport (=
|
54
|
-
activerecord (
|
55
|
-
activemodel (=
|
56
|
-
activesupport (=
|
57
|
-
activestorage (
|
58
|
-
actionpack (=
|
59
|
-
activejob (=
|
60
|
-
activerecord (=
|
61
|
-
activesupport (=
|
62
|
-
marcel (~> 1.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 (
|
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.
|
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.
|
76
|
-
globalid (1.
|
82
|
+
erubi (1.12.0)
|
83
|
+
globalid (1.1.0)
|
77
84
|
activesupport (>= 5.0)
|
78
|
-
i18n (1.
|
85
|
+
i18n (1.12.0)
|
79
86
|
concurrent-ruby (~> 1.0)
|
80
|
-
loofah (2.
|
87
|
+
loofah (2.20.0)
|
81
88
|
crass (~> 1.0.2)
|
82
89
|
nokogiri (>= 1.5.9)
|
83
|
-
mail (2.
|
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.
|
89
|
-
|
90
|
-
|
91
|
-
|
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-arm64-darwin)
|
92
110
|
racc (~> 1.4)
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
111
|
+
nokogiri (1.14.3-x86_64-darwin)
|
112
|
+
racc (~> 1.4)
|
113
|
+
pagy (6.0.3)
|
114
|
+
pg (1.4.6)
|
115
|
+
pry (0.14.2)
|
97
116
|
coderay (~> 1.1)
|
98
117
|
method_source (~> 1.0)
|
99
|
-
racc (1.6.
|
100
|
-
rack (2.2.
|
101
|
-
rack-test (
|
102
|
-
rack (>= 1.
|
103
|
-
rails (
|
104
|
-
actioncable (=
|
105
|
-
actionmailbox (=
|
106
|
-
actionmailer (=
|
107
|
-
actionpack (=
|
108
|
-
actiontext (=
|
109
|
-
actionview (=
|
110
|
-
activejob (=
|
111
|
-
activemodel (=
|
112
|
-
activerecord (=
|
113
|
-
activestorage (=
|
114
|
-
activesupport (=
|
118
|
+
racc (1.6.2)
|
119
|
+
rack (2.2.6.4)
|
120
|
+
rack-test (2.1.0)
|
121
|
+
rack (>= 1.3)
|
122
|
+
rails (7.0.4.3)
|
123
|
+
actioncable (= 7.0.4.3)
|
124
|
+
actionmailbox (= 7.0.4.3)
|
125
|
+
actionmailer (= 7.0.4.3)
|
126
|
+
actionpack (= 7.0.4.3)
|
127
|
+
actiontext (= 7.0.4.3)
|
128
|
+
actionview (= 7.0.4.3)
|
129
|
+
activejob (= 7.0.4.3)
|
130
|
+
activemodel (= 7.0.4.3)
|
131
|
+
activerecord (= 7.0.4.3)
|
132
|
+
activestorage (= 7.0.4.3)
|
133
|
+
activesupport (= 7.0.4.3)
|
115
134
|
bundler (>= 1.15.0)
|
116
|
-
railties (=
|
117
|
-
sprockets-rails (>= 2.0.0)
|
135
|
+
railties (= 7.0.4.3)
|
118
136
|
rails-dom-testing (2.0.3)
|
119
137
|
activesupport (>= 4.2.0)
|
120
138
|
nokogiri (>= 1.6)
|
121
|
-
rails-html-sanitizer (1.
|
122
|
-
loofah (~> 2.
|
123
|
-
railties (
|
124
|
-
actionpack (=
|
125
|
-
activesupport (=
|
139
|
+
rails-html-sanitizer (1.5.0)
|
140
|
+
loofah (~> 2.19, >= 2.19.1)
|
141
|
+
railties (7.0.4.3)
|
142
|
+
actionpack (= 7.0.4.3)
|
143
|
+
activesupport (= 7.0.4.3)
|
126
144
|
method_source
|
127
|
-
rake (>=
|
145
|
+
rake (>= 12.2)
|
128
146
|
thor (~> 1.0)
|
147
|
+
zeitwerk (~> 2.5)
|
129
148
|
rake (13.0.6)
|
130
|
-
rspec (3.
|
131
|
-
rspec-core (~> 3.
|
132
|
-
rspec-expectations (~> 3.
|
133
|
-
rspec-mocks (~> 3.
|
134
|
-
rspec-core (3.
|
135
|
-
rspec-support (~> 3.
|
136
|
-
rspec-expectations (3.
|
149
|
+
rspec (3.12.0)
|
150
|
+
rspec-core (~> 3.12.0)
|
151
|
+
rspec-expectations (~> 3.12.0)
|
152
|
+
rspec-mocks (~> 3.12.0)
|
153
|
+
rspec-core (3.12.2)
|
154
|
+
rspec-support (~> 3.12.0)
|
155
|
+
rspec-expectations (3.12.3)
|
137
156
|
diff-lcs (>= 1.2.0, < 2.0)
|
138
|
-
rspec-support (~> 3.
|
139
|
-
rspec-mocks (3.
|
157
|
+
rspec-support (~> 3.12.0)
|
158
|
+
rspec-mocks (3.12.5)
|
140
159
|
diff-lcs (>= 1.2.0, < 2.0)
|
141
|
-
rspec-support (~> 3.
|
142
|
-
rspec-support (3.
|
143
|
-
|
144
|
-
|
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)
|
160
|
+
rspec-support (~> 3.12.0)
|
161
|
+
rspec-support (3.12.0)
|
162
|
+
sqlite3 (1.6.2-arm64-darwin)
|
163
|
+
sqlite3 (1.6.2-x86_64-darwin)
|
151
164
|
thor (1.2.1)
|
152
|
-
|
165
|
+
timeout (0.3.2)
|
166
|
+
tzinfo (2.0.6)
|
153
167
|
concurrent-ruby (~> 1.0)
|
154
168
|
websocket-driver (0.7.5)
|
155
169
|
websocket-extensions (>= 0.1.0)
|
156
170
|
websocket-extensions (0.1.5)
|
157
|
-
zeitwerk (2.
|
171
|
+
zeitwerk (2.6.7)
|
158
172
|
|
159
173
|
PLATFORMS
|
174
|
+
arm64-darwin-21
|
160
175
|
x86_64-darwin-19
|
161
176
|
|
162
177
|
DEPENDENCIES
|
163
178
|
bundler (~> 2.0)
|
164
|
-
mysql2
|
165
179
|
pagy_cursor!
|
166
180
|
pg
|
167
181
|
pry
|
168
|
-
rails (~>
|
182
|
+
rails (~> 7.0.0)
|
169
183
|
rake (~> 13.0)
|
170
184
|
rspec (~> 3.0)
|
171
185
|
sqlite3
|
172
186
|
|
173
187
|
BUNDLED WITH
|
174
|
-
2.2.
|
188
|
+
2.2.22
|
data/README.md
CHANGED
@@ -55,6 +55,7 @@ pagy_cursor(Post.all, after: 10, order: {updated_at: :desc})
|
|
55
55
|
|
56
56
|
Many thanks to:
|
57
57
|
- [Uysim](https://github.com/Uysim)
|
58
|
+
- [Hirokazu Hata](https://github.com/h-michael)
|
58
59
|
- [M. Yunan Helmy](https://github.com/yunanhelmy)
|
59
60
|
- [Eumir Gaspar](https://github.com/corroded)
|
60
61
|
|
@@ -73,7 +74,7 @@ To run tests in root folder of gem:
|
|
73
74
|
- ```bundle exec rspec ```
|
74
75
|
|
75
76
|
To test on specific Rails version
|
76
|
-
```export BUNDLE_GEMFILE=gemfiles/
|
77
|
+
```export BUNDLE_GEMFILE=gemfiles/active_record_70.gemfile``` to work with Rails 7
|
77
78
|
|
78
79
|
To play with app cd test/dummy and rails s -b 0.0.0.0 (before rails db:migrate).
|
79
80
|
|
@@ -23,9 +23,22 @@ class Pagy
|
|
23
23
|
if position.present?
|
24
24
|
arel_table = pagy.arel_table
|
25
25
|
|
26
|
-
|
27
|
-
|
28
|
-
|
26
|
+
# If the primary sort key is not "created_at"
|
27
|
+
|
28
|
+
# Select the primary sort key
|
29
|
+
# pagy.order should be something like:
|
30
|
+
# [:created_at, :id] or [:foo_column, ..., :created_at, :id]
|
31
|
+
primary_sort_key = pagy.order.keys.detect{ |order_key| ![:created_at, :id].include?(order_key.to_sym) } || :created_at
|
32
|
+
|
33
|
+
select_previous_row = arel_table.project(arel_table[primary_sort_key]).
|
34
|
+
where(arel_table[pagy.primary_key].eq(position))
|
35
|
+
|
36
|
+
sql_comparation = arel_table[primary_sort_key].
|
37
|
+
send(pagy.comparation, select_previous_row).
|
38
|
+
or(
|
39
|
+
arel_table[primary_sort_key].eq(select_previous_row).
|
40
|
+
and(arel_table[pagy.primary_key].send(pagy.comparation, position))
|
41
|
+
)
|
29
42
|
|
30
43
|
collection = collection.where(sql_comparation)
|
31
44
|
end
|
data/lib/pagy_cursor/version.rb
CHANGED
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", ">=
|
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.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Uysim
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-09-11 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: '
|
19
|
+
version: '6'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
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: '
|
29
|
+
version: '6'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
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.
|
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: "../"
|