Comparing changes

v0.2.6 v0.2.7
9 commits 6 files changed

Commits

0a6eda8 Use latest 2.6 ruby mo khan 2019-10-05 03:33:40
c3e7112 Update gempush.yml mo khan 2019-10-05 03:19:13
ae9df32 Remove explicit version mo khan 2019-10-05 03:14:46
4cd7328 rollback to 2.6.4 mo khan 2019-10-05 03:13:30
5c89153 Add test action mo khan 2019-10-05 03:12:22
48a34ed Fix linter error mo khan 2019-10-05 03:04:26
767dae3 Update changelog mo khan 2019-10-05 03:02:16
52ee48a Add additional connection errors mo khan 2019-10-05 02:58:56
.github/workflows/test.yml
@@ -0,0 +1,15 @@
+name: Test
+
+on: [push, pull_request]
+
+jobs:
+  test:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v1
+    - name: Set up Ruby
+      uses: actions/setup-ruby@v1
+      with:
+        version: 2.6.x
+    - name: Build and test
+      run: bin/cibuild
lib/net/hippie/version.rb
@@ -2,6 +2,6 @@
 
 module Net
   module Hippie
-    VERSION = '0.2.6'
+    VERSION = '0.2.7'
   end
 end
lib/net/hippie.rb
@@ -16,9 +16,17 @@ module Net
   module Hippie
     CONNECTION_ERRORS = [
       EOFError,
+      Errno::ECONNREFUSED,
       Errno::ECONNRESET,
+      Errno::ECONNRESET,
+      Errno::EHOSTUNREACH,
       Errno::EINVAL,
+      Net::OpenTimeout,
       Net::ProtocolError,
+      Net::ReadTimeout,
+      OpenSSL::OpenSSLError,
+      OpenSSL::SSL::SSLError,
+      SocketError,
       Timeout::Error
     ].freeze
 
.rubocop.yml
@@ -5,7 +5,7 @@ AllCops:
     - 'test/**/*'
     - 'tmp/**/*'
     - 'vendor/**/*'
-  TargetRubyVersion: 2.6
+  TargetRubyVersion: 2.4
 
 Layout/AlignParameters:
   EnforcedStyle: with_fixed_indentation
CHANGELOG.md
@@ -1,4 +1,5 @@
-Version 0.2.6
+Version 0.2.7
+
 # Changelog
 All notable changes to this project will be documented in this file.
 
@@ -6,6 +7,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
 ## [Unreleased]
+- nil
+
+## [0.2.7] - 2019-10-04
+### Added
+- add additional connection errors
+
+### Changed
+- specify ruby 2.4 and minimum required.
 
 ## [0.2.6] - 2019-04-30
 ### Added
@@ -32,7 +41,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 - with\_retry.https://www.mokhan.ca/%F0%9F%92%8E/2018/11/10/net-hippie-0-2-0.html
 - authorization header helpers
 
-[Unreleased]: https://github.com/mokhan/net-hippie/compare/v0.2.6...HEAD
+[Unreleased]: https://github.com/mokhan/net-hippie/compare/v0.2.7...HEAD
+[0.2.7]: https://github.com/mokhan/net-hippie/compare/v0.2.6...v0.2.7
 [0.2.6]: https://github.com/mokhan/net-hippie/compare/v0.2.5...v0.2.6
 [0.2.5]: https://github.com/mokhan/net-hippie/compare/v0.2.4...v0.2.5
 [0.2.4]: https://github.com/mokhan/net-hippie/compare/v0.2.3...v0.2.4
net-hippie.gemspec
@@ -21,6 +21,7 @@ Gem::Specification.new do |spec|
   spec.bindir        = 'exe'
   spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
   spec.require_paths = ['lib']
+  spec.required_ruby_version = '~> 2.4'
 
   spec.add_development_dependency 'minitest', '~> 5.0'
   spec.add_development_dependency 'rake', '~> 10.0'