silent_bob 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/lib/silent_bob/email_sender.rb +1 -1
- data/lib/silent_bob/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3daacb7203798bb0e82e6c0222b1cd4566c4b8feba192ea71fa6f6f1fe336cc8
|
4
|
+
data.tar.gz: fb1c1f16c12e401b38641563761745819b4aabd2fc6b1d1e27d6e62ab6a94a83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21b4c6c334939eb23bef67bb390832b498ffc17e54cde689c8ba0068dd33de3c509d6103e059bdd2a124989579c5aaa857aab52c88d2c5064e6c297609e2da07
|
7
|
+
data.tar.gz: c59096985c09d856367f2f4f9bb11c70ca4ac055bb6c777c83dc89b8b0b17e4cd4bb68d76e6360acfd68bca7473e6462f0c869fd809cd82fb86ba4fc3484ae65
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -47,7 +47,7 @@ SilentBob::SmsSender.new(to: '78881214455', body: 'sms-text', configuration: con
|
|
47
47
|
To connect `SilentBob` to `ActionMailer`
|
48
48
|
|
49
49
|
```ruby
|
50
|
-
ActionMailer::Base.add_delivery_method :
|
50
|
+
ActionMailer::Base.add_delivery_method :silent_bob_delivery, SilentBob::Delivery
|
51
51
|
```
|
52
52
|
|
53
53
|
In this case `SilentBob::ConfigurationKeeper.default_config` **must be initialized**
|
@@ -44,7 +44,7 @@ module SilentBob
|
|
44
44
|
|
45
45
|
def handle_attachments(attachments)
|
46
46
|
attachments&.map do |attachment|
|
47
|
-
{ name: attachment[:name], body: Base64.encode64(attachment[:body]) }
|
47
|
+
{ name: attachment[:name], body: Base64.encode64(attachment[:body]&.to_s) }
|
48
48
|
end
|
49
49
|
end
|
50
50
|
end
|
data/lib/silent_bob/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: silent_bob
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrey Lobanov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-12-
|
11
|
+
date: 2020-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|