appfuel 0.5.15 → 0.5.16

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: c7dd127470787baf44c405782ccf35a64c242ce9
4
- data.tar.gz: 3d3b25b39850374c5533285e3c9193b266927539
3
+ metadata.gz: 331cd1aa71078ef100073a648bfac5eca51d638b
4
+ data.tar.gz: cde5c43a46185a1dd993ad96cb6bfa87a5be679d
5
5
  SHA512:
6
- metadata.gz: b4f782e4b651c7783a458bc6275e0a1dcb2726e8a0cb3cd19e7c7be4c11abf0a3b16cc35490a376150528e0e957b2f3c30e9734cd730e223777ace5bad5c709c
7
- data.tar.gz: fd4454e63190bc593c41b33951c133ec086870a4166a30f31f8dc5dd1797a55160e88606b8d827fe1983059c2fb7ac357983d5a89384aa0e9f7fa024e22d0501
6
+ metadata.gz: b0ae1714c7b54995a642ca34781797670f58967a6be934751a013e9665668a2c02817a9f81e95fe16011a5059be4ddbd6aae01117089b7136030cac23486485e
7
+ data.tar.gz: 72aca40e39055e98494a73b3c439840595f6dd6a8082bc21e90d55d45162e705f930407b5d6c9f4cdeb18a3566eaa90f8bfa49e04958dda875e4e15355519175
data/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. (Pending ap
5
5
 
6
6
 
7
7
  # Releases
8
+ ## [[0.5.16]](https://github.com/rsb/appfuel/releases/tag/0.5.16) 2017-08-08
9
+ ### Fixed
10
+ - response handler no longer has double error keys
11
+
8
12
  ## [[0.5.15]](https://github.com/rsb/appfuel/releases/tag/0.5.15) 2017-08-08
9
13
  ### Added
10
14
  - added url_token to base repo
@@ -15,7 +15,7 @@ module Appfuel
15
15
 
16
16
  def initialize(inputs = {})
17
17
  setup_attributes(inputs)
18
- enable_undefined
18
+ hide_undefined
19
19
  @is_global = domain_name.count('.') == 0
20
20
 
21
21
  rescue Dry::Types::ConstraintError => e
@@ -12,10 +12,12 @@ module Appfuel
12
12
  end
13
13
 
14
14
  if error_data?(data)
15
+ if data.is_a?(Hash)
16
+ data.symbolize_keys!
17
+ end
15
18
  return error(data)
16
19
  end
17
20
 
18
- # TODO normalize ok key symbol or string here
19
21
  ok(data)
20
22
  end
21
23
 
@@ -1,3 +1,3 @@
1
1
  module Appfuel
2
- VERSION = "0.5.15"
2
+ VERSION = "0.5.16"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appfuel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.15
4
+ version: 0.5.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Scott-Buccleuch