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 +4 -4
- data/.github/workflows/test.yml +15 -0
- data/.rubocop.yml +1 -1
- data/CHANGELOG.md +12 -2
- data/lib/net/hippie.rb +8 -0
- data/lib/net/hippie/version.rb +1 -1
- data/net-hippie.gemspec +1 -0
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b63d2a05869a5001eae9742dd541758c1465910d89a020191bb62154072b061
|
4
|
+
data.tar.gz: 14f48d83d06460cd29678feb60ab3b1dae449e14f5a6ec16c0b0db6da8c88308
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8560ccd11f0a1937fd0366998ba244955d8d714c9c35b93f1679b5cc9fca0e8024a3ec082d3d10fc22887be237a35d20cbccc288ce1e41b072186a4750749dc9
|
7
|
+
data.tar.gz: bbfeed6ab2eaad247f4b2bdb5c76884aae1230f961bad6f4519c73389aeb76b09866f11d0479964488628719872bb3ad488fa7ed2861dbc823ccc6ed0ee77c19
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
Version 0.2.
|
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.
|
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
|
data/lib/net/hippie.rb
CHANGED
@@ -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
|
|
data/lib/net/hippie/version.rb
CHANGED
data/net-hippie.gemspec
CHANGED
@@ -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.
|
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-
|
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: '
|
126
|
+
version: '2.4'
|
126
127
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
127
128
|
requirements:
|
128
129
|
- - ">="
|