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 +4 -4
- data/AGENTS.md +8 -0
- data/CHANGELOG.md +9 -0
- data/README.md +7 -2
- data/app/helpers/utilities/page_helper.rb +8 -0
- data/app/views/base_editing/_index_title_header.html.erb +1 -1
- data/lib/base_editing_bootstrap/VERSION +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 578382a177ded9163d28c479c32ece3169171a37c6ac7c5d9adeb3e4f58227e1
|
|
4
|
+
data.tar.gz: 42c3f714db4e91312b41af27193e80cc71e44812ffa3f57bb8ad4322a4eafe26
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
8
|
-
* ruby: 3.
|
|
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 +1 @@
|
|
|
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:
|
|
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:
|
|
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.
|
|
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: []
|