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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9c6ac41fe64798f09a56a843641f7b16f7618c95
4
- data.tar.gz: 598bcd5aaf57f3f730100edac6d6ac520aa2e968
3
+ metadata.gz: 7b703b67e822a1f53399ef1e1a9f83b9453adce2
4
+ data.tar.gz: 3fb447f42680eeba5bc38fe56b5b873096ff2454
5
5
  SHA512:
6
- metadata.gz: 4b35d9f9a3b62a51e02a58402e9f073a171982b82eb7ba1c0c89f8e2ccdc0405bc0c3597cef46224f532ce71e09779ddea80e8e9f30f8307ff8fc560d5e1b5c3
7
- data.tar.gz: 378033e10bd76d363ef106649bbb3244fe205cd188f54aab31696595d647b63729016fc40ac7060c679e2435ea504ebd67bb3ba32c138625acbbb088172c1431
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
@@ -1,3 +1,3 @@
1
1
  module CarterdteSmtpFilter
2
- VERSION = "0.0.6.9"
2
+ VERSION = "0.0.6.10"
3
3
  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.9
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-07 00:00:00.000000000 Z
11
+ date: 2015-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mail