base_editing_bootstrap 1.16.1 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3976906e4cb5569db0d3eb2fa5a26d5d244f73f8ee684678e322c81169b8b5ce
4
- data.tar.gz: 49b3c0c7851fcbc1fea42b195b640d25c68341684596d47f3ce3f9aedde095c2
3
+ metadata.gz: 578382a177ded9163d28c479c32ece3169171a37c6ac7c5d9adeb3e4f58227e1
4
+ data.tar.gz: 42c3f714db4e91312b41af27193e80cc71e44812ffa3f57bb8ad4322a4eafe26
5
5
  SHA512:
6
- metadata.gz: 8169a66bf959a70659d7ea1346e39eb6760a17f757b076286aa134152d5c46d5fb11358a703a63f4646d2e707eb76f984591174793e33b2b11d41e1ce29c1378
7
- data.tar.gz: da247811ccebc922a14c7c42bbad9546795a9351d2db93bb4a27b453ca4648555f5cb167a39e2420a2d51c173645af150c96f94ae311de8d0fe6cc7bbf603154
6
+ metadata.gz: 1ffb2c56f74111af0a0986734baedad0f935afa0c9a584a0a574e3a8c2665d781e7687b17e836bbfa6d544b606f8d946f5bd34a4a76fbb740a18c17a82616893
7
+ data.tar.gz: 6f73ef0c8d248eb7352a072a5fce8176dbec1be015407db370b303ab73c759a99bf0b3ee6ec96cd85b8de72c234f95a01885ab9f5b7192ca9dba6920ce80084c
data/AGENTS.md CHANGED
@@ -26,6 +26,14 @@ The project uses Docker for environment setup and testing.
26
26
  docker compose up
27
27
  ```
28
28
 
29
+ - **Matrix testing OUTSIDE of DOCKER COMPOSER**
30
+ Quando devi verificare una combinazione specifica di Ruby e Rails, analizza prima `bin/local_ci_matrix.sh` per capire come vengono selezionate le versioni e poi esegui direttamente la matrix dal root del progetto con i parametri richiesti.
31
+ Esempio:
32
+ ```bash
33
+ ./bin/local_ci_matrix.sh --ruby 3.4 --rails 8.1 --keep-docker-cache
34
+ ```
35
+ Usa questo flusso per validare la compatibilità della modifica prima di considerarla conclusa.
36
+
29
37
  ## Development Workflow
30
38
  - **Naming Conventions**: Follow standard Rails/Ruby naming conventions (snake_case for files and methods, CamelCase for classes).
31
39
  - **Git Flow**: Use descriptive commit messages. No specific branching strategy is enforced, but use feature branches.
data/CHANGELOG.md CHANGED
@@ -2,6 +2,15 @@
2
2
  All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines.
3
3
 
4
4
  - - -
5
+ ## 2.0.0 - 2026-09-16
6
+ #### Features
7
+ - Titolo Custom nella index - (8b7f76c) - Marino Bonetti
8
+ #### Bug Fixes
9
+ - <span style="background-color: #d73a49; color: white; padding: 2px 6px; border-radius: 3px; font-weight: bold; font-size: 0.85em;">BREAKING</span>Resolve compatibility problem with ruby-rails and remove Rails 7.0 - (cee57ee) - Marino Bonetti
10
+ - Correzione versione - (c497766) - Marino Bonetti
11
+
12
+ - - -
13
+
5
14
  ## 1.16.1 - 2026-07-03
6
15
  #### Bug Fixes
7
16
  - Search buttons with full text customizations (#28) - (bfc0a62) - Marino Bonetti
data/README.md CHANGED
@@ -4,8 +4,8 @@
4
4
 
5
5
  ### Active tested on:
6
6
 
7
- * rails: 7.x,8.x
8
- * ruby: 3.x
7
+ * rails: (>=7.1),8.x
8
+ * ruby: >=3.1
9
9
 
10
10
  ## Installation
11
11
 
@@ -426,6 +426,11 @@ docker compose run app spec/dummy/bin/setup
426
426
  docker compose up
427
427
  ```
428
428
 
429
+ ### Test di tutte le versioni supportate
430
+ ```bash
431
+ ./bin/local_ci_matrix.sh
432
+ ```
433
+
429
434
  ## License
430
435
 
431
436
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -1,6 +1,14 @@
1
1
  module Utilities::PageHelper
2
2
  include Utilities::IconHelper
3
3
 
4
+ ##
5
+ # Traduzione del titolo INDEX con possibilità di modificare intestazione rispetto a modello
6
+ # - Il default è il model_name plurale
7
+ # - Viene cercato la traduzione con la chiave titles.CHIAVE_I18N_MODELLO.index
8
+ def title_index(base_class)
9
+ t("titles.#{base_class.model_name.i18n_key}.index", default: base_class.model_name.human(count: 2))
10
+ end
11
+
4
12
  ##
5
13
  # Traduzione del titolo EDIT con possibilità di modificare intestazione rispetto a modello
6
14
  # - Il default è quello di Utilizzare la chiave .edit
@@ -1,7 +1,7 @@
1
1
  <div>
2
2
  <div class="row align-items-center">
3
3
  <div class="col-md-8 col-xs-8">
4
- <h2><%= base_class.model_name.human(count: 2) %></h2>
4
+ <h2><%= title_index(base_class) %></h2>
5
5
  </div>
6
6
  <div class="col-md-4 col-xs-4 text-end">
7
7
  <%= render 'index_main_buttons' %>
@@ -1 +1 @@
1
- 1.16.1
1
+ 2.0.0
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: base_editing_bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.16.1
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marino Bonetti
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2026-07-03 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: rails
@@ -444,7 +443,6 @@ licenses:
444
443
  metadata:
445
444
  source_code_uri: https://github.com/oniram88/BaseEditingBootstrap
446
445
  changelog_uri: https://github.com/oniram88/BaseEditingBootstrap/blob/main/CHANGELOG.md
447
- post_install_message:
448
446
  rdoc_options: []
449
447
  require_paths:
450
448
  - lib
@@ -459,8 +457,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
459
457
  - !ruby/object:Gem::Version
460
458
  version: '0'
461
459
  requirements: []
462
- rubygems_version: 3.5.16
463
- signing_key:
460
+ rubygems_version: 3.6.9
464
461
  specification_version: 4
465
462
  summary: 'BaseEditing: funzionalità di base per cms rails'
466
463
  test_files: []