silent_bob 0.2.7 → 0.2.8

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: 32eb6004a8e892ed5eb61d3faecd2aa246dbf349ce0f0ef5500bd0e9b34b621a
4
- data.tar.gz: b4e694d2bac987d1cd237767c226e3fef21ada50c891084deb69311906bccf82
3
+ metadata.gz: dbff286a926498c65e51dd7850212bc7700e537a755ee421de7d4d3b61055275
4
+ data.tar.gz: 52abe043b5b4c75c2088669b545f36bae64f7d0e3e8ed56aca96e07d40f4e847
5
5
  SHA512:
6
- metadata.gz: 45cfef0803c0b129260ec08420a4b4be3e396658a97f2bfb937200c7e4e94d1b0573beef1ac808013ef2d00e86cd9d014001a8eb3562de268eda5c2e81d76b12
7
- data.tar.gz: 5cc607a6a99cb383a2b9e17c53d81f358f11d98bbf1fb6cf3f5545bf19e9f95df34289eecf2d95a8feb0d9ab5a5af907bc6a01d58c22b177c581d0d192b0609c
6
+ metadata.gz: f229df5cfb50764205dc76de55596a48f3d39d2bd3b3cca0fb9ef5fd68953da6e84e8da90b1f9246d102f6d340d2aefb86dbababc8af1705b66ab5bc1c217750
7
+ data.tar.gz: d87ce48ff7475cc0f434c815a6839eea5680ec112fbfaa6ab411aace0b0c4f09d8e27bf624ca10f96c442bb4b9ea3fe1f067bf27440f2685e72738e0f0957a93
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- silent_bob (0.2.7)
4
+ silent_bob (0.2.8)
5
5
  http (~> 4.3)
6
6
  mail (~> 2.5)
7
7
 
@@ -53,7 +53,7 @@ module SilentBob
53
53
 
54
54
  def attachment_body(attachment)
55
55
  body = attachment[:body]
56
- body.is_a?(Mail::Part) ? body.decoded&.to_s : body.to_s
56
+ body.respond_to?(:decoded) ? body.decoded&.to_s : body.to_s
57
57
  end
58
58
  end
59
59
  end
@@ -1,3 +1,3 @@
1
1
  module SilentBob
2
- VERSION = '0.2.7'.freeze
2
+ VERSION = '0.2.8'.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.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Lobanov