tabulatr2 0.10.0 → 0.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/tabulatr/renderer/column.rb +1 -1
- data/lib/tabulatr/renderer/renderer.rb +1 -1
- data/lib/tabulatr/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e88fe1ef7b34e0c30be0ff7d3b5b316f5330631f9ab7a609e8c4cc78a94d8cb2
|
4
|
+
data.tar.gz: 3c84f0b400297b2b126a9e577ec575969a389f1d1f17a458ad94eabfb1550baa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1c2616511041f73acad51e9dc7a74640278fbc6f75e87ca91b426a0555d688cb6163979f693f22d79deb9ca9ce397cb9ca2532cb3ee04b53627f88c485491ed
|
7
|
+
data.tar.gz: 479b541e476a2e0195967e8daf69b904ffe61d26573ea6ed0a10ef05ba5e1ae746ee0279a63e5591271706eeb066974354c1ba34ccf8133179099b04371e8b99
|
@@ -101,7 +101,7 @@ class Tabulatr::Renderer::Column
|
|
101
101
|
when :enum then self.col_options.filter = :enum
|
102
102
|
when :float, :decimal then self.col_options.filter = :decimal
|
103
103
|
when :string, :text then self.col_options.filter = :like
|
104
|
-
when :date, :time, :datetime, :timestamp then self.col_options.filter = :date
|
104
|
+
when :date, :time, :datetime, :timestamp, :timestamptz then self.col_options.filter = :date
|
105
105
|
when :boolean then self.col_options.filter = :checkbox
|
106
106
|
when nil then self.col_options.filter = :exact
|
107
107
|
else raise "Unknown filter type for #{self.name}: »#{typ}«"
|
@@ -92,7 +92,7 @@ class Tabulatr::Renderer
|
|
92
92
|
def self.build_static_table(records, view, toptions={}, &block)
|
93
93
|
return '' unless records.present?
|
94
94
|
klass = records.first.class
|
95
|
-
new(klass, view, toptions).build_static_table(records, &block)
|
95
|
+
new(klass, view, **toptions).build_static_table(records, &block)
|
96
96
|
end
|
97
97
|
|
98
98
|
def self.build_table(klass, view, toptions={}, columns, filters, tabulatr_data_class, &block)
|
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.10.
|
4
|
+
version: 0.10.2
|
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: 2024-06-
|
13
|
+
date: 2024-06-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|