silent_bob 0.2.3 → 0.2.4

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: 80240cd3062a40fabd16dbdda7ed291db63b11dfb89972dfb236aa629904aa53
4
- data.tar.gz: ddc063c94ff73458afed7d164ea5864b2130d1073c2ae05d6b32eb314ccd19a2
3
+ metadata.gz: 16ccf1b283e9fe4e761206a27e1a65ca448a9a65617ae17db3e3def1c247c973
4
+ data.tar.gz: 44e16b133bd9b20e2f756ab89b1049e7ce435a224bd16550688d530704c3ba41
5
5
  SHA512:
6
- metadata.gz: 726b2b32521e0c31a7ecea22b7384ece0af29a21ac57dce1beed9b3b5f1abc39633279488a7a91ce814b0f8aebb23e265e5d25b1511f30f40a5d15c60d917b7b
7
- data.tar.gz: 9bed5c1856eb96ad3210f0e612e152b2cf310cb995a5f28fb8781c6dab929153f157e24e6c871ebfe56b69456a93baaf86b4b8a4fb124518b6d159acc767942f
6
+ metadata.gz: 28ed06e593b29df1605c7d7dd0e652e24813f6546914e94738a76c13eb34ac5e4f93c54888c367ae28f49015f4a54e4930204ac0e9213e53e421890e28c0d393
7
+ data.tar.gz: 2120a7687f604726a488a4a33122337621e8852128577885304b34fdea72d461ce9c7cef20deeb8be4d3e701f4d2031a8cab7045ff44ba9859ba7ab99fc8aa85
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- silent_bob (0.2.3)
4
+ silent_bob (0.2.4)
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 }
39
+ { name: attachment.filename, body: attachment.body.to_s&.encode('UTF-8') }
40
40
  end
41
41
  end
42
42
  end
@@ -1,3 +1,3 @@
1
1
  module SilentBob
2
- VERSION = '0.2.3'.freeze
2
+ VERSION = '0.2.4'.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.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Lobanov