pg_rails 7.6.21.pre.11 → 7.6.22.pre.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/pg_associable/app/helpers/pg_associable/form_builder_methods.rb +1 -0
  3. data/pg_engine/app/assets/images/test/factura-logo-navbar-1.png +0 -0
  4. data/pg_engine/app/assets/images/test/factura-logo-xl-light.png +0 -0
  5. data/pg_engine/app/assets/images/test/factura-mail-footer-lg.png +0 -0
  6. data/pg_engine/app/assets/images/test/factura-mail-footer-sm.png +0 -0
  7. data/pg_engine/app/assets/images/test/icon/factura-favicon-32x32.png +0 -0
  8. data/pg_engine/app/assets/images/test/icon/procura-favicon-32x32.png +0 -0
  9. data/pg_engine/app/assets/images/test/procura-logo-navbar-1.png +0 -0
  10. data/pg_engine/app/assets/images/test/procura-logo-xl-light.png +0 -0
  11. data/pg_engine/app/assets/images/test/procura-mail-footer-lg.png +0 -0
  12. data/pg_engine/app/assets/images/test/procura-mail-footer-sm.png +0 -0
  13. data/pg_engine/app/controllers/pg_engine/base_controller.rb +2 -0
  14. data/pg_engine/app/controllers/pg_engine/base_users_controller.rb +2 -0
  15. data/pg_engine/app/controllers/tenant/user_accounts_controller.rb +7 -16
  16. data/pg_engine/app/controllers/users/accounts_controller.rb +1 -1
  17. data/pg_engine/app/controllers/users/invitations_controller.rb +10 -4
  18. data/pg_engine/app/controllers/users/registrations_controller.rb +0 -2
  19. data/pg_engine/app/decorators/account_decorator.rb +3 -1
  20. data/pg_engine/app/decorators/pg_engine/base_record_decorator.rb +3 -2
  21. data/pg_engine/app/decorators/user_account_decorator.rb +4 -1
  22. data/pg_engine/app/helpers/pg_engine/flash_helper.rb +1 -1
  23. data/pg_engine/app/lib/pg_engine/default_url_options.rb +16 -12
  24. data/pg_engine/app/mailers/pg_engine/base_devise_mailer.rb +4 -0
  25. data/pg_engine/app/mailers/pg_engine/base_mailer.rb +17 -1
  26. data/pg_engine/app/models/account.rb +2 -6
  27. data/pg_engine/app/models/current.rb +1 -2
  28. data/pg_engine/app/models/email.rb +1 -1
  29. data/pg_engine/app/models/user.rb +6 -8
  30. data/pg_engine/app/models/user_account.rb +0 -4
  31. data/pg_engine/app/policies/account_policy.rb +9 -4
  32. data/pg_engine/app/policies/user_account_policy.rb +1 -5
  33. data/pg_engine/app/views/layouts/_logo.html.slim +8 -0
  34. data/pg_engine/app/views/users/accounts/show.html.slim +4 -3
  35. data/pg_engine/config/locales/es.rb +2 -0
  36. data/pg_engine/config/locales/es.yml +7 -2
  37. data/pg_engine/lib/pg_engine/active_job_extensions.rb +15 -0
  38. data/pg_engine/lib/pg_engine/configuracion.rb +2 -0
  39. data/pg_engine/lib/pg_engine/engine.rb +0 -3
  40. data/pg_engine/lib/pg_engine/site_brand.rb +39 -0
  41. data/pg_engine/lib/pg_engine/test/dummy_brand.rb +82 -0
  42. data/pg_engine/lib/pg_engine.rb +11 -1
  43. data/pg_engine/spec/factories/users.rb +6 -3
  44. data/pg_engine/spec/mailers/pg_engine/base_mailer_spec.rb +53 -0
  45. data/pg_engine/spec/requests/devise/invitations_spec.rb +13 -4
  46. data/pg_engine/spec/requests/users/accounts_spec.rb +19 -10
  47. data/pg_engine/spec/requests/users/base_controller_spec.rb +13 -12
  48. data/pg_engine/spec/requests/users/registrations_spec.rb +19 -18
  49. data/pg_engine/spec/requests/users/user_accounts_spec.rb +37 -1
  50. data/pg_layout/app/views/devise/invitations/new.html.erb +2 -1
  51. data/pg_layout/app/views/devise/mailer/invitation_instructions.html.erb +1 -1
  52. data/pg_layout/app/views/devise/mailer/invitation_instructions.text.erb +1 -1
  53. data/pg_layout/app/views/layouts/pg_layout/base.html.slim +1 -1
  54. data/pg_layout/app/views/layouts/pg_layout/container_logo.html.slim +2 -3
  55. data/pg_layout/app/views/layouts/pg_layout/containerized.html.slim +2 -1
  56. data/pg_layout/app/views/layouts/pg_layout/devise_mailer.html.slim +3 -7
  57. data/pg_layout/app/views/layouts/pg_layout/devise_mailer.text.erb +2 -4
  58. data/pg_layout/app/views/layouts/pg_layout/mailer.html.slim +3 -7
  59. data/pg_layout/app/views/layouts/pg_layout/mailer.text.erb +2 -4
  60. data/pg_layout/app/views/pg_layout/_navbar.html.slim +7 -8
  61. data/pg_layout/app/views/pg_layout/_sidebar.html.slim +1 -1
  62. data/pg_layout/app/views/pg_layout/_sidebar_mobile.html.slim +1 -1
  63. data/pg_layout/app/views/pg_layout/_signed_in_links.html.slim +4 -4
  64. data/pg_rails/lib/version.rb +1 -1
  65. metadata +17 -2
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.21.pre.11
4
+ version: 7.6.22.pre.1
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: 2024-11-05 00:00:00.000000000 Z
11
+ date: 2024-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -672,6 +672,16 @@ files:
672
672
  - pg_engine/app/assets/config/pg_engine_manifest.js
673
673
  - pg_engine/app/assets/images/plantita-sm.png
674
674
  - pg_engine/app/assets/images/plantita.png
675
+ - pg_engine/app/assets/images/test/factura-logo-navbar-1.png
676
+ - pg_engine/app/assets/images/test/factura-logo-xl-light.png
677
+ - pg_engine/app/assets/images/test/factura-mail-footer-lg.png
678
+ - pg_engine/app/assets/images/test/factura-mail-footer-sm.png
679
+ - pg_engine/app/assets/images/test/icon/factura-favicon-32x32.png
680
+ - pg_engine/app/assets/images/test/icon/procura-favicon-32x32.png
681
+ - pg_engine/app/assets/images/test/procura-logo-navbar-1.png
682
+ - pg_engine/app/assets/images/test/procura-logo-xl-light.png
683
+ - pg_engine/app/assets/images/test/procura-mail-footer-lg.png
684
+ - pg_engine/app/assets/images/test/procura-mail-footer-sm.png
675
685
  - pg_engine/app/assets/javascripts/active_admin.js
676
686
  - pg_engine/app/assets/stylesheets/actiontext.css
677
687
  - pg_engine/app/assets/stylesheets/active_admin.scss
@@ -807,6 +817,7 @@ files:
807
817
  - pg_engine/app/views/admin/users/edit.html.slim
808
818
  - pg_engine/app/views/admin/users/new.html.slim
809
819
  - pg_engine/app/views/admin/users/show.html.slim
820
+ - pg_engine/app/views/layouts/_logo.html.slim
810
821
  - pg_engine/app/views/layouts/action_text/contents/_content.html.erb
811
822
  - pg_engine/app/views/pg_engine/admin_mailer/admin_mail.html.slim
812
823
  - pg_engine/app/views/pg_engine/base/download.xlsx.axlsx
@@ -864,6 +875,7 @@ files:
864
875
  - pg_engine/db/migrate/20241027225618_add_membership_status_to_user_accounts.rb
865
876
  - pg_engine/db/seeds.rb
866
877
  - pg_engine/lib/pg_engine.rb
878
+ - pg_engine/lib/pg_engine/active_job_extensions.rb
867
879
  - pg_engine/lib/pg_engine/configuracion.rb
868
880
  - pg_engine/lib/pg_engine/core_ext.rb
869
881
  - pg_engine/lib/pg_engine/email_observer.rb
@@ -872,6 +884,8 @@ files:
872
884
  - pg_engine/lib/pg_engine/mailgun/log_sync.rb
873
885
  - pg_engine/lib/pg_engine/navigator.rb
874
886
  - pg_engine/lib/pg_engine/route_helpers.rb
887
+ - pg_engine/lib/pg_engine/site_brand.rb
888
+ - pg_engine/lib/pg_engine/test/dummy_brand.rb
875
889
  - pg_engine/lib/pg_engine/utils/pdf_preview_generator.rb
876
890
  - pg_engine/lib/pg_engine/utils/pg_logger.rb
877
891
  - pg_engine/lib/pg_engine/utils/resource_reports.rb
@@ -913,6 +927,7 @@ files:
913
927
  - pg_engine/spec/lib/pg_engine/mailgun/log_sync_spec.rb
914
928
  - pg_engine/spec/lib/pg_engine/utils/pg_engine/pg_logger_spec.rb
915
929
  - pg_engine/spec/lib/pg_form_builder_spec.rb
930
+ - pg_engine/spec/mailers/pg_engine/base_mailer_spec.rb
916
931
  - pg_engine/spec/mailers/previews/devise_preview.rb
917
932
  - pg_engine/spec/models/account_spec.rb
918
933
  - pg_engine/spec/models/concerns/pg_engine/child_record_spec.rb