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 +4 -4
- data/lib/tabulatr/data/filtering.rb +1 -1
- data/lib/tabulatr/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f41f421f2b5c05c35dc912a034b114706e2281d52441f78441c9c3fadb09557f
|
4
|
+
data.tar.gz: bb97bea3acf941cff212cc230cad2befcef4bcc6be21654c22e9a0307fe16905
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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((
|
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
|
|
data/lib/tabulatr/version.rb
CHANGED
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.
|
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:
|
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.
|
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,
|