silent_bob 0.2.4 → 0.2.5

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
  SHA256:
3
- metadata.gz: 16ccf1b283e9fe4e761206a27e1a65ca448a9a65617ae17db3e3def1c247c973
4
- data.tar.gz: 44e16b133bd9b20e2f756ab89b1049e7ce435a224bd16550688d530704c3ba41
3
+ metadata.gz: f2f02c2941a93861999c265020d2008f2b525f80fdc53b3543852e0d6beb7579
4
+ data.tar.gz: 69be3d35c0e9774c4d7a6ae408109e3c851f45b7c4d0f14518efa14ade485c85
5
5
  SHA512:
6
- metadata.gz: 28ed06e593b29df1605c7d7dd0e652e24813f6546914e94738a76c13eb34ac5e4f93c54888c367ae28f49015f4a54e4930204ac0e9213e53e421890e28c0d393
7
- data.tar.gz: 2120a7687f604726a488a4a33122337621e8852128577885304b34fdea72d461ce9c7cef20deeb8be4d3e701f4d2031a8cab7045ff44ba9859ba7ab99fc8aa85
6
+ metadata.gz: bb4d9e899a38cbae99706313730f496e38da9899c060e8013e6aa3ea272ad36c27c553dc425a11447b4c86fbe50c7fc957b40f5bf8b0c562863b627a67bba87c
7
+ data.tar.gz: 6701a2233d6e71c6dd23444a7c80d58307a8ccb493e52afe6ab912c3221b1c0fbce99d622869bcde6a03c17f4f42af16810e99f8cce15b33d2e8896db0da2ec9
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- silent_bob (0.2.4)
4
+ silent_bob (0.2.5)
5
5
  http (~> 4.3)
6
6
  mail (~> 2.5)
7
7
 
@@ -36,7 +36,7 @@ module SilentBob
36
36
 
37
37
  def convert_attachments
38
38
  mail.attachments&.map do |attachment|
39
- { name: attachment.filename, body: attachment.body.to_s&.encode('UTF-8') }
39
+ { name: attachment.filename, body: attachment.body.to_s&.force_encoding('UTF-8')&.encode }
40
40
  end
41
41
  end
42
42
  end
@@ -1,3 +1,3 @@
1
1
  module SilentBob
2
- VERSION = '0.2.4'.freeze
2
+ VERSION = '0.2.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: silent_bob
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Lobanov