net_http_timeout_errors 0.2.0 → 0.3.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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 5755898c0f5ad7fb82be287d9e3202331b8430ed
4
+ data.tar.gz: d58cc469f759877c254382581518cb324850daf5
5
+ SHA512:
6
+ metadata.gz: d82c57df1be1a590911fe855e96325c5de492c8c5fcdcae9ddd7c2cfd09aab7c06f4cafdc61b25b151870a4c0e2683d87a5b8eb2d9f78ab2897e62be60e780ae
7
+ data.tar.gz: 820f4d894fb13e542a10850bc91eeee3cb79771fd5c4cce88aece31d490c885ddd8a7bafabb6861d74bf84f040d27020441248d301750dcf61f9f1184eed11bb
data/README.md CHANGED
@@ -48,6 +48,12 @@ Or install it yourself as:
48
48
  $ gem install net_http_timeout_errors
49
49
 
50
50
 
51
+ ## Also see
52
+
53
+ There is also [net_http_exception_fix](https://github.com/edward/net_http_exception_fix) which cleverly tags these exceptions with a `Net::HTTPBroken` module that you can rescue.
54
+
55
+ You may prefer about *this* library that it very explicitly raises a single exception. The tagged exceptions are less obviously the same.
56
+
51
57
  ## License
52
58
 
53
59
  Copyright (c) 2012 [Barsoom AB](http://barsoom.se)
@@ -17,6 +17,7 @@ class NetHttpTimeoutErrors
17
17
  Errno::ECONNRESET,
18
18
  Errno::EHOSTUNREACH,
19
19
  Errno::EINVAL,
20
+ Errno::ENETUNREACH,
20
21
  Errno::EPIPE,
21
22
  Errno::ETIMEDOUT,
22
23
  Net::HTTPBadResponse,
@@ -1,3 +1,3 @@
1
1
  class NetHttpTimeoutErrors
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: net_http_timeout_errors
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
5
- prerelease:
4
+ version: 0.3.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Henrik Nyh
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-26 00:00:00.000000000 Z
11
+ date: 2014-09-22 00:00:00.000000000 Z
13
12
  dependencies: []
14
13
  description:
15
14
  email:
@@ -18,7 +17,7 @@ executables: []
18
17
  extensions: []
19
18
  extra_rdoc_files: []
20
19
  files:
21
- - .gitignore
20
+ - ".gitignore"
22
21
  - Gemfile
23
22
  - README.md
24
23
  - Rakefile
@@ -28,28 +27,26 @@ files:
28
27
  - spec/net_http_timeout_errors_spec.rb
29
28
  homepage: https://github.com/barsoom/net_http_timeout_errors
30
29
  licenses: []
30
+ metadata: {}
31
31
  post_install_message:
32
32
  rdoc_options: []
33
33
  require_paths:
34
34
  - lib
35
35
  required_ruby_version: !ruby/object:Gem::Requirement
36
- none: false
37
36
  requirements:
38
- - - ! '>='
37
+ - - ">="
39
38
  - !ruby/object:Gem::Version
40
39
  version: '0'
41
40
  required_rubygems_version: !ruby/object:Gem::Requirement
42
- none: false
43
41
  requirements:
44
- - - ! '>='
42
+ - - ">="
45
43
  - !ruby/object:Gem::Version
46
44
  version: '0'
47
45
  requirements: []
48
46
  rubyforge_project:
49
- rubygems_version: 1.8.5
47
+ rubygems_version: 2.2.2
50
48
  signing_key:
51
- specification_version: 3
49
+ specification_version: 4
52
50
  summary: Provides a list of Net::HTTP timeout errors.
53
51
  test_files:
54
52
  - spec/net_http_timeout_errors_spec.rb
55
- has_rdoc: