tabulatr2 0.9.45 → 0.9.46

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: 85a7e7801f49237c37d89984b6a7fbc35033cb774ccb3fb59e90b4f26cde7297
4
- data.tar.gz: 0f8700a986dfb3060b10095f7b04e31e60dfc622f12c8995eb26f109301c45ac
3
+ metadata.gz: f41f421f2b5c05c35dc912a034b114706e2281d52441f78441c9c3fadb09557f
4
+ data.tar.gz: bb97bea3acf941cff212cc230cad2befcef4bcc6be21654c22e9a0307fe16905
5
5
  SHA512:
6
- metadata.gz: d3f1f5edecd4c81c236d45587c3ef152e5352f82f2fdb461a9cd183682ce031dcf0425b52bb841147c06f84d03d8ba79f1bf2a9baf6e903268870ec53eaf031e
7
- data.tar.gz: 667d67f611177319edbde3d778e914e9dd53f85cfac71f84e29830207e39bb4b3b3658b0ff463fd2c36f4f73efe10eac5746a5b90e6a8968c221d100f84e12ec
6
+ metadata.gz: 1bce2f2d71ce8dbf4f49efffc567ad2d828dddde65a9e4fa1507636cfcbfa358c96dd5ad32321b840c8272ba1e5207d17c48929ab48576eead97bb4e316ed014
7
+ data.tar.gz: a47a5311d2b87de12ac9fbb112cc26c18c2ef6e60a6404e82e5d2b558d7359580935f3f54a8aa06c2d4d5cf401dc97bbe4ca09495856a89333b1429e56128fa8
@@ -84,7 +84,7 @@ module Tabulatr::Data::Filtering
84
84
  when 'this_month' then date_in_between(today.at_beginning_of_month.beginning_of_day,
85
85
  today.at_end_of_month.end_of_day, n)
86
86
  when 'last_30_days' then date_in_between((today - 29.day).beginning_of_day, today.at_end_of_day, n)
87
- when 'from_to' then date_in_between((Date.parse(cond['from']) rescue nil), (Date.parse(cond['to']) rescue nil), n)
87
+ when 'from_to' then date_in_between((Time.zone.parse(cond['from']) rescue nil), (Time.zone.parse(cond['to']) rescue nil), n)
88
88
  end
89
89
  end
90
90
 
@@ -22,5 +22,5 @@
22
22
  #++
23
23
 
24
24
  module Tabulatr
25
- VERSION = "0.9.45"
25
+ VERSION = "0.9.46"
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tabulatr2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.45
4
+ version: 0.9.46
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Horn
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-05-17 00:00:00.000000000 Z
13
+ date: 2024-01-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -279,7 +279,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
279
279
  - !ruby/object:Gem::Version
280
280
  version: '0'
281
281
  requirements: []
282
- rubygems_version: 3.0.8
282
+ rubygems_version: 3.1.4
283
283
  signing_key:
284
284
  specification_version: 4
285
285
  summary: A tight DSL to build tables of ActiveRecord models with sorting, pagination,