appfuel 0.5.3 → 0.5.4

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: bccec5e07ac5df9b023b7b6df825ec5267a54f3b
4
- data.tar.gz: 263e81d457c6e413467e228ac4d47d5e97e3be97
3
+ metadata.gz: c666c08d318ae6f0c3f37565e28d53c599b5a13d
4
+ data.tar.gz: 99c1283b2377043c0c756bc788c7e059d3daf8a3
5
5
  SHA512:
6
- metadata.gz: 299cdbec29d85211e5cf4a54609ed4af6bdb90a18846c7626bf537c630d22a4dfcfb7a9318000f3ac6b017545c71a8bd257f5f7bc4792639e152e2b67b024004
7
- data.tar.gz: 9c7c6e7a4e8281a3dedc20ccbc7f5934a3f75614b9986f1a2fb5f9297421d776ec6f01f4fd431e33cd5c4ec642876a831342d4353fe758f9261216ff054f8afe
6
+ metadata.gz: 12c863e5fafdd593134c0f07e7c225d30ce1d7ea086da11237c9c85124fb9afa729152f67d098649aa6d8ca3438a41fc12d6681f8ff1f45677d2233a782421d2
7
+ data.tar.gz: fd78a0db23db3e93788d807c33f882f60164ac152778088248d3b2cd49ad0e2a420ec085178f1d0ab1873ab20a9819ed2a6ec991339d55fac829a7b881c3ec86
data/CHANGELOG.md CHANGED
@@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. (Pending ap
5
5
 
6
6
 
7
7
  # Releases
8
- ## [[0.5.2]] (https://github.com/rsb/appfuel/releases/tag/0.5.3) 2017-07-10
8
+ ## [[0.5.4]] (https://github.com/rsb/appfuel/releases/tag/0.5.4) 2017-07-11
9
+ ### Fixed
10
+ - Fixed error key usage in response handler
11
+
12
+ ## [[0.5.3]] (https://github.com/rsb/appfuel/releases/tag/0.5.3) 2017-07-10
9
13
  ### Fixed
10
14
  - response object not working when `ok` key is a string
11
15
 
@@ -33,7 +33,7 @@ module Appfuel
33
33
  when data.kind_of?(::StandardError) || data.is_a?(Errors)
34
34
  true
35
35
  when data.is_a?(Hash)
36
- data.key?(:errors)
36
+ response_class.error_key?(data)
37
37
  else
38
38
  false
39
39
  end
@@ -1,3 +1,3 @@
1
1
  module Appfuel
2
- VERSION = "0.5.3"
2
+ VERSION = "0.5.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appfuel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Scott-Buccleuch
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-07-10 00:00:00.000000000 Z
11
+ date: 2017-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord