pg_rails 7.6.21 → 7.6.22.pre.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: 3b28992b6ab1d70765599e7b9cb91d80c7205e4568a8d3de1bdab30b475c6e87
4
- data.tar.gz: 3bcd1df50768a9d0a97e6e33f747e2fc9981d0b8ceedba6e63270be3d9ae35eb
3
+ metadata.gz: 5b76399429a5de2afde862c553eeeb0cd141ae94e652ff063a7ea2e03a861131
4
+ data.tar.gz: 4cab26aca4226a0333dd69fb264683315cb12d283f173e9593530b6f5f03174f
5
5
  SHA512:
6
- metadata.gz: ef507cf518054e617a1678d7b29df9dc3bf24b916c26475a835e168054fd1418d794a5210187c7604b018f0d070b016dcbaf88e8a259230db791015164a56b07
7
- data.tar.gz: c8b47adeb7ee28e9da2efe5f61a1bd071de1e415654639b4a13d288becac7d752eea6b526a943342dcfde95fd0e323b1716ded877c9cf1e810136b3c40a6c7da
6
+ metadata.gz: e50ff4f64cd0106777f6658335df10db9b1c23bba3a8310a80571e2899d7dc51a14bc1b7679be27654801e3d2d5dc357f27b574caa1c66b3fd842ca1ece1d7ae
7
+ data.tar.gz: e5f551aa8b95bfae7131e61b3045f8157c92a0ab55cebea2ec7d203cf948f7b7ff535d6f0f3d6fe233f097d0de266380890b0f2a660e8ad53a2522094080d943
@@ -9,7 +9,8 @@ module PgEngine
9
9
  before_action { @email_object = params[:email_object] }
10
10
 
11
11
  before_action do
12
- png_data = File.read(File.expand_path("app/assets/images/#{logo_footer_name}", Rails.root))
12
+ path = Rails.application.assets.find_asset(logo_footer_name).filename
13
+ png_data = File.read(path)
13
14
  attachments.inline[logo_footer_name] = png_data
14
15
  @footer_image_src = attachments[logo_footer_name].url
15
16
  end
@@ -6,30 +6,31 @@ module PgEngine
6
6
 
7
7
  @default_site_brand = :factura
8
8
 
9
+ # FIXME: mover los pngs a pg_engine/ dentro de una carpeta test/
9
10
  @options = {
10
11
  landing_site_url: {
11
12
  procura: 'https://bien.com.ar/procura',
12
13
  factura: 'https://bien.com.ar/factura'
13
14
  },
14
15
  logo_navbar_url: {
15
- procura: 'procura-logo-navbar-1.png',
16
- factura: 'logo-navbar-1.png'
16
+ procura: 'test/procura-logo-navbar-1.png',
17
+ factura: 'test/factura-logo-navbar-1.png'
17
18
  },
18
19
  logo_xl_url: {
19
- procura: 'procura-logo-xl-light.png',
20
- factura: 'logo-xl-light.png'
20
+ procura: 'test/procura-logo-xl-light.png',
21
+ factura: 'test/factura-logo-xl-light.png'
21
22
  },
22
23
  favicon_prefix: {
23
- procura: 'procura-favicon',
24
- factura: 'favicon'
24
+ procura: 'test/icon/procura-favicon',
25
+ factura: 'test/icon/factura-favicon'
25
26
  },
26
27
  mailer_devise_footer_image_src: {
27
- factura: 'mail-footer-lg.png',
28
- procura: 'procura-mail-footer-lg.png'
28
+ factura: 'test/factura-mail-footer-lg.png',
29
+ procura: 'test/procura-mail-footer-lg.png'
29
30
  },
30
31
  mailer_base_footer_image_src: {
31
- factura: 'footer-mail-dark-light.png',
32
- procura: 'procura-mail-footer-sm.png'
32
+ factura: 'test/factura-mail-footer-sm.png',
33
+ procura: 'test/procura-mail-footer-sm.png'
33
34
  },
34
35
  default_mail_from: {
35
36
  procura: 'noreply@procura',
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PgRails
4
- VERSION = '7.6.21'
4
+ VERSION = '7.6.22-1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.6.21
4
+ version: 7.6.22.pre.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martín Rosso
@@ -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