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 +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +199 -196
- data/lib/administrate/base_controller.rb +1 -1
- data/lib/administrate/base_controller/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c877705334ed2da0df6021237b32881c268f74bc8a1573d85e1e20470ccca545
|
4
|
+
data.tar.gz: a4e641d317df601056c4b11c4b0bff1b61710ac6cb8388af265d3fb3f16a9a74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9a5e1c79bd21f00663425e730db6bd1efeb029aa44691ad4874a82561f4b100d7affd2ec505d42780aa8c857e6fc269d52a8b128633bec9edf9fd228190c013
|
7
|
+
data.tar.gz: 128dcc58fdcd91899f43485016abc9782fbce745a09444f4e347b33832215cce5619cd0db98df9d47f6c220366ddc47f150f0a7dfb1e07569a5ba47c9aae3db7
|
data/CHANGELOG.md
CHANGED
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.
|
10
|
-
actionpack (= 6.
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
actionview
|
101
|
-
kaminari-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
nokogiri (1.
|
124
|
-
mini_portile2 (~> 2.
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
sassc
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
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[:
|
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) }
|
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.
|
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:
|
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.
|
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: []
|