excon 0.50.0 → 0.50.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of excon might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f4529310064351a937a923bd4646e9536bd15dbe
4
- data.tar.gz: 9ea9272d5b6a422c3db7ad3f85282e22602b9ae2
3
+ metadata.gz: 8ad86c2bc0fbc1b875364cddb935c775c4d338ee
4
+ data.tar.gz: b227030c3ce5cf131e2ec703b409a44acf468990
5
5
  SHA512:
6
- metadata.gz: 09c72ff2ccee1a9bd2883decdac30a605b24778f00cf0ed424c66ed9e9bc85f2559a63b155f7ff7ec6f451c3a202f4a888d220a5b1a8592419e014e0ce940062
7
- data.tar.gz: fc1fc81770caedf92ebe72f883a9934597955e90ba6ac4649b371d5d638aa3e2b0670d3b508fa2ba8180a24312f2e57bc239f7852df65d19123cc2e4bd6cefaf
6
+ metadata.gz: f111143f3c135480fdb73446451366508cb96495ff7914ccd9ef227143637f3c4c3273caabb3a59f593a4c72c0a0951b5adafb03c2c25131e44c1088807c8c73
7
+ data.tar.gz: cc064575f70baa1b4acbd6ccff381a493dd50cfbada4a86158c128d8a8a690ea75869a0c8f11c246061b8f182bf5374d04dbec437558379a388e97fbec53777a
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- excon (0.50.0)
4
+ excon (0.50.1)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -1,3 +1,8 @@
1
+ 0.50.1 06/28/2016
2
+ =================
3
+
4
+ re-add some missing errors from refactoring
5
+
1
6
  0.50.0 06/28/2016
2
7
  =================
3
8
 
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
13
13
  ## If your rubyforge_project name is different, then edit it and comment out
14
14
  ## the sub! line in the Rakefile
15
15
  s.name = 'excon'
16
- s.version = '0.50.0'
16
+ s.version = '0.50.1'
17
17
  s.date = '2016-06-28'
18
18
  s.rubyforge_project = 'excon'
19
19
 
@@ -1,6 +1,6 @@
1
1
  module Excon
2
2
 
3
- VERSION = '0.50.0'
3
+ VERSION = '0.50.1'
4
4
 
5
5
  CR_NL = "\r\n"
6
6
 
@@ -103,7 +103,7 @@ or:
103
103
  class ExpectationFailed < Client; end # 417
104
104
  class UnprocessableEntity < Client; end # 422
105
105
  class TooManyRequests < Client; end # 429
106
- class InternalServer < Server; end # 500
106
+ class InternalServerError < Server; end # 500
107
107
  class NotImplemented < Server; end # 501
108
108
  class BadGateway < Server; end # 502
109
109
  class ServiceUnavailable < Server; end # 503
@@ -140,7 +140,18 @@ or:
140
140
  410 => [Excon::Error::Gone, 'Gone'],
141
141
  411 => [Excon::Error::LengthRequired, 'Length Required'],
142
142
  412 => [Excon::Error::PreconditionFailed, 'Precondition Failed'],
143
- 413 => [Excon::Error::RequestEntityTooLarge, 'Request Entity Too Large']
143
+ 413 => [Excon::Error::RequestEntityTooLarge, 'Request Entity Too Large'],
144
+ 414 => [Excon::Error::RequestURITooLong, 'Request-URI Too Long'],
145
+ 415 => [Excon::Error::UnsupportedMediaType, 'Unsupported Media Type'],
146
+ 416 => [Excon::Error::RequestedRangeNotSatisfiable, 'Request Range Not Satisfiable'],
147
+ 417 => [Excon::Error::ExpectationFailed, 'Expectation Failed'],
148
+ 422 => [Excon::Error::UnprocessableEntity, 'Unprocessable Entity'],
149
+ 429 => [Excon::Error::TooManyRequests, 'Too Many Requests'],
150
+ 500 => [Excon::Error::InternalServerError, 'InternalServerError'],
151
+ 501 => [Excon::Error::NotImplemented, 'Not Implemented'],
152
+ 502 => [Excon::Error::BadGateway, 'Bad Gateway'],
153
+ 503 => [Excon::Error::ServiceUnavailable, 'Service Unavailable'],
154
+ 504 => [Excon::Error::GatewayTimeout, 'Gateway Timeout']
144
155
  }
145
156
  end
146
157
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: excon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.50.0
4
+ version: 0.50.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - dpiddy (Dan Peterson)