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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1e045ff2ce4eb97669ae683fe9374d00da9848eb17a4fd81b306c658a4af393e
4
- data.tar.gz: 3e44ad4c67e72c3a945869178eb0c243f4996af21a8e7df42a9b4b6658043902
3
+ metadata.gz: e88fe1ef7b34e0c30be0ff7d3b5b316f5330631f9ab7a609e8c4cc78a94d8cb2
4
+ data.tar.gz: 3c84f0b400297b2b126a9e577ec575969a389f1d1f17a458ad94eabfb1550baa
5
5
  SHA512:
6
- metadata.gz: 8afc724387239314ba8ee4e308adf0dc2a3632a1e9878de424b7d357bab89e266df3cca382dfd5767ec76af039215e9f555ee97b03c3557817f438c91714c2ba
7
- data.tar.gz: befb5862ef71e479d56c9cf41b4049bf932a18e95e21ed68d4e6833ff65e4a61998e3cb6e36ca63c6d17728faf96121e69d3236181593b7d55cdfdfec1e66002
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)
@@ -22,5 +22,5 @@
22
22
  #++
23
23
 
24
24
  module Tabulatr
25
- VERSION = "0.10.0"
25
+ VERSION = "0.10.2"
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.10.0
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-03 00:00:00.000000000 Z
13
+ date: 2024-06-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails