tuktuk 0.7.1 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f096d54900f68674fa72b7b6f78043fc2c1259352702044bc87c1faf2cde6078
4
- data.tar.gz: f099e3a3e44269e00d178962ef0f9d3282776a329ddae54f736733ea357eaa69
3
+ metadata.gz: 94130469fa773ef26742e1811c40e3dcf6898acf537439470c72c1341cf555c8
4
+ data.tar.gz: 215936b8fe1b176a642f1c77f04f282f6df1f31e66381b62db09963c81a16044
5
5
  SHA512:
6
- metadata.gz: 1e9f1634721ed0addca88dca279266b4d8f17a0e12c1a4357d5e8063656ce1b04ce1dc066b5bf7c2648f1ca052cc3d00d9ee778e736d2542aefe55f40f5cdb66
7
- data.tar.gz: 6069dd9fca22c4ef4cf7b53b3c80b1bc50af4c9187ab9f1a500f32f37a4b47d351bf474611f51bfa91f8ad60305600dfb44664a2cdce7d4c0aee80f73fa14481
6
+ metadata.gz: 7f8907098711e0e7447165913bf300f956cf72b192f9458f7d6e4b7a2560f2aef12bbe784c9b27cd017d294cb4d4e005a61e595f816148012ee48ce015e51639
7
+ data.tar.gz: 9f08addb37fd31f1dd1226377746053e424c3386f6a51fcd1e2eff28beb4e786fb603a259877112bd3e23474395780a1a5ec394dc27650058183ac97bce7369d
@@ -0,0 +1,19 @@
1
+ name: Ruby
2
+ on: [push]
3
+
4
+ jobs:
5
+ build:
6
+ runs-on: ubuntu-latest
7
+
8
+ steps:
9
+ - uses: actions/checkout@v1
10
+ - name: Set up Ruby 2.6
11
+ uses: actions/setup-ruby@v1
12
+ with:
13
+ ruby-version: 2.6.x
14
+ - name: Build and test with Rake
15
+ run: |
16
+ gem install bundler
17
+ gem install rspec
18
+ bundle install --jobs 4 --retry 3
19
+ rspec
@@ -20,6 +20,16 @@ DEFAULTS = {
20
20
  :log_to => nil # $stdout,
21
21
  }
22
22
 
23
+ # overwrite Net::SMTP#quit since the connection might have been closed
24
+ # before we got a chance to say goodbye. swallow the error in that case.
25
+ class Net::SMTP
26
+ def quit
27
+ getok('QUIT')
28
+ rescue EOFError => e
29
+ # nil
30
+ end
31
+ end
32
+
23
33
  module Tuktuk
24
34
 
25
35
  class << self
@@ -250,7 +260,7 @@ module Tuktuk
250
260
  end
251
261
 
252
262
  responses
253
- rescue => e # SMTPServerBusy, SMTPSyntaxError, SMTPUnsupportedCommand, SMTPUnknownError (unexpected reply code)
263
+ rescue Exception => e # SMTPServerBusy, SMTPSyntaxError, SMTPUnsupportedCommand, SMTPUnknownError (unexpected reply code)
254
264
  logger.error "[SERVER ERROR: #{server}] #{e.class} -> #{e.message}"
255
265
  @last_error = e
256
266
  responses
@@ -1,7 +1,7 @@
1
1
  module Tuktuk
2
2
  MAJOR = 0
3
- MINOR = 7
4
- PATCH = 1
3
+ MINOR = 8
4
+ PATCH = 0
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.1
4
+ version: 0.8.0
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-08-07 00:00:00.000000000 Z
11
+ date: 2020-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -88,6 +88,7 @@ executables:
88
88
  extensions: []
89
89
  extra_rdoc_files: []
90
90
  files:
91
+ - ".github/workflows/ruby.yml"
91
92
  - ".gitignore"
92
93
  - Gemfile
93
94
  - README.md