api_client 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,16 +1,17 @@
1
1
  module ApiClient
2
2
 
3
3
  module Errors
4
- class ConnectionFailed < Exception; end
5
- class Config < Exception; end
6
- class Unauthorized < Exception; end
7
- class Forbidden < Exception; end
8
- class NotFound < Exception; end
9
- class Redirect < Exception; end
10
- class BadRequest < Exception; end
11
- class Unsupported < Exception; end
12
- class ServerError < Exception; end
13
- class UnprocessableEntity < Exception; end
4
+ class ApiClientError < StandardError; end
5
+ class ConnectionFailed < ApiClientError; end
6
+ class Config < ApiClientError; end
7
+ class Unauthorized < ApiClientError; end
8
+ class Forbidden < ApiClientError; end
9
+ class NotFound < ApiClientError; end
10
+ class Redirect < ApiClientError; end
11
+ class BadRequest < ApiClientError; end
12
+ class Unsupported < ApiClientError; end
13
+ class ServerError < ApiClientError; end
14
+ class UnprocessableEntity < ApiClientError; end
14
15
  end
15
16
 
16
17
  end
@@ -1,3 +1,3 @@
1
1
  module ApiClient
2
- VERSION = "0.4.2"
2
+ VERSION = "0.4.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-20 00:00:00.000000000 Z
12
+ date: 2013-07-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: yajl-ruby