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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 645a6229301a14c9ea9de30d17f6fed26fefbc9f28d8217ca3bc62c092029e59
4
- data.tar.gz: 2fa5cd367e612f7a5214d48c670afd07a69b297437db0444fc85f6da750be588
3
+ metadata.gz: f096d54900f68674fa72b7b6f78043fc2c1259352702044bc87c1faf2cde6078
4
+ data.tar.gz: f099e3a3e44269e00d178962ef0f9d3282776a329ddae54f736733ea357eaa69
5
5
  SHA512:
6
- metadata.gz: e496e4ab7b6eed91ad413acf28a36d63bd325a0f3638f41d004fe8b02caa27b4256a7c4c85bb1c4e9c3ad1b2308e1bed3c12d58f2a00687f99ea7b651c8121e9
7
- data.tar.gz: cdcfd31010bceb164b591699c96b5e9bc010bbfaec53bf3d6f23c2bfee4b1141f34a0ab4ca3b6b70fb7ac2ee8130c6f510069b6216208f07e368488d08344d68
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
@@ -1,7 +1,7 @@
1
1
  module Tuktuk
2
2
  MAJOR = 0
3
3
  MINOR = 7
4
- PATCH = 0
4
+ PATCH = 1
5
5
 
6
6
  VERSION = [MAJOR, MINOR, PATCH].join('.')
7
7
  end
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.0
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-05-15 00:00:00.000000000 Z
11
+ date: 2019-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler