appfuel 0.6.8 → 0.6.9

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: 8dfc00f1bf43aec22e95adb900287e7e46286cea
4
- data.tar.gz: 2813bee81df4689b29210899180f549d88241938
3
+ metadata.gz: 96393eedf551347652df172f5210cbeda81ff7c6
4
+ data.tar.gz: 6f40b8f60d923a6c781d60bea5cd6f7339b352a7
5
5
  SHA512:
6
- metadata.gz: fe93985a831ebedf4e84f0beec00fdb18988ed40689445d88bd20d372f179870e4a862ff7797a4cf5970e61e5a11f6411e681b704f869bce60699d0484c50440
7
- data.tar.gz: 3badaed6e0f1b6ab2a11998151d2b2c2c3a6213edd7c5231e8a5c6f1199dae8b60a911c5d971a652aad79679b86aacef7fcc0f578982729dbe9511036c7a46ce
6
+ metadata.gz: 0881078fe5377a38ece0400cf584a6a4d4a41c380c1971d52a321fdda4910d7d883b1f6088854d70482e8dd902fc4d38e047983d121a2be4fa83a358eb475641
7
+ data.tar.gz: 40998d159dc2dcc7bb3344999b5bc770c9d44c486b3e32e2a3e643debe34299135c5fea3b6e5c482ddbaf5345f9e5d5cf111e736a5c0b04d17264f6f26573a4d
data/CHANGELOG.md CHANGED
@@ -5,6 +5,9 @@ All notable changes to this project will be documented in this file. (Pending ap
5
5
 
6
6
 
7
7
  # Releases
8
+ ## [[0.6.9]](https://github.com/rsb/appfuel/releases/tag/0.6.7) 2017-09-12
9
+ - `web_api` fix content_type check for json
10
+
8
11
  ## [[0.6.8]](https://github.com/rsb/appfuel/releases/tag/0.6.7) 2017-08-24
9
12
  ### Fixed
10
13
  - `batch_get` typo fixed in dynamodb params requested_items to request_items
@@ -173,7 +173,6 @@ module Appfuel
173
173
  params = batch_get_params(ids)
174
174
  result = client.batch_get_item(params)
175
175
 
176
-
177
176
  unless result.responses.key?(table_key)
178
177
  fail "db table name #{table_key} is not correct"
179
178
  end
@@ -75,9 +75,8 @@ module Appfuel
75
75
  end
76
76
 
77
77
  def handle_response(response, headers = {})
78
- if content_type == :json || headers[:content_type] == :json
78
+ if content_type == :json && headers[:content_type] == :json
79
79
  data = response.body
80
-
81
80
  return data.empty? ? {} : json(response.body)
82
81
  end
83
82
 
@@ -1,3 +1,3 @@
1
1
  module Appfuel
2
- VERSION = "0.6.8"
2
+ VERSION = "0.6.9"
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.6.8
4
+ version: 0.6.9
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-08-24 00:00:00.000000000 Z
11
+ date: 2017-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -395,7 +395,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
395
395
  version: '0'
396
396
  requirements: []
397
397
  rubyforge_project:
398
- rubygems_version: 2.4.5
398
+ rubygems_version: 2.6.13
399
399
  signing_key:
400
400
  specification_version: 4
401
401
  summary: Appfuel decouples your business code from its API framework