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 +4 -4
- data/lib/tabulatr/data/data.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: 1e045ff2ce4eb97669ae683fe9374d00da9848eb17a4fd81b306c658a4af393e
|
4
|
+
data.tar.gz: 3e44ad4c67e72c3a945869178eb0c243f4996af21a8e7df42a9b4b6658043902
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8afc724387239314ba8ee4e308adf0dc2a3632a1e9878de424b7d357bab89e266df3cca382dfd5767ec76af039215e9f555ee97b03c3557817f438c91714c2ba
|
7
|
+
data.tar.gz: befb5862ef71e479d56c9cf41b4049bf932a18e95e21ed68d4e6833ff65e4a61998e3cb6e36ca63c6d17728faf96121e69d3236181593b7d55cdfdfec1e66002
|
data/lib/tabulatr/data/data.rb
CHANGED
@@ -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)
|
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.
|
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-
|
13
|
+
date: 2024-06-03 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|