base_editing_bootstrap 2.1.0 → 2.1.1
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/CHANGELOG.md +6 -0
- data/lib/base_editing_bootstrap/VERSION +1 -1
- data/spec/support/external_shared/view_helpers.rb +17 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 48ea2b44d5c972511b9179ffd1367551a4dcf09b67a33e3936043fe9f7fa5231
|
|
4
|
+
data.tar.gz: 77016be65db44a62bbd095a60cc2eee34d996babc179885a5e6e9ffe742d1da1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 845bb8c2656d3c677db58fd519dc150c69898bb071c76bed70d821cb8a7f1988fd653b5fccb13236484f83371ad947ed614d56cfca5235f311591127b1626b9e
|
|
7
|
+
data.tar.gz: 229222f2ea36b935a7e0e1cce67c596d03e1738c28e7db9fa25ff612a48887eb2c2bea5614d3da525715fa3853819bc7c688fcd6d08e669d79017ee5a8eac78a
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
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.1.1 - 2026-11-24
|
|
6
|
+
#### Refactoring
|
|
7
|
+
- Spostamento helper in support per convenienza di altre apps (#33) - (dce0042) - Marino Bonetti
|
|
8
|
+
|
|
9
|
+
- - -
|
|
10
|
+
|
|
5
11
|
## 2.1.0 - 2026-11-19
|
|
6
12
|
#### Features
|
|
7
13
|
- Custom nested attributes order by model (#32) - (42f80ad) - Marino Bonetti
|
|
@@ -1 +1 @@
|
|
|
1
|
-
2.1.
|
|
1
|
+
2.1.1
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
RSpec.configure do |config|
|
|
2
|
+
# Essendo incluso nel controller, dobbiamo fare in modo che anche nei test di view sia disponibile il field_renderer_class
|
|
3
|
+
config.before(:each, type: :view) do
|
|
4
|
+
view.define_singleton_method(:field_renderer_class) do
|
|
5
|
+
BaseEditingBootstrap::Forms::FieldRenderer
|
|
6
|
+
end
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
config.before(:each, type: :helper) do
|
|
10
|
+
without_partial_double_verification do
|
|
11
|
+
helper.define_singleton_method(:field_renderer_class) do |model = nil, action = nil|
|
|
12
|
+
BaseEditingBootstrap::Forms::FieldRenderer
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: base_editing_bootstrap
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.
|
|
4
|
+
version: 2.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marino Bonetti
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-11-
|
|
11
|
+
date: 2026-11-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -432,6 +432,7 @@ files:
|
|
|
432
432
|
- spec/support/external_shared/base_model.rb
|
|
433
433
|
- spec/support/external_shared/factory_bot.rb
|
|
434
434
|
- spec/support/external_shared/pundit.rb
|
|
435
|
+
- spec/support/external_shared/view_helpers.rb
|
|
435
436
|
homepage: https://github.com/oniram88/BaseEditingBootstrap
|
|
436
437
|
licenses:
|
|
437
438
|
- MIT
|