tybo 0.3.13 → 0.3.15

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: a8c51aacabad77126c940b704dc844e6f9288195f3ebbf4f7d520cebad4d903d
4
- data.tar.gz: 6005f09dcfca2f82988eda0505231dbe11840b7d2130c626002ec71fa56a97c6
3
+ metadata.gz: cbb1b85f287a357ffbca03b7ff75ed5b6160107dbb8ab1b97d89d996a3371a8c
4
+ data.tar.gz: c39c5716985f3e75d3b0a6a128f26590835c7ccf170de13a3a73da6c36b05050
5
5
  SHA512:
6
- metadata.gz: 5498bb0066dc84ba321db87e2db4687a7246b89e0dce6cc5dfdda57248d9b2aa927569a98bddca3d6af21f12ded71857a4156ee81be7fb9b55cf70ec33e63192
7
- data.tar.gz: 7b24a8d9dc4a9d585a100d3f79085dc3bbfce72271bf38ca957b88abddbe389c5a829b6cf3241a23fb99b408140ad68c95605f7c4b36fd00880e240d80d15d7c
6
+ metadata.gz: 96ca2da1ca7f48dbefae1e4d5aec16192d99a0484af2c1a844fe14ad70a8e97e2099b37f1d958271a8432e60178ff8b794f7ed511a7b934817f5715114d1c11b
7
+ data.tar.gz: d41b02c6dbefacd9dcb9dbf756c3077458a165a4f602ee6af573248b8b03ff9e0595fdd86e30dc3f91070641fe84537f673a0e7166a9895f7437a8f9de02b770
@@ -1,17 +1,17 @@
1
1
  <%%= render(IndexComponent.new) do |index| %>
2
2
  <!-- Header -->
3
- <%%= turbo_frame_tag "<%= class_name.underscore.pluralize %>", target: '_top' do %>
4
- <%%= index.with_header(
5
- title: I18n.t('bo.<%= class_name.underscore %>.others').capitalize,
6
- subtitle: I18n.t('bo.<%= class_name.underscore %>.subtitle').capitalize,
7
- ) do |header| %>
8
- <%%= header.with_add_button(path: <%="new_#{options[:namespace]}_#{class_name.underscore}_path" %>) %>
9
- <%%= header.with_export_button(path: <%= "export_csv_#{options[:namespace]}_#{class_name.pluralize.underscore}_path(format: :csv, params: {q: params.permit!['q']})"%>)%>
10
- <%% end %>
3
+ <%%= index.with_header(
4
+ title: I18n.t('bo.<%= class_name.underscore %>.others').capitalize,
5
+ subtitle: I18n.t('bo.<%= class_name.underscore %>.subtitle').capitalize,
6
+ ) do |header| %>
7
+ <%%= header.with_add_button(path: <%="new_#{options[:namespace]}_#{class_name.underscore}_path" %>) %>
8
+ <%%= header.with_export_button(path: <%= "export_csv_#{options[:namespace]}_#{class_name.pluralize.underscore}_path(format: :csv, params: {q: params.permit!['q']})"%>)%>
9
+ <%% end %>
11
10
 
12
11
  <!-- Search Bar -->
13
- <%%= render('search_bar') %>
12
+ <%%= render('search_bar') %>
14
13
  <!-- Table -->
14
+ <%%= turbo_frame_tag "<%= class_name.underscore.pluralize %>", target: '_top' do %>
15
15
  <%%= render('table') %>
16
16
  <div class="py-2">
17
17
  <%%== render partial: 'shared/pagination', locals: { pagy: @pagy } %>
data/lib/tybo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tybo
2
- VERSION = '0.3.13'
2
+ VERSION = '0.3.15'
3
3
  end
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.13
4
+ version: 0.3.15
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: 2023-12-07 00:00:00.000000000 Z
12
+ date: 2024-01-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -45,14 +45,14 @@ dependencies:
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: '2.82'
48
+ version: 3.9.0
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: '2.82'
55
+ version: 3.9.0
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: ransack
58
58
  requirement: !ruby/object:Gem::Requirement