mensa 0.1.10 → 0.1.12
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6bc3a70a75fabaa46e72c354a6071b18db63e934ea3011324eeffc5a66d47a94
|
4
|
+
data.tar.gz: 4c94fc5c3d5e58c6001e502dc26f97d74834ff2173e0ebf559bb5ffb29e657ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6194275a78dd4414bdee8cdffb24be8bdac54c9d13b9196be0400a5180c29da9213911257d1bfacba743cf09d91a2ac2aa6976036322a0d8b204cce020a0810
|
7
|
+
data.tar.gz: 4c7a29a7345ae5264039bce385219b65341f2ed2658536340430eada578a4b9a2430aa5dd33f298eee7122c836bd480014ee951bd9a1938cea516ecce9a3795f
|
@@ -4,4 +4,4 @@
|
|
4
4
|
= render Mensa::Filters::Component.new(table: table)
|
5
5
|
- if table.supports_views? && table.show_header?
|
6
6
|
= render Mensa::Views::Component.new(table: table)
|
7
|
-
turbo-frame id=table.table_id src=helpers.mensa.table_path(table.name, turbo_frame_id: table.table_id) target="_top" loading="lazy" data-mensa-table-target="turboFrame"
|
7
|
+
turbo-frame id=table.table_id src=helpers.mensa.table_path(table.name, {turbo_frame_id: table.table_id}.merge(params)) target="_top" loading="lazy" data-mensa-table-target="turboFrame"
|
@@ -6,10 +6,12 @@ module Mensa
|
|
6
6
|
include TablesHelper
|
7
7
|
|
8
8
|
attr_reader :table
|
9
|
+
attr_reader :params
|
9
10
|
|
10
11
|
def initialize(table_name, config = {}, **options)
|
11
12
|
@table = Mensa.for_name(table_name, config)
|
12
13
|
@table.component = self
|
14
|
+
@params = options[:params] || {}
|
13
15
|
end
|
14
16
|
end
|
15
17
|
end
|
data/lib/mensa/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mensa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom de Grunt
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: caxlsx_rails
|
@@ -275,7 +275,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
275
275
|
version: '0'
|
276
276
|
requirements: []
|
277
277
|
rubygems_version: 3.4.10
|
278
|
-
signing_key:
|
278
|
+
signing_key:
|
279
279
|
specification_version: 4
|
280
280
|
summary: Fast and awesome tables
|
281
281
|
test_files: []
|