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 +4 -4
- data/pg_associable/app/inputs/pg_associable_input.rb +3 -0
- data/pg_engine/app/views/pg_engine/base/index.html.slim +2 -0
- data/pg_engine/config/locales/es.yml +1 -0
- data/pg_engine/config/routes.rb +4 -0
- data/pg_rails/lib/version.rb +1 -1
- data/pg_scaffold/lib/generators/pg_slim/templates/partial.html.slim +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c59052a09428e29e1d25f736ab9fec4bab6a4095ea90d878e24fbf789bae734e
|
|
4
|
+
data.tar.gz: d068ce920ea606966d277102ed1a726b6944b44da8e87d3f10d2e2e42ac3be79
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
data/pg_engine/config/routes.rb
CHANGED
|
@@ -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
|
|
data/pg_rails/lib/version.rb
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
h1
|
|
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.
|
|
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-
|
|
11
|
+
date: 2025-12-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|