tabulatr2 0.9.48 → 0.10.0

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: 529e1c4299c8377f6c5d108014e440fd5d3081c1c36694a54e38ff0d4aeac38c
4
- data.tar.gz: a991342b3c04d2042687d4e728c937fdf9c8f919fb3840eef30d43da1fcb256b
3
+ metadata.gz: 1e045ff2ce4eb97669ae683fe9374d00da9848eb17a4fd81b306c658a4af393e
4
+ data.tar.gz: 3e44ad4c67e72c3a945869178eb0c243f4996af21a8e7df42a9b4b6658043902
5
5
  SHA512:
6
- metadata.gz: edb0bd4150734762a714012297edc593367dbdb245e7e9feed72c10938e91a805f34b031d25687c2b6f3c1dfc1e2d43999e9150caf10753d0386b911c1fcfcb7
7
- data.tar.gz: 3b70cd921bf2234566c7154e6320a04d574801937f7a365eaffabff03ad26cb0d2664f531940a53aa3c2176788bafeefb5c7329335060c4a768cd0e389209c43
6
+ metadata.gz: 8afc724387239314ba8ee4e308adf0dc2a3632a1e9878de424b7d357bab89e266df3cca382dfd5767ec76af039215e9f555ee97b03c3557817f438c91714c2ba
7
+ data.tar.gz: befb5862ef71e479d56c9cf41b4049bf932a18e95e21ed68d4e6833ff65e4a61998e3cb6e36ca63c6d17728faf96121e69d3236181593b7d55cdfdfec1e66002
@@ -59,7 +59,7 @@ class Tabulatr::Data
59
59
  return batch_result if batch_result.is_a? Tabulatr::Responses::DirectResponse
60
60
 
61
61
  pagination = compute_pagination(params[:page], params[:pagesize])
62
- apply_pagination(pagination.slice(:offset, :pagesize))
62
+ apply_pagination(**pagination.slice(:offset, :pagesize))
63
63
 
64
64
  # get the records
65
65
  found = apply_formats(locals: locals, controller: controller)
@@ -96,7 +96,7 @@ class Tabulatr::Renderer
96
96
  end
97
97
 
98
98
  def self.build_table(klass, view, toptions={}, columns, filters, tabulatr_data_class, &block)
99
- new(klass, view, toptions).build_table(columns, filters, tabulatr_data_class, &block)
99
+ new(klass, view, **toptions).build_table(columns, filters, tabulatr_data_class, &block)
100
100
  end
101
101
 
102
102
  def columns_json(tabulatr_data_class_name=nil)
@@ -22,5 +22,5 @@
22
22
  #++
23
23
 
24
24
  module Tabulatr
25
- VERSION = "0.9.48"
25
+ VERSION = "0.10.0"
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.48
4
+ version: 0.10.0
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-04-16 00:00:00.000000000 Z
13
+ date: 2024-06-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails