tuktuk 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tuktuk/tuktuk.rb +2 -1
- data/lib/tuktuk/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: f096d54900f68674fa72b7b6f78043fc2c1259352702044bc87c1faf2cde6078
|
4
|
+
data.tar.gz: f099e3a3e44269e00d178962ef0f9d3282776a329ddae54f736733ea357eaa69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e9f1634721ed0addca88dca279266b4d8f17a0e12c1a4357d5e8063656ce1b04ce1dc066b5bf7c2648f1ca052cc3d00d9ee778e736d2542aefe55f40f5cdb66
|
7
|
+
data.tar.gz: 6069dd9fca22c4ef4cf7b53b3c80b1bc50af4c9187ab9f1a500f32f37a4b47d351bf474611f51bfa91f8ad60305600dfb44664a2cdce7d4c0aee80f73fa14481
|
data/lib/tuktuk/tuktuk.rb
CHANGED
@@ -93,7 +93,7 @@ module Tuktuk
|
|
93
93
|
array.each_with_index do |message, i|
|
94
94
|
mail = Package.build(message, i)
|
95
95
|
if mail.destinations.count != 1
|
96
|
-
raise ArgumentError, "Invalid destination count: #{mail.destinations.count}"
|
96
|
+
raise ArgumentError, "Invalid destination count: #{mail.destinations.count}"
|
97
97
|
end
|
98
98
|
|
99
99
|
if to = mail.destinations.first and domain = get_domain(to)
|
@@ -218,6 +218,7 @@ module Tuktuk
|
|
218
218
|
|
219
219
|
def send_now(mail, server, to, bcc = [])
|
220
220
|
logger.info "#{to} - Delivering email at #{server}..."
|
221
|
+
logger.info "Including these destinations: #{bcc.inspect}" if bcc && bcc.any?
|
221
222
|
from = get_from(mail)
|
222
223
|
|
223
224
|
response = nil
|
data/lib/tuktuk/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tuktuk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomás Pollak
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|