padrino-mailer 0.15.1 → 0.15.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/padrino-mailer/ext.rb +1 -1
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a37c986ac374e6e52d87cfecb5346c3016159eb8e6305a2454790f5eb08c8149
4
- data.tar.gz: 69676c945595daf4c62dc3dcfd0a41e25e591b24ec568a4397b22a1cd0806265
3
+ metadata.gz: 8b152ecc3a9444f99ac89d533c878b044ffec74344ac1fee08d53fccf2950ad2
4
+ data.tar.gz: ee5bdb48d27df493670cd1f78db396966f5350b069f9758e63b287a22c936bcb
5
5
  SHA512:
6
- metadata.gz: 0fbc59c4bb9201f087cfdb58b1c140e7c75a8a120c32b89cd00d2ee7ffba4bd1910fcb8d02b3d76c60f57760af5e01a2c9c6836bceaca76a322e8c66dda401b0
7
- data.tar.gz: 0765cadc01bc7f895515ddd3afab6fc71a553544fdfd59683b1abff8ddc9af03bb26390f6bc6b8db04564e29be0dc15a2ae0b2460a446db3b70384554e117511
6
+ metadata.gz: e50c4e55e9d2b8a38d923ce03d8a202399be8b31f385a9e276612c73a5f28ae6ee650a5817115d8b8ee390911e0c2e3e4db99486ac2004565524f3377f4907e2
7
+ data.tar.gz: d5d7ce4752b75e7e314755f0cbfeb430433ab479c9b407d3457db84cce99b4cd806c0342dde363e02610dfef9c29925b0bd76289563b4cfd63b64169296baab4
@@ -261,7 +261,7 @@ module Mail # @private
261
261
  engine ||= message_name
262
262
 
263
263
  if mailer_name && !engine.to_s.index('/')
264
- settings.views += "/#{mailer_name}"
264
+ settings.views += "/#{mailer_name}" unless settings.views.include?("/#{mailer_name}")
265
265
  engine = engine.to_s.sub(%r{^#{mailer_name}/}, '')
266
266
  end
267
267
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: padrino-mailer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.1
4
+ version: 0.15.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Padrino Team
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2021-04-25 00:00:00.000000000 Z
14
+ date: 2022-12-23 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: padrino-core
@@ -19,14 +19,14 @@ dependencies:
19
19
  requirements:
20
20
  - - '='
21
21
  - !ruby/object:Gem::Version
22
- version: 0.15.1
22
+ version: 0.15.2
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: 0.15.1
29
+ version: 0.15.2
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: mime-types
32
32
  requirement: !ruby/object:Gem::Requirement