administrate-base_controller 0.6.0 → 0.7.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: 2a59b44d341dd00fdde78e478a83a693adba95bc28d1270fb4ebd90b0fb90cbe
4
- data.tar.gz: d45f05c9eaf7da4de6eea29a42c099b7d41dd4754db93419045632a6e46a1e82
3
+ metadata.gz: c877705334ed2da0df6021237b32881c268f74bc8a1573d85e1e20470ccca545
4
+ data.tar.gz: a4e641d317df601056c4b11c4b0bff1b61710ac6cb8388af265d3fb3f16a9a74
5
5
  SHA512:
6
- metadata.gz: e5c9b086f8ac35d8432f0178e58477b4d58895037ff77497018d6e6697bb6382763c19435a5969a3a9c5fae18b4ac9080c41b031dd269372703fea48811e7ad4
7
- data.tar.gz: ab7dd56ee92e42df419fa82584f888ecbedd5dd4ea90528e5bd36d5cf1eec7803afdd8360cfafe607311a2d1b63c5ba692b35a609db90dd303e14b737d91eaba
6
+ metadata.gz: c9a5e1c79bd21f00663425e730db6bd1efeb029aa44691ad4874a82561f4b100d7affd2ec505d42780aa8c857e6fc269d52a8b128633bec9edf9fd228190c013
7
+ data.tar.gz: 128dcc58fdcd91899f43485016abc9782fbce745a09444f4e347b33832215cce5619cd0db98df9d47f6c220366ddc47f150f0a7dfb1e07569a5ba47c9aae3db7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.7.0
4
+
5
+ - Update pagination params
6
+
3
7
  ## 0.6.0
4
8
 
5
9
  - Fixes transforming polymorphic relations through `read_param`
data/Gemfile.lock CHANGED
@@ -1,196 +1,199 @@
1
- PATH
2
- remote: .
3
- specs:
4
- administrate-base_controller (0.6.0)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- actioncable (6.0.3.4)
10
- actionpack (= 6.0.3.4)
11
- nio4r (~> 2.0)
12
- websocket-driver (>= 0.6.1)
13
- actionmailbox (6.0.3.4)
14
- actionpack (= 6.0.3.4)
15
- activejob (= 6.0.3.4)
16
- activerecord (= 6.0.3.4)
17
- activestorage (= 6.0.3.4)
18
- activesupport (= 6.0.3.4)
19
- mail (>= 2.7.1)
20
- actionmailer (6.0.3.4)
21
- actionpack (= 6.0.3.4)
22
- actionview (= 6.0.3.4)
23
- activejob (= 6.0.3.4)
24
- mail (~> 2.5, >= 2.5.4)
25
- rails-dom-testing (~> 2.0)
26
- actionpack (6.0.3.4)
27
- actionview (= 6.0.3.4)
28
- activesupport (= 6.0.3.4)
29
- rack (~> 2.0, >= 2.0.8)
30
- rack-test (>= 0.6.3)
31
- rails-dom-testing (~> 2.0)
32
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
33
- actiontext (6.0.3.4)
34
- actionpack (= 6.0.3.4)
35
- activerecord (= 6.0.3.4)
36
- activestorage (= 6.0.3.4)
37
- activesupport (= 6.0.3.4)
38
- nokogiri (>= 1.8.5)
39
- actionview (6.0.3.4)
40
- activesupport (= 6.0.3.4)
41
- builder (~> 3.1)
42
- erubi (~> 1.4)
43
- rails-dom-testing (~> 2.0)
44
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
45
- activejob (6.0.3.4)
46
- activesupport (= 6.0.3.4)
47
- globalid (>= 0.3.6)
48
- activemodel (6.0.3.4)
49
- activesupport (= 6.0.3.4)
50
- activerecord (6.0.3.4)
51
- activemodel (= 6.0.3.4)
52
- activesupport (= 6.0.3.4)
53
- activestorage (6.0.3.4)
54
- actionpack (= 6.0.3.4)
55
- activejob (= 6.0.3.4)
56
- activerecord (= 6.0.3.4)
57
- marcel (~> 0.3.1)
58
- activesupport (6.0.3.4)
59
- concurrent-ruby (~> 1.0, >= 1.0.2)
60
- i18n (>= 0.7, < 2)
61
- minitest (~> 5.1)
62
- tzinfo (~> 1.1)
63
- zeitwerk (~> 2.2, >= 2.2.2)
64
- administrate (0.13.0)
65
- actionpack (>= 4.2)
66
- actionview (>= 4.2)
67
- activerecord (>= 4.2)
68
- autoprefixer-rails (>= 6.0)
69
- datetime_picker_rails (~> 0.0.7)
70
- jquery-rails (>= 4.0)
71
- kaminari (>= 1.0)
72
- momentjs-rails (~> 2.8)
73
- sassc-rails (~> 2.1)
74
- selectize-rails (~> 0.6)
75
- autoprefixer-rails (9.7.5)
76
- execjs
77
- builder (3.2.4)
78
- concurrent-ruby (1.1.7)
79
- crass (1.0.6)
80
- datetime_picker_rails (0.0.7)
81
- momentjs-rails (>= 2.8.1)
82
- erubi (1.9.0)
83
- execjs (2.7.0)
84
- ffi (1.12.2)
85
- ffi (1.12.2-x64-mingw32)
86
- globalid (0.4.2)
87
- activesupport (>= 4.2.0)
88
- i18n (1.8.5)
89
- concurrent-ruby (~> 1.0)
90
- jquery-rails (4.3.5)
91
- rails-dom-testing (>= 1, < 3)
92
- railties (>= 4.2.0)
93
- thor (>= 0.14, < 2.0)
94
- kaminari (1.2.1)
95
- activesupport (>= 4.1.0)
96
- kaminari-actionview (= 1.2.1)
97
- kaminari-activerecord (= 1.2.1)
98
- kaminari-core (= 1.2.1)
99
- kaminari-actionview (1.2.1)
100
- actionview
101
- kaminari-core (= 1.2.1)
102
- kaminari-activerecord (1.2.1)
103
- activerecord
104
- kaminari-core (= 1.2.1)
105
- kaminari-core (1.2.1)
106
- loofah (2.7.0)
107
- crass (~> 1.0.2)
108
- nokogiri (>= 1.5.9)
109
- mail (2.7.1)
110
- mini_mime (>= 0.1.1)
111
- marcel (0.3.3)
112
- mimemagic (~> 0.3.2)
113
- method_source (1.0.0)
114
- mimemagic (0.3.5)
115
- mini_mime (1.0.2)
116
- mini_portile2 (2.4.0)
117
- minitest (5.14.2)
118
- momentjs-rails (2.20.1)
119
- railties (>= 3.1)
120
- nio4r (2.5.4)
121
- nokogiri (1.10.10)
122
- mini_portile2 (~> 2.4.0)
123
- nokogiri (1.10.10-x64-mingw32)
124
- mini_portile2 (~> 2.4.0)
125
- rack (2.2.3)
126
- rack-test (1.1.0)
127
- rack (>= 1.0, < 3)
128
- rails (6.0.3.4)
129
- actioncable (= 6.0.3.4)
130
- actionmailbox (= 6.0.3.4)
131
- actionmailer (= 6.0.3.4)
132
- actionpack (= 6.0.3.4)
133
- actiontext (= 6.0.3.4)
134
- actionview (= 6.0.3.4)
135
- activejob (= 6.0.3.4)
136
- activemodel (= 6.0.3.4)
137
- activerecord (= 6.0.3.4)
138
- activestorage (= 6.0.3.4)
139
- activesupport (= 6.0.3.4)
140
- bundler (>= 1.3.0)
141
- railties (= 6.0.3.4)
142
- sprockets-rails (>= 2.0.0)
143
- rails-dom-testing (2.0.3)
144
- activesupport (>= 4.2.0)
145
- nokogiri (>= 1.6)
146
- rails-html-sanitizer (1.3.0)
147
- loofah (~> 2.3)
148
- railties (6.0.3.4)
149
- actionpack (= 6.0.3.4)
150
- activesupport (= 6.0.3.4)
151
- method_source
152
- rake (>= 0.8.7)
153
- thor (>= 0.20.3, < 2.0)
154
- rake (13.0.1)
155
- sassc (2.2.1)
156
- ffi (~> 1.9)
157
- sassc (2.2.1-x64-mingw32)
158
- ffi (~> 1.9)
159
- sassc-rails (2.1.2)
160
- railties (>= 4.0.0)
161
- sassc (>= 2.0)
162
- sprockets (> 3.0)
163
- sprockets-rails
164
- tilt
165
- selectize-rails (0.12.6)
166
- sprockets (4.0.2)
167
- concurrent-ruby (~> 1.0)
168
- rack (> 1, < 3)
169
- sprockets-rails (3.2.2)
170
- actionpack (>= 4.0)
171
- activesupport (>= 4.0)
172
- sprockets (>= 3.0.0)
173
- thor (1.0.1)
174
- thread_safe (0.3.6)
175
- tilt (2.0.10)
176
- tzinfo (1.2.8)
177
- thread_safe (~> 0.1)
178
- websocket-driver (0.7.3)
179
- websocket-extensions (>= 0.1.0)
180
- websocket-extensions (0.1.5)
181
- zeitwerk (2.4.1)
182
-
183
- PLATFORMS
184
- ruby
185
- x64-mingw32
186
-
187
- DEPENDENCIES
188
- administrate (~> 0.13.0)
189
- administrate-base_controller!
190
- bundler (~> 2.0)
191
- minitest (~> 5.0)
192
- rails (~> 6.0)
193
- rake (~> 13.0)
194
-
195
- BUNDLED WITH
196
- 2.1.4
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ administrate-base_controller (0.6.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ actioncable (6.1.3.2)
10
+ actionpack (= 6.1.3.2)
11
+ activesupport (= 6.1.3.2)
12
+ nio4r (~> 2.0)
13
+ websocket-driver (>= 0.6.1)
14
+ actionmailbox (6.1.3.2)
15
+ actionpack (= 6.1.3.2)
16
+ activejob (= 6.1.3.2)
17
+ activerecord (= 6.1.3.2)
18
+ activestorage (= 6.1.3.2)
19
+ activesupport (= 6.1.3.2)
20
+ mail (>= 2.7.1)
21
+ actionmailer (6.1.3.2)
22
+ actionpack (= 6.1.3.2)
23
+ actionview (= 6.1.3.2)
24
+ activejob (= 6.1.3.2)
25
+ activesupport (= 6.1.3.2)
26
+ mail (~> 2.5, >= 2.5.4)
27
+ rails-dom-testing (~> 2.0)
28
+ actionpack (6.1.3.2)
29
+ actionview (= 6.1.3.2)
30
+ activesupport (= 6.1.3.2)
31
+ rack (~> 2.0, >= 2.0.9)
32
+ rack-test (>= 0.6.3)
33
+ rails-dom-testing (~> 2.0)
34
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
35
+ actiontext (6.1.3.2)
36
+ actionpack (= 6.1.3.2)
37
+ activerecord (= 6.1.3.2)
38
+ activestorage (= 6.1.3.2)
39
+ activesupport (= 6.1.3.2)
40
+ nokogiri (>= 1.8.5)
41
+ actionview (6.1.3.2)
42
+ activesupport (= 6.1.3.2)
43
+ builder (~> 3.1)
44
+ erubi (~> 1.4)
45
+ rails-dom-testing (~> 2.0)
46
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
47
+ activejob (6.1.3.2)
48
+ activesupport (= 6.1.3.2)
49
+ globalid (>= 0.3.6)
50
+ activemodel (6.1.3.2)
51
+ activesupport (= 6.1.3.2)
52
+ activerecord (6.1.3.2)
53
+ activemodel (= 6.1.3.2)
54
+ activesupport (= 6.1.3.2)
55
+ activestorage (6.1.3.2)
56
+ actionpack (= 6.1.3.2)
57
+ activejob (= 6.1.3.2)
58
+ activerecord (= 6.1.3.2)
59
+ activesupport (= 6.1.3.2)
60
+ marcel (~> 1.0.0)
61
+ mini_mime (~> 1.0.2)
62
+ activesupport (6.1.3.2)
63
+ concurrent-ruby (~> 1.0, >= 1.0.2)
64
+ i18n (>= 1.6, < 2)
65
+ minitest (>= 5.1)
66
+ tzinfo (~> 2.0)
67
+ zeitwerk (~> 2.3)
68
+ administrate (0.13.0)
69
+ actionpack (>= 4.2)
70
+ actionview (>= 4.2)
71
+ activerecord (>= 4.2)
72
+ autoprefixer-rails (>= 6.0)
73
+ datetime_picker_rails (~> 0.0.7)
74
+ jquery-rails (>= 4.0)
75
+ kaminari (>= 1.0)
76
+ momentjs-rails (~> 2.8)
77
+ sassc-rails (~> 2.1)
78
+ selectize-rails (~> 0.6)
79
+ autoprefixer-rails (9.7.5)
80
+ execjs
81
+ builder (3.2.4)
82
+ concurrent-ruby (1.1.8)
83
+ crass (1.0.6)
84
+ datetime_picker_rails (0.0.7)
85
+ momentjs-rails (>= 2.8.1)
86
+ erubi (1.10.0)
87
+ execjs (2.7.0)
88
+ ffi (1.12.2)
89
+ ffi (1.12.2-x64-mingw32)
90
+ globalid (0.4.2)
91
+ activesupport (>= 4.2.0)
92
+ i18n (1.8.10)
93
+ concurrent-ruby (~> 1.0)
94
+ jquery-rails (4.3.5)
95
+ rails-dom-testing (>= 1, < 3)
96
+ railties (>= 4.2.0)
97
+ thor (>= 0.14, < 2.0)
98
+ kaminari (1.2.1)
99
+ activesupport (>= 4.1.0)
100
+ kaminari-actionview (= 1.2.1)
101
+ kaminari-activerecord (= 1.2.1)
102
+ kaminari-core (= 1.2.1)
103
+ kaminari-actionview (1.2.1)
104
+ actionview
105
+ kaminari-core (= 1.2.1)
106
+ kaminari-activerecord (1.2.1)
107
+ activerecord
108
+ kaminari-core (= 1.2.1)
109
+ kaminari-core (1.2.1)
110
+ loofah (2.9.1)
111
+ crass (~> 1.0.2)
112
+ nokogiri (>= 1.5.9)
113
+ mail (2.7.1)
114
+ mini_mime (>= 0.1.1)
115
+ marcel (1.0.1)
116
+ method_source (1.0.0)
117
+ mini_mime (1.0.3)
118
+ mini_portile2 (2.5.1)
119
+ minitest (5.14.4)
120
+ momentjs-rails (2.20.1)
121
+ railties (>= 3.1)
122
+ nio4r (2.5.7)
123
+ nokogiri (1.11.3)
124
+ mini_portile2 (~> 2.5.0)
125
+ racc (~> 1.4)
126
+ nokogiri (1.11.3-x64-mingw32)
127
+ racc (~> 1.4)
128
+ racc (1.5.2)
129
+ rack (2.2.3)
130
+ rack-test (1.1.0)
131
+ rack (>= 1.0, < 3)
132
+ rails (6.1.3.2)
133
+ actioncable (= 6.1.3.2)
134
+ actionmailbox (= 6.1.3.2)
135
+ actionmailer (= 6.1.3.2)
136
+ actionpack (= 6.1.3.2)
137
+ actiontext (= 6.1.3.2)
138
+ actionview (= 6.1.3.2)
139
+ activejob (= 6.1.3.2)
140
+ activemodel (= 6.1.3.2)
141
+ activerecord (= 6.1.3.2)
142
+ activestorage (= 6.1.3.2)
143
+ activesupport (= 6.1.3.2)
144
+ bundler (>= 1.15.0)
145
+ railties (= 6.1.3.2)
146
+ sprockets-rails (>= 2.0.0)
147
+ rails-dom-testing (2.0.3)
148
+ activesupport (>= 4.2.0)
149
+ nokogiri (>= 1.6)
150
+ rails-html-sanitizer (1.3.0)
151
+ loofah (~> 2.3)
152
+ railties (6.1.3.2)
153
+ actionpack (= 6.1.3.2)
154
+ activesupport (= 6.1.3.2)
155
+ method_source
156
+ rake (>= 0.8.7)
157
+ thor (~> 1.0)
158
+ rake (13.0.3)
159
+ sassc (2.2.1)
160
+ ffi (~> 1.9)
161
+ sassc (2.2.1-x64-mingw32)
162
+ ffi (~> 1.9)
163
+ sassc-rails (2.1.2)
164
+ railties (>= 4.0.0)
165
+ sassc (>= 2.0)
166
+ sprockets (> 3.0)
167
+ sprockets-rails
168
+ tilt
169
+ selectize-rails (0.12.6)
170
+ sprockets (4.0.2)
171
+ concurrent-ruby (~> 1.0)
172
+ rack (> 1, < 3)
173
+ sprockets-rails (3.2.2)
174
+ actionpack (>= 4.0)
175
+ activesupport (>= 4.0)
176
+ sprockets (>= 3.0.0)
177
+ thor (1.1.0)
178
+ tilt (2.0.10)
179
+ tzinfo (2.0.4)
180
+ concurrent-ruby (~> 1.0)
181
+ websocket-driver (0.7.3)
182
+ websocket-extensions (>= 0.1.0)
183
+ websocket-extensions (0.1.5)
184
+ zeitwerk (2.4.2)
185
+
186
+ PLATFORMS
187
+ ruby
188
+ x64-mingw32
189
+
190
+ DEPENDENCIES
191
+ administrate (~> 0.13.0)
192
+ administrate-base_controller!
193
+ bundler (~> 2.0)
194
+ minitest (~> 5.0)
195
+ rails (~> 6.0)
196
+ rake (~> 13.0)
197
+
198
+ BUNDLED WITH
199
+ 2.1.4
@@ -6,7 +6,7 @@ module Administrate
6
6
  resources = index_resources
7
7
  resources = apply_collection_includes(resources)
8
8
  resources = order.apply(resources)
9
- resources = resources.page(params[:page]).per(records_per_page)
9
+ resources = resources.page(params[:_page]).per(records_per_page)
10
10
 
11
11
  respond_to do |format|
12
12
  format.json { render_index_json(resources) }
@@ -1,5 +1,5 @@
1
1
  module Administrate
2
2
  module BaseController
3
- VERSION = '0.6.0'
3
+ VERSION = '0.7.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: administrate-base_controller
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derk-Jan Karrenbeld
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-11-11 00:00:00.000000000 Z
11
+ date: 2021-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: administrate
@@ -80,7 +80,7 @@ dependencies:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '6.0'
83
- description:
83
+ description:
84
84
  email:
85
85
  - derk-jan@xpbytes.com
86
86
  executables: []
@@ -115,7 +115,7 @@ metadata:
115
115
  homepage_uri: https://github.com/XPBytes/administrate-base_controller
116
116
  source_code_uri: https://github.com/XPBytes/administrate-base_controller
117
117
  changelog_uri: https://github.com/XPBytes/administrate-base_controller/CHANGELOG.md
118
- post_install_message:
118
+ post_install_message:
119
119
  rdoc_options: []
120
120
  require_paths:
121
121
  - lib
@@ -130,8 +130,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
130
  - !ruby/object:Gem::Version
131
131
  version: '0'
132
132
  requirements: []
133
- rubygems_version: 3.0.3
134
- signing_key:
133
+ rubygems_version: 3.1.6
134
+ signing_key:
135
135
  specification_version: 4
136
136
  summary: Extends the ApplicationController in Administrate
137
137
  test_files: []