base_editing_bootstrap 0.16.0 → 0.16.1

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: 032ff91aed1deaf467baa86fc493c3c43239f90ecada9d9525d4a1a0b481a380
4
- data.tar.gz: 46f68625ee2cad88c0a266cbcbfb8636b5933a55c2ee51a4aa0853345393d2ad
3
+ metadata.gz: e764be908fc80fc7426404c064b407cd2b47239c30d81cb812f30d26e013e0c6
4
+ data.tar.gz: ce54c97213e70582b4493632cfd9652e2a33c8774d91106854381af17119adda
5
5
  SHA512:
6
- metadata.gz: 970c5dfea8476b01b2a2ba57009c41a83fefeeb3bd0f8e8add56ced18618ebbf74dd72808c52be2d167f2d7576ee51e07db177a2134de4cce8214f0b38b7b0aa
7
- data.tar.gz: e9d827c56ede5ef4b6c75d06e922b3f5730f1644c8a6065ab833e741bf3ed6a274a66179e5729657f67ada1d5882545844c41eb4ec2343cff5c4d011cadbb55a
6
+ metadata.gz: ac4e714e64560dbaa5b5851e67ff3ac439cd9ec5aa2d21b8a5fa246e0850da6f45f641b892576343604ca01bfb3dc984e7afab63470f1818e53479f20e1c5aff
7
+ data.tar.gz: ae23fcf542349cd98c4d4a1c9f6435261a54fa39c44fdf981e30f179319e04f1c6b0cdba4485acff348fa6fc8d0e0241b30e28d5f8f42f08a18b6fddfc73346a
data/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
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
+ ## 0.16.1 - 2024-11-22
6
+ #### Bug Fixes
7
+ - Correct case when attribute to print is virtual - (b86e478) - Marino Bonetti
8
+ #### Documentation
9
+ - Fix documentation - (8be21a5) - Marino Bonetti
10
+
11
+ - - -
12
+
5
13
  ## 0.16.0 - 2024-11-22
6
14
  #### Features
7
15
  - Add custom class to check-box forms - (0ff856c) - Marino Bonetti
data/README.md CHANGED
@@ -88,7 +88,7 @@ Utilizzo per modello base, in questo esempio prendiamo come modello Post come es
88
88
  class PostsController < BaseEditingController
89
89
  ##
90
90
  # Set default sort order for ransack
91
- # self.default_sort= ["id"]
91
+ # self.default_sorts= ["id"]
92
92
  end
93
93
  ```
94
94
  - Aggiungere la rotta: `resources :posts`
@@ -1,3 +1,3 @@
1
1
  <%# Renderizza il campo nella tabella della pagina dei risultati %>
2
2
  <%# locals: (obj:,field:) -%>
3
- <td><%= obj.read_attribute(field) %></td>
3
+ <td><%= obj.send(field) %></td>
@@ -1,3 +1,3 @@
1
1
  <%# Renderizza il campo nella tabella della pagina dei risultati %>
2
2
  <%# locals: (obj:,field:) -%>
3
- <td><%= boolean_to_icon obj.read_attribute(field) %></td>
3
+ <td><%= boolean_to_icon obj.send(field) %></td>
@@ -1,3 +1,3 @@
1
1
  <%# Renderizza il campo nella tabella della pagina dei risultati %>
2
2
  <%# locals: (obj:,field:) -%>
3
- <td><%= l(obj.read_attribute(field), format: :long) %></td>
3
+ <td><%= l(obj.send(field), format: :long) %></td>
@@ -1 +1 @@
1
- 0.16.0
1
+ 0.16.1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: base_editing_bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marino Bonetti