padrino-mailer 0.15.0 → 0.15.1

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.rb +3 -0
  3. metadata +8 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d828a062e0fac6a45291d84eccb273a20f950b509392db1e115556c7c0881755
4
- data.tar.gz: f5ecbcf93de03f96728b262d3b3f228c37724494b46ad7e3b50b65b86eedc83a
3
+ metadata.gz: a37c986ac374e6e52d87cfecb5346c3016159eb8e6305a2454790f5eb08c8149
4
+ data.tar.gz: 69676c945595daf4c62dc3dcfd0a41e25e591b24ec568a4397b22a1cd0806265
5
5
  SHA512:
6
- metadata.gz: 56353f6d7c1b88f5ea55fa162bbd6e1bfdd826cf6ff4df176aefe2cd05f61237cf21ac7477fae4115927ccb9685715f2c8c4ee1c0586a8b1a842ee6d79f09db8
7
- data.tar.gz: da737ad6fe4e32409ddea53ee2d07ac6b630694a62cfcaefd1b38fdd6039931852ce38f9d1725dd8998515043661d81c44ed6769ce1e047f62c7af8026e68901
6
+ metadata.gz: 0fbc59c4bb9201f087cfdb58b1c140e7c75a8a120c32b89cd00d2ee7ffba4bd1910fcb8d02b3d76c60f57760af5e01a2c9c6836bceaca76a322e8c66dda401b0
7
+ data.tar.gz: 0765cadc01bc7f895515ddd3afab6fc71a553544fdfd59683b1abff8ddc9af03bb26390f6bc6b8db04564e29be0dc15a2ae0b2460a446db3b70384554e117511
@@ -46,6 +46,9 @@ module Padrino
46
46
  app._padrino_mailer = Mail
47
47
  }
48
48
  app.helpers Padrino::Mailer::Helpers
49
+ unless app.respond_to?(:mailer)
50
+ app.send(:extend, Padrino::Mailer::Helpers::ClassMethods)
51
+ end
49
52
  end
50
53
  alias :included :registered
51
54
  end
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: padrino-mailer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Padrino Team
8
8
  - Nathan Esquenazi
9
9
  - Davide D'Agostino
10
10
  - Arthur Chiu
11
- autorequire:
11
+ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2020-05-14 00:00:00.000000000 Z
14
+ date: 2021-04-25 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.0
22
+ version: 0.15.1
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.0
29
+ version: 0.15.1
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: mime-types
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -107,7 +107,7 @@ homepage: http://www.padrinorb.com
107
107
  licenses:
108
108
  - MIT
109
109
  metadata: {}
110
- post_install_message:
110
+ post_install_message:
111
111
  rdoc_options:
112
112
  - "--charset=UTF-8"
113
113
  require_paths:
@@ -123,8 +123,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
123
  - !ruby/object:Gem::Version
124
124
  version: 1.3.6
125
125
  requirements: []
126
- rubygems_version: 3.0.6
127
- signing_key:
126
+ rubygems_version: 3.0.8
127
+ signing_key:
128
128
  specification_version: 4
129
129
  summary: Mailer system for padrino
130
130
  test_files: