net-hippie 0.2.6 → 0.2.7

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: 5d1f9e15a11440c2c2468f74058b5149f192e4ad06ae6294611fb5338e647773
4
- data.tar.gz: a4d57905ab58bff0f00749087204dfd310e68a3b5089c29a0848e496a1c21bd8
3
+ metadata.gz: 2b63d2a05869a5001eae9742dd541758c1465910d89a020191bb62154072b061
4
+ data.tar.gz: 14f48d83d06460cd29678feb60ab3b1dae449e14f5a6ec16c0b0db6da8c88308
5
5
  SHA512:
6
- metadata.gz: 6f097e0155295f4b1a8db79f355660a00f85567e01fea8b12b31ea054da73122428f79b1be4f43e7b112814251ffc1be897c143cc205f98c92bb5a8cec422922
7
- data.tar.gz: b93b6026fc81629f532f64b52e4fbb694a553e275affb4514e336e087fee71a429325012e4bcba258a8d73f16063011a6dfcc9453b3e47dda9ab35ea96895eeb
6
+ metadata.gz: 8560ccd11f0a1937fd0366998ba244955d8d714c9c35b93f1679b5cc9fca0e8024a3ec082d3d10fc22887be237a35d20cbccc288ce1e41b072186a4750749dc9
7
+ data.tar.gz: bbfeed6ab2eaad247f4b2bdb5c76884aae1230f961bad6f4519c73389aeb76b09866f11d0479964488628719872bb3ad488fa7ed2861dbc823ccc6ed0ee77c19
@@ -0,0 +1,15 @@
1
+ name: Test
2
+
3
+ on: [push, pull_request]
4
+
5
+ jobs:
6
+ test:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v1
10
+ - name: Set up Ruby
11
+ uses: actions/setup-ruby@v1
12
+ with:
13
+ version: 2.6.x
14
+ - name: Build and test
15
+ run: bin/cibuild
@@ -5,7 +5,7 @@ AllCops:
5
5
  - 'test/**/*'
6
6
  - 'tmp/**/*'
7
7
  - 'vendor/**/*'
8
- TargetRubyVersion: 2.6
8
+ TargetRubyVersion: 2.4
9
9
 
10
10
  Layout/AlignParameters:
11
11
  EnforcedStyle: with_fixed_indentation
@@ -1,4 +1,5 @@
1
- Version 0.2.6
1
+ Version 0.2.7
2
+
2
3
  # Changelog
3
4
  All notable changes to this project will be documented in this file.
4
5
 
@@ -6,6 +7,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
7
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
8
 
8
9
  ## [Unreleased]
10
+ - nil
11
+
12
+ ## [0.2.7] - 2019-10-04
13
+ ### Added
14
+ - add additional connection errors
15
+
16
+ ### Changed
17
+ - specify ruby 2.4 and minimum required.
9
18
 
10
19
  ## [0.2.6] - 2019-04-30
11
20
  ### Added
@@ -32,7 +41,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
32
41
  - with\_retry.https://www.mokhan.ca/%F0%9F%92%8E/2018/11/10/net-hippie-0-2-0.html
33
42
  - authorization header helpers
34
43
 
35
- [Unreleased]: https://github.com/mokhan/net-hippie/compare/v0.2.6...HEAD
44
+ [Unreleased]: https://github.com/mokhan/net-hippie/compare/v0.2.7...HEAD
45
+ [0.2.7]: https://github.com/mokhan/net-hippie/compare/v0.2.6...v0.2.7
36
46
  [0.2.6]: https://github.com/mokhan/net-hippie/compare/v0.2.5...v0.2.6
37
47
  [0.2.5]: https://github.com/mokhan/net-hippie/compare/v0.2.4...v0.2.5
38
48
  [0.2.4]: https://github.com/mokhan/net-hippie/compare/v0.2.3...v0.2.4
@@ -16,9 +16,17 @@ module Net
16
16
  module Hippie
17
17
  CONNECTION_ERRORS = [
18
18
  EOFError,
19
+ Errno::ECONNREFUSED,
19
20
  Errno::ECONNRESET,
21
+ Errno::ECONNRESET,
22
+ Errno::EHOSTUNREACH,
20
23
  Errno::EINVAL,
24
+ Net::OpenTimeout,
21
25
  Net::ProtocolError,
26
+ Net::ReadTimeout,
27
+ OpenSSL::OpenSSLError,
28
+ OpenSSL::SSL::SSLError,
29
+ SocketError,
22
30
  Timeout::Error
23
31
  ].freeze
24
32
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Net
4
4
  module Hippie
5
- VERSION = '0.2.6'
5
+ VERSION = '0.2.7'
6
6
  end
7
7
  end
@@ -21,6 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.bindir = 'exe'
22
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
23
  spec.require_paths = ['lib']
24
+ spec.required_ruby_version = '~> 2.4'
24
25
 
25
26
  spec.add_development_dependency 'minitest', '~> 5.0'
26
27
  spec.add_development_dependency 'rake', '~> 10.0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: net-hippie
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - mo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-04-30 00:00:00.000000000 Z
11
+ date: 2019-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -88,6 +88,7 @@ executables:
88
88
  extensions: []
89
89
  extra_rdoc_files: []
90
90
  files:
91
+ - ".github/workflows/test.yml"
91
92
  - ".gitignore"
92
93
  - ".gitlab-ci.yml"
93
94
  - ".rubocop.yml"
@@ -120,9 +121,9 @@ require_paths:
120
121
  - lib
121
122
  required_ruby_version: !ruby/object:Gem::Requirement
122
123
  requirements:
123
- - - ">="
124
+ - - "~>"
124
125
  - !ruby/object:Gem::Version
125
- version: '0'
126
+ version: '2.4'
126
127
  required_rubygems_version: !ruby/object:Gem::Requirement
127
128
  requirements:
128
129
  - - ">="