copycopter_client 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,7 +12,8 @@ module CopycopterClient
12
12
  # These errors will be rescued when connecting Copycopter.
13
13
  HTTP_ERRORS = [Timeout::Error, Errno::EINVAL, Errno::ECONNRESET, EOFError,
14
14
  Net::HTTPBadResponse, Net::HTTPHeaderSyntaxError,
15
- Net::ProtocolError, SocketError]
15
+ Net::ProtocolError, SocketError, OpenSSL::SSL::SSLError,
16
+ Errno::ECONNREFUSED]
16
17
 
17
18
  # Usually instantiated from {Configuration#apply}. Copies options.
18
19
  # @param options [Hash]
@@ -1,6 +1,6 @@
1
1
  module CopycopterClient
2
2
  # Client version
3
- VERSION = "1.1.0"
3
+ VERSION = "1.1.1"
4
4
 
5
5
  # API version being used to communicate with the server
6
6
  API_VERSION = "2.0".freeze
@@ -65,7 +65,9 @@ describe CopycopterClient do
65
65
  Net::HTTPBadResponse.new,
66
66
  Net::HTTPHeaderSyntaxError.new,
67
67
  Net::ProtocolError.new,
68
- SocketError.new
68
+ SocketError.new,
69
+ OpenSSL::SSL::SSLError.new,
70
+ Errno::ECONNREFUSED.new
69
71
  ]
70
72
 
71
73
  errors.each do |original_error|
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: copycopter_client
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 0
10
- version: 1.1.0
9
+ - 1
10
+ version: 1.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - thoughtbot
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-09 00:00:00 -04:00
18
+ date: 2011-09-16 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency