pg_rails 7.6.43 → 7.6.44

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: a32df0403ce2d6750bef9c081329cf0b64d50170aa9419784c69196781c43a03
4
- data.tar.gz: c14290d74b1c8e382dfeacdf0d6d507116d5abbd8f48196e77b2893199a212a8
3
+ metadata.gz: c59052a09428e29e1d25f736ab9fec4bab6a4095ea90d878e24fbf789bae734e
4
+ data.tar.gz: d068ce920ea606966d277102ed1a726b6944b44da8e87d3f10d2e2e42ac3be79
5
5
  SHA512:
6
- metadata.gz: bd4228c52176a156318f9f25fffdbdfa3095192d7a18e85b9adb4c70f5b14ef71317e7a6fdfb3ac014cbd614f1a08c3c3486f1a75825d5f8c7584503e638aef7
7
- data.tar.gz: d47e45800ff171164c443b924f6f7b7d40347ef57aaf7c15419aa378f1c3ddf1dc00642cfffe3661e0cd3ac2f299903124a092e5603450e645c940642556981f
6
+ metadata.gz: fd5c51f1f273438cacb00ffdc3f1989b3928027fe93657a1252ddc331222002e9535097e10c072f23bb01e360d093024f6a131541bd3428067b3c44e1c4b8619
7
+ data.tar.gz: fb7cd7f18719ff11e329ebfd57cdbfa68d2333e53def7230426c3f9dc0573ec0543c820c58f454f366f8690c503c4df69a96514813ae128e68d81524348026b9
@@ -16,6 +16,9 @@ class PgAssociableInput < SimpleForm::Inputs::StringInput
16
16
 
17
17
  def input(wrapper_options = nil)
18
18
  atributo = attribute_name.to_s.gsub('_id', '')
19
+ # TODO: rescue route error and show custom error:
20
+ # la ruta por defecto no existe, quizás está en otro namespace?
21
+ # pasar las opciones modal_url: y buscar_url:
19
22
  url_modal = options[:modal_url] || namespaced_path(clase_asociacion(atributo), prefix: :abrir_modal)
20
23
  url_search = options[:buscar_url] || namespaced_path(clase_asociacion(atributo), prefix: :buscar)
21
24
 
@@ -33,6 +33,8 @@
33
33
  / if turbo stream? && Current.account.present?
34
34
  / = turbo_stream_from Current.account, @clase_modelo.model_name.plural
35
35
 
36
+ = yield(:index_header)
37
+
36
38
  - if action_name == 'archived'
37
39
  .text-center.p-3.text-warning-emphasis.border-bottom
38
40
  div
@@ -118,6 +118,7 @@ es:
118
118
  header: "Aceptar invitación"
119
119
  submit_button: "Aceptar"
120
120
  confirmations:
121
+ # FIXME: cambiar a: "ahora tu email está confirmado", acá y en otros lugares
121
122
  confirmed: ¡Bien! Ahora tu cuenta está confirmada
122
123
  sessions:
123
124
  signed_in: ''
@@ -4,6 +4,10 @@ Rails.application.routes.draw do
4
4
  get "pg_engine/health" => "pg_engine/health#show", as: :pg_engine_health_check
5
5
 
6
6
  get '404', to: 'application#page_not_found'
7
+ # FIXME: change to match, so POST and other methods are catched
8
+ # NOTE: via: :all is important
9
+ # match '404', to: 'application#page_not_found', via: :all
10
+ #
7
11
  # get '500', to: 'application#handle_internal_error'
8
12
  get 'internal_error_but_with_status200', to: 'application#internal_error_but_with_status200'
9
13
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  # :nocov:
4
4
  module PgRails
5
- VERSION = '7.6.43'
5
+ VERSION = '7.6.44'
6
6
  end
7
7
  # :nocov:
@@ -1 +1 @@
1
- h1 el partiaaal
1
+ h1 FIXME or delete me
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.6.43
4
+ version: 7.6.44
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martín Rosso
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-20 00:00:00.000000000 Z
11
+ date: 2025-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails