easypost 2.1.2 → 2.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +5 -0
  3. data/VERSION +1 -1
  4. data/lib/easypost/error.rb +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ffecde59165d8726bc3c8df04460ace5510db641
4
- data.tar.gz: 305d583c4003b61f47ac2d9a98fc1d562c40a988
3
+ metadata.gz: b30fd7e0120c21f8145e2ccea9536d09909383b2
4
+ data.tar.gz: c6349910d929dd9148d585b103d902d771e78c33
5
5
  SHA512:
6
- metadata.gz: 647172542d948f1a4d731b05033cb82ad42f71fae98448f88f353d6cb37cb5a45bd26119f0a31bbe396d6cd5c991f76bc84503a040c83c0111f3ceba1928be13
7
- data.tar.gz: 6ac4b06bd97be38e839bd9a346e51ab3adfc072658516a4959256cbb2954a35bcd25cb6ffe607d71bfd77faaf78f4c967092bd52d85f82ba9302bc377e9f13d8
6
+ metadata.gz: 340ad016b0f85b18570faf9131c732139efc47325636ce4a54b96fdd73e6b3c285ef1be62aef311bbeefd143dc886d868780cbd6a3fe8c962c28ef8578f024bb
7
+ data.tar.gz: e88f8d45fdb15c63adbcd1e6ba1a2dd2af32905f863feef3d400e30c6604a20d3a656716fec70fcef3e78683c4a079b5fc64e850a9d1dbc32176e4dd619eec2a
data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ === 2.1.3 2015-04-30
2
+
3
+ * Bux fix, EasyPost::Errors no longer break with a nil json body.
4
+
5
+
1
6
  === 2.1.2 2015-04-29
2
7
 
3
8
  * EasyPost::Errors now correctly parse field errors and error codes.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.1.2
1
+ 2.1.3
@@ -8,7 +8,7 @@ module EasyPost
8
8
  attr_reader :code
9
9
  attr_reader :errors
10
10
 
11
- def initialize(message=nil, http_status=nil, http_body=nil, json_body=nil)
11
+ def initialize(message=nil, http_status=nil, http_body=nil, json_body={})
12
12
  @message = message
13
13
  @http_status = http_status
14
14
  @http_body = http_body
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easypost
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sawyer Bateman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-29 00:00:00.000000000 Z
11
+ date: 2015-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client