padrino-mailer 0.14.0 → 0.14.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/padrino-mailer/helpers.rb +4 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41329bda808f47ea53fef6e04c9b0b4f1fdbb4cd
|
4
|
+
data.tar.gz: 40d13722d23bcf97daa74a71eff70a5b86e809e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26460bf78bd6f903bf4c67c2f3eb3535135b7592ef1fa840dd19c6106c175b640b84a750d2313c225b8e3dbdd008d56c07ee7cadb11fdf854f444155cfaa8fde
|
7
|
+
data.tar.gz: 92d4c6294e4f46cd6131c4ae2ed06faebe593d1937ca4d9a7d36a6417b6dd11b17e7d4c917425cb71f771073dabe8bc34a6335b0c9b6d175f8af42fe196ada70
|
@@ -148,7 +148,10 @@ module Padrino
|
|
148
148
|
#
|
149
149
|
def delivery_settings
|
150
150
|
@_delivery_setting ||= begin
|
151
|
-
|
151
|
+
if Gem.win_platform? && !respond_to?(:delivery_method)
|
152
|
+
raise "To use mailers on Windows you must set a :delivery_method, see http://padrinorb.com/guides/features/padrino-mailer/#configuration"
|
153
|
+
end
|
154
|
+
|
152
155
|
return [:sendmail, { :location => `which sendmail`.chomp }] unless respond_to?(:delivery_method)
|
153
156
|
return [delivery_method.keys[0], delivery_method.values[0]] if delivery_method.is_a?(Hash)
|
154
157
|
return [delivery_method, {}] if delivery_method.is_a?(Symbol)
|
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.14.0
|
4
|
+
version: 0.14.0.1
|
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: 2017-03-
|
14
|
+
date: 2017-03-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.14.0
|
22
|
+
version: 0.14.0.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.14.0
|
29
|
+
version: 0.14.0.1
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: mime-types
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|