tybo 0.3.19 → 0.3.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/components/tables/th_component.html.erb +1 -1
- data/config/initializers/ransack.rb +12 -0
- data/lib/tybo/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: 85ed3bbf8ec48128263b509e2d994dc5db8bb9c9e46ce1ad811a3d87d7ee3bfd
|
4
|
+
data.tar.gz: db1e30bc88f1c93ac90da0fd29d35012d1fe044f70205eed62db83a1c53fcf68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a1693fc7f40b108b5eb4fb78964276efa90b12f04c23bc3fe9745a82290f44736c0522e0535e51399dc56400a2ec2459e0674c3227d4b78aa73fcfc9d6f545f
|
7
|
+
data.tar.gz: a2f35bfbd8de7944c44cd5fffef5f3da6f16174baadc6ce063ae2a9bf3816b9fd4ed215a3c11efd12a4e934b28d014fefc5580282f2b18bb8c13cde14380c4db
|
@@ -10,4 +10,16 @@ Ransack.configure do |config|
|
|
10
10
|
formatter: proc { |v| v.end_of_day },
|
11
11
|
validator: proc { |v| v.present? },
|
12
12
|
type: :date
|
13
|
+
|
14
|
+
config.custom_arrows = {
|
15
|
+
default_arrow: '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" class="inline-block w-4 h-4 align-middle">
|
16
|
+
<path stroke-linecap="round" stroke-linejoin="round" d="M8.25 15 12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9" />
|
17
|
+
</svg>',
|
18
|
+
up_arrow: '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="inline-block w-4 h-4 align-middle">
|
19
|
+
<path stroke-linecap="round" stroke-linejoin="round" d="m4.5 15.75 7.5-7.5 7.5 7.5" />
|
20
|
+
</svg>',
|
21
|
+
down_arrow: '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="inline-block w-4 h-4 align-middle">
|
22
|
+
<path stroke-linecap="round" stroke-linejoin="round" d="m19.5 8.25-7.5 7.5-7.5-7.5" />
|
23
|
+
</svg>'
|
24
|
+
}
|
13
25
|
end
|
data/lib/tybo/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tybo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michel Delpierre
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-08-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|