wice_grid 7.1.2 → 7.1.3

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: c5d72d8416384e901a556c751f49885061358049e652e5fd891734924cc7c8ce
4
- data.tar.gz: 37198c9446f3d157d647a1cc78a0c34792847c2bee0c6379d51370c890fa8427
3
+ metadata.gz: 765293f4188ee09add68b7b4b5137704da76f87e314891ccd84bd28a2baf4967
4
+ data.tar.gz: 5f921756352d750467cb5ccc9ef991ed5daa1da1ffff51548b6d32afa2ceb49a
5
5
  SHA512:
6
- metadata.gz: ad47e969d89169af996d117f155d25cb0a4c57e71d433922af058656a6b095dc4c631640c6a068e268a2f409e76877f62fc8c12baa9781f78eb9c5f1d14941e8
7
- data.tar.gz: 9e6bc5b58742cdcbdf7812c1bbdc667249770bac79ab2df55d194e5b4c0f36b4cc559397c4fbf575c2ca0d0537e1198e7b37b23bb0017066c165a05c2a2f6996
6
+ metadata.gz: f9b9b368c3af364338814dcd8b944954731b6cfac6fced3bdde2d1ce33bd15925c6fe1e8d728c48f17077b3f7f553c1e9b58402525289b14a4442dea0cdf48dc
7
+ data.tar.gz: 591152e8eb8a4c049d371e6d9774f21b75783e4e9982be3d073df7f06680cfad72dd72184cb737fc35d57a136f0e0c7ce6786a9666595379abe53749acb25a72
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 7.1.3
2
+
3
+ * Fixes [the bug](https://github.com/leikind/wice_grid/issues/395).
4
+
1
5
  ## 7.1.2
2
6
 
3
7
  * This is the fix for the workaround of the [Facebook](https://www.facebook.com) problem.
data/Gemfile.lock CHANGED
@@ -16,7 +16,7 @@ GIT
16
16
  PATH
17
17
  remote: .
18
18
  specs:
19
- wice_grid (7.1.2)
19
+ wice_grid (7.1.3)
20
20
  coffee-rails (>= 5.0.0)
21
21
  jquery-rails
22
22
  kaminari
@@ -25,35 +25,35 @@ PATH
25
25
  GEM
26
26
  remote: https://rubygems.org/
27
27
  specs:
28
- actioncable (7.1.3.4)
29
- actionpack (= 7.1.3.4)
30
- activesupport (= 7.1.3.4)
28
+ actioncable (7.1.4.1)
29
+ actionpack (= 7.1.4.1)
30
+ activesupport (= 7.1.4.1)
31
31
  nio4r (~> 2.0)
32
32
  websocket-driver (>= 0.6.1)
33
33
  zeitwerk (~> 2.6)
34
- actionmailbox (7.1.3.4)
35
- actionpack (= 7.1.3.4)
36
- activejob (= 7.1.3.4)
37
- activerecord (= 7.1.3.4)
38
- activestorage (= 7.1.3.4)
39
- activesupport (= 7.1.3.4)
34
+ actionmailbox (7.1.4.1)
35
+ actionpack (= 7.1.4.1)
36
+ activejob (= 7.1.4.1)
37
+ activerecord (= 7.1.4.1)
38
+ activestorage (= 7.1.4.1)
39
+ activesupport (= 7.1.4.1)
40
40
  mail (>= 2.7.1)
41
41
  net-imap
42
42
  net-pop
43
43
  net-smtp
44
- actionmailer (7.1.3.4)
45
- actionpack (= 7.1.3.4)
46
- actionview (= 7.1.3.4)
47
- activejob (= 7.1.3.4)
48
- activesupport (= 7.1.3.4)
44
+ actionmailer (7.1.4.1)
45
+ actionpack (= 7.1.4.1)
46
+ actionview (= 7.1.4.1)
47
+ activejob (= 7.1.4.1)
48
+ activesupport (= 7.1.4.1)
49
49
  mail (~> 2.5, >= 2.5.4)
50
50
  net-imap
51
51
  net-pop
52
52
  net-smtp
53
53
  rails-dom-testing (~> 2.2)
54
- actionpack (7.1.3.4)
55
- actionview (= 7.1.3.4)
56
- activesupport (= 7.1.3.4)
54
+ actionpack (7.1.4.1)
55
+ actionview (= 7.1.4.1)
56
+ activesupport (= 7.1.4.1)
57
57
  nokogiri (>= 1.8.5)
58
58
  racc
59
59
  rack (>= 2.2.4)
@@ -61,35 +61,35 @@ GEM
61
61
  rack-test (>= 0.6.3)
62
62
  rails-dom-testing (~> 2.2)
63
63
  rails-html-sanitizer (~> 1.6)
64
- actiontext (7.1.3.4)
65
- actionpack (= 7.1.3.4)
66
- activerecord (= 7.1.3.4)
67
- activestorage (= 7.1.3.4)
68
- activesupport (= 7.1.3.4)
64
+ actiontext (7.1.4.1)
65
+ actionpack (= 7.1.4.1)
66
+ activerecord (= 7.1.4.1)
67
+ activestorage (= 7.1.4.1)
68
+ activesupport (= 7.1.4.1)
69
69
  globalid (>= 0.6.0)
70
70
  nokogiri (>= 1.8.5)
71
- actionview (7.1.3.4)
72
- activesupport (= 7.1.3.4)
71
+ actionview (7.1.4.1)
72
+ activesupport (= 7.1.4.1)
73
73
  builder (~> 3.1)
74
74
  erubi (~> 1.11)
75
75
  rails-dom-testing (~> 2.2)
76
76
  rails-html-sanitizer (~> 1.6)
77
- activejob (7.1.3.4)
78
- activesupport (= 7.1.3.4)
77
+ activejob (7.1.4.1)
78
+ activesupport (= 7.1.4.1)
79
79
  globalid (>= 0.3.6)
80
- activemodel (7.1.3.4)
81
- activesupport (= 7.1.3.4)
82
- activerecord (7.1.3.4)
83
- activemodel (= 7.1.3.4)
84
- activesupport (= 7.1.3.4)
80
+ activemodel (7.1.4.1)
81
+ activesupport (= 7.1.4.1)
82
+ activerecord (7.1.4.1)
83
+ activemodel (= 7.1.4.1)
84
+ activesupport (= 7.1.4.1)
85
85
  timeout (>= 0.4.0)
86
- activestorage (7.1.3.4)
87
- actionpack (= 7.1.3.4)
88
- activejob (= 7.1.3.4)
89
- activerecord (= 7.1.3.4)
90
- activesupport (= 7.1.3.4)
86
+ activestorage (7.1.4.1)
87
+ actionpack (= 7.1.4.1)
88
+ activejob (= 7.1.4.1)
89
+ activerecord (= 7.1.4.1)
90
+ activesupport (= 7.1.4.1)
91
91
  marcel (~> 1.0)
92
- activesupport (7.1.3.4)
92
+ activesupport (7.1.4.1)
93
93
  base64
94
94
  bigdecimal
95
95
  concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -268,7 +268,7 @@ GEM
268
268
  bigdecimal (~> 3.1)
269
269
  mutex_m (0.2.0)
270
270
  nenv (0.3.0)
271
- net-imap (0.4.12)
271
+ net-imap (0.4.17)
272
272
  date
273
273
  net-protocol
274
274
  net-pop (0.1.2)
@@ -306,7 +306,7 @@ GEM
306
306
  stringio
307
307
  public_suffix (5.0.5)
308
308
  racc (1.8.1)
309
- rack (3.1.7)
309
+ rack (3.1.8)
310
310
  rack-session (2.0.0)
311
311
  rack (>= 3.0.0)
312
312
  rack-test (2.1.0)
@@ -314,20 +314,20 @@ GEM
314
314
  rackup (2.1.0)
315
315
  rack (>= 3)
316
316
  webrick (~> 1.8)
317
- rails (7.1.3.4)
318
- actioncable (= 7.1.3.4)
319
- actionmailbox (= 7.1.3.4)
320
- actionmailer (= 7.1.3.4)
321
- actionpack (= 7.1.3.4)
322
- actiontext (= 7.1.3.4)
323
- actionview (= 7.1.3.4)
324
- activejob (= 7.1.3.4)
325
- activemodel (= 7.1.3.4)
326
- activerecord (= 7.1.3.4)
327
- activestorage (= 7.1.3.4)
328
- activesupport (= 7.1.3.4)
317
+ rails (7.1.4.1)
318
+ actioncable (= 7.1.4.1)
319
+ actionmailbox (= 7.1.4.1)
320
+ actionmailer (= 7.1.4.1)
321
+ actionpack (= 7.1.4.1)
322
+ actiontext (= 7.1.4.1)
323
+ actionview (= 7.1.4.1)
324
+ activejob (= 7.1.4.1)
325
+ activemodel (= 7.1.4.1)
326
+ activerecord (= 7.1.4.1)
327
+ activestorage (= 7.1.4.1)
328
+ activesupport (= 7.1.4.1)
329
329
  bundler (>= 1.15.0)
330
- railties (= 7.1.3.4)
330
+ railties (= 7.1.4.1)
331
331
  rails-dom-testing (2.2.0)
332
332
  activesupport (>= 5.0.0)
333
333
  minitest
@@ -335,9 +335,9 @@ GEM
335
335
  rails-html-sanitizer (1.6.0)
336
336
  loofah (~> 2.21)
337
337
  nokogiri (~> 1.14)
338
- railties (7.1.3.4)
339
- actionpack (= 7.1.3.4)
340
- activesupport (= 7.1.3.4)
338
+ railties (7.1.4.1)
339
+ actionpack (= 7.1.4.1)
340
+ activesupport (= 7.1.4.1)
341
341
  irb
342
342
  rackup (>= 1.0.0)
343
343
  rake (>= 12.2)
@@ -36,8 +36,7 @@ module Wice
36
36
  separator = I18n.t!('number.format.separator') rescue nil
37
37
  val = val.sub(separator, '.') if val.respond_to?(:sub) && separator
38
38
 
39
- # Parse as float
40
- Float(val) rescue nil
39
+ Integer(val) rescue nil
41
40
  end
42
41
 
43
42
  def get_op_and_value(val) #:nodoc:
data/lib/wice_grid.rb CHANGED
@@ -189,7 +189,6 @@ module Wice
189
189
  end
190
190
 
191
191
  def fix_facebook_bug
192
- Rails.logger.debug {%%WiceGrid@#{__LINE__}#fix_facebook_bug: #{params[name].inspect}%}
193
192
  if params[name] and filter = params[name][:f]
194
193
  params[name][:f] = filter.to_unsafe_h
195
194
  .each_with_object({}) do |(key, value), hash|
@@ -267,8 +266,12 @@ module Wice
267
266
  end
268
267
 
269
268
  if column
270
- conditions_generator = ActiveRecordColumnWrapper.new(column, @status[:f], main_table, table_alias, custom_filter_active, filter_type)
271
- conditions, current_parameter_name = conditions_generator.wg_initialize_request_parameters
269
+ conditions_generator = ActiveRecordColumnWrapper.new(
270
+ column, @status[:f], main_table,
271
+ table_alias, custom_filter_active, filter_type
272
+ )
273
+ conditions, current_parameter_name =
274
+ conditions_generator.wg_initialize_request_parameters
272
275
 
273
276
  if @status[:f] && conditions.blank?
274
277
  @status[:f].delete(current_parameter_name)
data/wice_grid.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'wice_grid'
3
- s.version = '7.1.2'
4
- s.authors = ['Yuri Leikind and contributors']
3
+ s.version = '7.1.3'
4
+ s.authors = ['Yuri Leikind, Dimitri Kulk, and contributors']
5
5
  s.email = ['dim.kulk@gmail.com']
6
6
  s.homepage = 'https://github.com/leikind/wice_grid'
7
7
  s.summary = 'A Rails grid plugin to quickly create grids with sorting, pagination, and filters.'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wice_grid
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.1.2
4
+ version: 7.1.3
5
5
  platform: ruby
6
6
  authors:
7
- - Yuri Leikind and contributors
7
+ - Yuri Leikind, Dimitri Kulk, and contributors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-14 00:00:00.000000000 Z
11
+ date: 2024-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails