wice_grid 4.1.0 → 6.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.circleci/config.yml +63 -36
- data/.github/dependabot.yml +36 -0
- data/CHANGELOG.md +14 -7
- data/Gemfile.lock +68 -47
- data/README.md +10 -13
- data/config/locales/cz.yml +2 -5
- data/config/locales/de.yml +0 -5
- data/config/locales/en.yml +0 -5
- data/config/locales/es.yml +0 -5
- data/config/locales/fr.yml +2 -5
- data/config/locales/is.yml +4 -8
- data/config/locales/it.yml +0 -5
- data/config/locales/ja.yml +0 -5
- data/config/locales/nl.yml +2 -5
- data/config/locales/pt-BR.yml +2 -5
- data/config/locales/pt.yml +2 -5
- data/config/locales/ru.yml +2 -5
- data/config/locales/sk.yml +2 -5
- data/config/locales/uk.yml +2 -5
- data/config/locales/zh.yml +2 -5
- data/gemfiles/rails_5.0.gemfile.lock +34 -26
- data/gemfiles/rails_5.1.gemfile.lock +35 -27
- data/gemfiles/rails_5.2.gemfile.lock +37 -29
- data/lib/wice/active_record_column_wrapper.rb +10 -0
- data/lib/wice/columns/column_custom_dropdown.rb +14 -4
- data/lib/wice/grid_renderer.rb +3 -3
- data/lib/wice/table_column_matrix.rb +2 -1
- data/lib/wice/wice_grid_controller.rb +1 -51
- data/lib/wice_grid.rb +1 -1
- data/package.json +18 -0
- data/spec/acceptance_helper.rb +1 -0
- data/spec/features/auto_reloads2_request_spec.rb +18 -1
- data/spec/features/auto_reloads_request_spec.rb +19 -3
- data/spec/features/custom_filters1_request_spec.rb +5 -24
- data/spec/features/custom_filters2_request_spec.rb +4 -26
- data/spec/features/custom_filters3_request_spec.rb +3 -19
- data/spec/features/detached_filters_spec.rb +1 -1
- data/spec/features/detached_filters_two_grids_spec.rb +10 -2
- data/spec/features/shared_detached_filters.rb +18 -1
- data/vendor/assets/javascripts/wice_grid_processor.js.coffee +3 -3
- data/wice_grid.gemspec +14 -12
- metadata +56 -36
- data/.travis.yml +0 -22
- data/TODO.md +0 -16
metadata
CHANGED
@@ -1,49 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wice_grid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 6.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuri Leikind and contributors
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '5.0'
|
20
|
-
- - "<"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '5.3'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
|
-
- - "
|
24
|
+
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '5.0'
|
30
|
-
- - "<"
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '5.3'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: kaminari
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
36
30
|
requirements:
|
37
31
|
- - "~>"
|
38
32
|
- !ruby/object:Gem::Version
|
39
|
-
version: 1.1
|
33
|
+
version: '1.1'
|
40
34
|
type: :runtime
|
41
35
|
prerelease: false
|
42
36
|
version_requirements: !ruby/object:Gem::Requirement
|
43
37
|
requirements:
|
44
38
|
- - "~>"
|
45
39
|
- !ruby/object:Gem::Version
|
46
|
-
version: 1.1
|
40
|
+
version: '1.1'
|
47
41
|
- !ruby/object:Gem::Dependency
|
48
42
|
name: coffee-rails
|
49
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,6 +52,20 @@ dependencies:
|
|
58
52
|
- - ">"
|
59
53
|
- !ruby/object:Gem::Version
|
60
54
|
version: '3.2'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: font-awesome-sass
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
61
69
|
- !ruby/object:Gem::Dependency
|
62
70
|
name: rake
|
63
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -148,14 +156,14 @@ dependencies:
|
|
148
156
|
requirements:
|
149
157
|
- - "~>"
|
150
158
|
- !ruby/object:Gem::Version
|
151
|
-
version:
|
159
|
+
version: 3.13.2
|
152
160
|
type: :development
|
153
161
|
prerelease: false
|
154
162
|
version_requirements: !ruby/object:Gem::Requirement
|
155
163
|
requirements:
|
156
164
|
- - "~>"
|
157
165
|
- !ruby/object:Gem::Version
|
158
|
-
version:
|
166
|
+
version: 3.13.2
|
159
167
|
- !ruby/object:Gem::Dependency
|
160
168
|
name: faker
|
161
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -176,14 +184,14 @@ dependencies:
|
|
176
184
|
requirements:
|
177
185
|
- - "~>"
|
178
186
|
- !ruby/object:Gem::Version
|
179
|
-
version: 1.
|
187
|
+
version: 1.18.0
|
180
188
|
type: :development
|
181
189
|
prerelease: false
|
182
190
|
version_requirements: !ruby/object:Gem::Requirement
|
183
191
|
requirements:
|
184
192
|
- - "~>"
|
185
193
|
- !ruby/object:Gem::Version
|
186
|
-
version: 1.
|
194
|
+
version: 1.18.0
|
187
195
|
- !ruby/object:Gem::Dependency
|
188
196
|
name: capybara-screenshot
|
189
197
|
requirement: !ruby/object:Gem::Requirement
|
@@ -212,6 +220,20 @@ dependencies:
|
|
212
220
|
- - "~>"
|
213
221
|
- !ruby/object:Gem::Version
|
214
222
|
version: 2.51.0
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: phantomjs
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - ">="
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: 2.1.1
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - ">="
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: 2.1.1
|
215
237
|
- !ruby/object:Gem::Dependency
|
216
238
|
name: haml
|
217
239
|
requirement: !ruby/object:Gem::Requirement
|
@@ -246,28 +268,28 @@ dependencies:
|
|
246
268
|
requirements:
|
247
269
|
- - "~>"
|
248
270
|
- !ruby/object:Gem::Version
|
249
|
-
version: 4.
|
271
|
+
version: 4.4.0
|
250
272
|
type: :development
|
251
273
|
prerelease: false
|
252
274
|
version_requirements: !ruby/object:Gem::Requirement
|
253
275
|
requirements:
|
254
276
|
- - "~>"
|
255
277
|
- !ruby/object:Gem::Version
|
256
|
-
version: 4.
|
278
|
+
version: 4.4.0
|
257
279
|
- !ruby/object:Gem::Dependency
|
258
280
|
name: jquery-ui-rails
|
259
281
|
requirement: !ruby/object:Gem::Requirement
|
260
282
|
requirements:
|
261
283
|
- - "~>"
|
262
284
|
- !ruby/object:Gem::Version
|
263
|
-
version:
|
285
|
+
version: 7.0.0
|
264
286
|
type: :development
|
265
287
|
prerelease: false
|
266
288
|
version_requirements: !ruby/object:Gem::Requirement
|
267
289
|
requirements:
|
268
290
|
- - "~>"
|
269
291
|
- !ruby/object:Gem::Version
|
270
|
-
version:
|
292
|
+
version: 7.0.0
|
271
293
|
- !ruby/object:Gem::Dependency
|
272
294
|
name: jquery-ui-themes
|
273
295
|
requirement: !ruby/object:Gem::Requirement
|
@@ -302,14 +324,14 @@ dependencies:
|
|
302
324
|
requirements:
|
303
325
|
- - '='
|
304
326
|
- !ruby/object:Gem::Version
|
305
|
-
version: 3.
|
327
|
+
version: 3.4.1
|
306
328
|
type: :development
|
307
329
|
prerelease: false
|
308
330
|
version_requirements: !ruby/object:Gem::Requirement
|
309
331
|
requirements:
|
310
332
|
- - '='
|
311
333
|
- !ruby/object:Gem::Version
|
312
|
-
version: 3.
|
334
|
+
version: 3.4.1
|
313
335
|
- !ruby/object:Gem::Dependency
|
314
336
|
name: font-awesome-sass
|
315
337
|
requirement: !ruby/object:Gem::Requirement
|
@@ -356,16 +378,16 @@ dependencies:
|
|
356
378
|
name: bundler
|
357
379
|
requirement: !ruby/object:Gem::Requirement
|
358
380
|
requirements:
|
359
|
-
- - "
|
381
|
+
- - ">="
|
360
382
|
- !ruby/object:Gem::Version
|
361
|
-
version: '
|
383
|
+
version: '0'
|
362
384
|
type: :development
|
363
385
|
prerelease: false
|
364
386
|
version_requirements: !ruby/object:Gem::Requirement
|
365
387
|
requirements:
|
366
|
-
- - "
|
388
|
+
- - ">="
|
367
389
|
- !ruby/object:Gem::Version
|
368
|
-
version: '
|
390
|
+
version: '0'
|
369
391
|
- !ruby/object:Gem::Dependency
|
370
392
|
name: simplecov
|
371
393
|
requirement: !ruby/object:Gem::Requirement
|
@@ -442,7 +464,7 @@ description: A Rails grid plugin to create grids with sorting, pagination, and f
|
|
442
464
|
WiceGrid automates implementation of filters, ordering, paginations, CSV export,
|
443
465
|
and so on. Ruby blocks provide an elegant means for this.
|
444
466
|
email:
|
445
|
-
-
|
467
|
+
- koulikoff@gmail.com
|
446
468
|
executables: []
|
447
469
|
extensions: []
|
448
470
|
extra_rdoc_files: []
|
@@ -450,11 +472,11 @@ files:
|
|
450
472
|
- ".circleci/config.yml"
|
451
473
|
- ".circleci/run-build-locally.sh"
|
452
474
|
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
475
|
+
- ".github/dependabot.yml"
|
453
476
|
- ".gitignore"
|
454
477
|
- ".inch.yml"
|
455
478
|
- ".rspec"
|
456
479
|
- ".rubocop.yml"
|
457
|
-
- ".travis.yml"
|
458
480
|
- Appraisals
|
459
481
|
- CHANGELOG.md
|
460
482
|
- Gemfile
|
@@ -463,7 +485,6 @@ files:
|
|
463
485
|
- README.md
|
464
486
|
- Rakefile
|
465
487
|
- SAVED_QUERIES_HOWTO.md
|
466
|
-
- TODO.md
|
467
488
|
- app/views/kaminari/wice_grid/_gap.html.erb
|
468
489
|
- app/views/kaminari/wice_grid/_next_page.html.erb
|
469
490
|
- app/views/kaminari/wice_grid/_page.html.erb
|
@@ -530,6 +551,7 @@ files:
|
|
530
551
|
- lib/wice/wice_grid_serialized_query.rb
|
531
552
|
- lib/wice/wice_grid_spreadsheet.rb
|
532
553
|
- lib/wice_grid.rb
|
554
|
+
- package.json
|
533
555
|
- spec/acceptance_helper.rb
|
534
556
|
- spec/features/action_column_request_spec.rb
|
535
557
|
- spec/features/adding_rows_request_spec.rb
|
@@ -836,11 +858,11 @@ files:
|
|
836
858
|
- vendor/assets/javascripts/wice_grid_saved_queries_init.js.coffee
|
837
859
|
- vendor/assets/stylesheets/wice_grid.scss
|
838
860
|
- wice_grid.gemspec
|
839
|
-
homepage: https://github.com/
|
861
|
+
homepage: https://github.com/leikind/wice_grid
|
840
862
|
licenses:
|
841
863
|
- MIT
|
842
864
|
metadata: {}
|
843
|
-
post_install_message:
|
865
|
+
post_install_message:
|
844
866
|
rdoc_options: []
|
845
867
|
require_paths:
|
846
868
|
- lib
|
@@ -855,11 +877,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
855
877
|
- !ruby/object:Gem::Version
|
856
878
|
version: '0'
|
857
879
|
requirements: []
|
858
|
-
|
859
|
-
|
860
|
-
signing_key:
|
880
|
+
rubygems_version: 3.1.4
|
881
|
+
signing_key:
|
861
882
|
specification_version: 4
|
862
883
|
summary: A Rails grid plugin to quickly create grids with sorting, pagination, and
|
863
884
|
filters.
|
864
885
|
test_files: []
|
865
|
-
has_rdoc:
|
data/.travis.yml
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
sudo: false
|
2
|
-
cache: bundler
|
3
|
-
language: ruby
|
4
|
-
rvm:
|
5
|
-
- 2.0.0
|
6
|
-
- 2.1.6
|
7
|
-
- 2.2.2
|
8
|
-
- ruby-head
|
9
|
-
- jruby-19mode
|
10
|
-
- rbx-2
|
11
|
-
matrix:
|
12
|
-
allow_failures:
|
13
|
-
- rvm: ruby-head
|
14
|
-
- rvm: jruby-19mode
|
15
|
-
- rvm: rbx-2
|
16
|
-
- rvm: 1.9.3
|
17
|
-
fast_finish: true
|
18
|
-
before_install: gem update --remote bundler
|
19
|
-
install:
|
20
|
-
- bundle install --retry=3
|
21
|
-
script:
|
22
|
-
- bundle exec rake
|
data/TODO.md
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
* [done] Replace all icons by Font Awesome, remove the icons
|
2
|
-
* [done] Joined tables: Instead of
|
3
|
-
model: 'ModelClassName'
|
4
|
-
use
|
5
|
-
assoc: :comments
|
6
|
-
* [done] Use ActiveRelation merge instead of manually merging hashes and arrays
|
7
|
-
* [done] Switching between datepickers should be done via :filter_type, not via :helper_style.
|
8
|
-
Get rid of :helper_style and Wice::Defaults::HELPER_STYLE
|
9
|
-
* [done] Fix datepickers when used with Datetime columns
|
10
|
-
|
11
|
-
* Implement paging in the app, get rid of Kaminari
|
12
|
-
* better tests (https://github.com/leikind/wice_grid_testbed)
|
13
|
-
* review css class names in the generated markup
|
14
|
-
* More unified and flexible approach to datepickers
|
15
|
-
* try to guess :table_alias
|
16
|
-
* throw away saved queries?
|