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 +4 -4
- data/Gemfile.lock +1 -1
- data/changelog.txt +5 -0
- data/excon.gemspec +1 -1
- data/lib/excon/constants.rb +1 -1
- data/lib/excon/error.rb +13 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ad86c2bc0fbc1b875364cddb935c775c4d338ee
|
4
|
+
data.tar.gz: b227030c3ce5cf131e2ec703b409a44acf468990
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f111143f3c135480fdb73446451366508cb96495ff7914ccd9ef227143637f3c4c3273caabb3a59f593a4c72c0a0951b5adafb03c2c25131e44c1088807c8c73
|
7
|
+
data.tar.gz: cc064575f70baa1b4acbd6ccff381a493dd50cfbada4a86158c128d8a8a690ea75869a0c8f11c246061b8f182bf5374d04dbec437558379a388e97fbec53777a
|
data/Gemfile.lock
CHANGED
data/changelog.txt
CHANGED
data/excon.gemspec
CHANGED
@@ -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.
|
16
|
+
s.version = '0.50.1'
|
17
17
|
s.date = '2016-06-28'
|
18
18
|
s.rubyforge_project = 'excon'
|
19
19
|
|
data/lib/excon/constants.rb
CHANGED
data/lib/excon/error.rb
CHANGED
@@ -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
|
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
|
|