companies-house-gateway 0.3.7 → 0.3.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8de4c247cb4b2b9a86185fc80f1684a4368022ef
4
- data.tar.gz: 2db51ba62069295a28859ce02a3cd3742bf321ed
3
+ metadata.gz: eb22bf86516a59484848d7135af1f4488cebc40b
4
+ data.tar.gz: c29fe125e8f41a92b697f718362617844110cc83
5
5
  SHA512:
6
- metadata.gz: f2cf8ed3854a12a3af8295a5ad088b273dc08f4cde57fa5a5a8b18390d351c5ed3a6de156357ea3f2b8c825c823e9aa5012ee61ac1bcd25dbc6489e526372d96
7
- data.tar.gz: e6999255d049a487a906724451471b268ff9dea909bab482783da476f7d5d81789448d78a9ddc47b8b5491f48ce47f57cd6da180e2da4fed6042e3f36d12bc9f
6
+ metadata.gz: 668189713d9d4dbb539ed7df196209fb9c051e07cee243e2a3278e3610208d3d2d1a2f2377d2890a0cb5880eb0a7eeaa9ffe94598118898dfff9274ebab99ea5
7
+ data.tar.gz: 623ad1073c6831b13dceb99b03825f0f20ec2124164055d888ba2095acabfa8a5fc06d750b45171de946cf57886eccb8013d44e072241545deeec12367ed4eab
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.3.8 - April 8, 2014
2
+
3
+ - Allow API errors without a message
4
+
1
5
  ## 0.3.7 - April 7, 2014
2
6
 
3
7
  - Catch Faraday errors without a response
@@ -2,7 +2,7 @@ module CompaniesHouseGateway
2
2
  class APIError < CompaniesHouseGatewayError
3
3
  attr_accessor :error_code
4
4
 
5
- def initialize(message, error_code=nil, status=nil, response_body=nil)
5
+ def initialize(message=nil, error_code=nil, status=nil, response_body=nil)
6
6
  super(message, status, response_body)
7
7
  @error_code = error_code
8
8
  end
@@ -1,3 +1,3 @@
1
1
  module CompaniesHouseGateway
2
- VERSION = '0.3.7'.freeze
2
+ VERSION = '0.3.8'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: companies-house-gateway
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grey Baker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-07 00:00:00.000000000 Z
11
+ date: 2014-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday