carterdte_smtp_filter 0.0.6.9 → 0.0.6.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/carterdte_smtp_filter.rb +15 -1
- data/lib/carterdte_smtp_filter/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b703b67e822a1f53399ef1e1a9f83b9453adce2
|
4
|
+
data.tar.gz: 3fb447f42680eeba5bc38fe56b5b873096ff2454
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b212d3d495889e847634ac1a1e16d25e6f50d27f097a6eafa4e53443c45f4eca34b4818956dfac27d46b4e767756b0631b2b68f31211f5a10a434c14e7c0bf8e
|
7
|
+
data.tar.gz: 7ae0064e0ce0c35358444844d429e74f5c4d4eec11924698082fab712c1b28cc16d12f77815fcabb641de282fa0e4e342278bb93b9880d09142046ae9c2bb525
|
@@ -19,6 +19,20 @@ require "carterdte_smtp_filter/api_client"
|
|
19
19
|
require "carterdte_smtp_filter/spool"
|
20
20
|
require "carterdte_smtp_filter/spool_manager"
|
21
21
|
|
22
|
+
|
23
|
+
# Este es un Mokey Patch segun
|
24
|
+
# https://github.com/mikel/mail/issues/651
|
25
|
+
module Mail
|
26
|
+
class ContentDispositionElement
|
27
|
+
alias old_cleaned cleaned
|
28
|
+
|
29
|
+
def cleaned(string)
|
30
|
+
string = string.encode('US-ASCII', invalid: :replace, undef: :replace, replace: '_') unless string.ascii_only?
|
31
|
+
old_cleaned(string)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
22
36
|
module CarterdteSmtpFilter
|
23
37
|
|
24
38
|
def self.logger
|
@@ -29,4 +43,4 @@ module CarterdteSmtpFilter
|
|
29
43
|
@logger
|
30
44
|
end
|
31
45
|
|
32
|
-
end
|
46
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carterdte_smtp_filter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.6.
|
4
|
+
version: 0.0.6.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patricio Bruna
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mail
|