shark-on-lambda 1.0.0 → 1.0.1

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
  SHA256:
3
- metadata.gz: e858c687476151fddf9bc5d464c7845f09680b389fe2a31fe2d72f21c7d2403d
4
- data.tar.gz: 4fb28a197425d9f26c28fe4c807d0548add701b8b2cea902987c1244c0ac1318
3
+ metadata.gz: e65d5fd63a3fe9849667d0a023286a7ec8b4c78e868d3576dfd8c229d627e7d1
4
+ data.tar.gz: c30474a3ce2381caf7bf5e75e76d0ec441efef525554819ce1c6bc46e8cbec50
5
5
  SHA512:
6
- metadata.gz: 3a420db54811cc256092094caa222be976d525ffd0d0b64da5fe0640b0d98287894c114ca1d16c6f735132bfe59f0480f0191902a8c9bfef296bd3cb0c70ae81
7
- data.tar.gz: 4fbd6882b0dba434fc6781f3a831db2fddb10f38501d90008a09ce0ca1aa5e44294e34ba4f4ab4e103fb334e983531fef740f59d6fe868a3f28173b2079f169f
6
+ metadata.gz: 5c1ab8d3c7aedcd042dace73a1771a755fc3210e65a2a229591325e96902925f3b5aa5e6ee7efdde8890862a6059ba7be365d562f1a0f82216de10d7a495c42e
7
+ data.tar.gz: 34398cf95e10a12e576735a0f09ac4b269301d48d9f34ce441f0d8d232d812173ab001181f215f2ceea9012e60372c54b97c5653e407a719edf2fadf63ef3900
data/changelog.md CHANGED
@@ -1,5 +1,11 @@
1
1
  ## Changelog
2
2
 
3
+ #### Unreleased
4
+
5
+ #### 1.0.1
6
+
7
+ - [Fix] `Jsonapi::Renderer#render` should always return a hash.
8
+
3
9
  #### 1.0.0
4
10
 
5
11
  - [Break] HTTP redirection now uses the status code `302`.
@@ -20,9 +20,9 @@ module SharkOnLambda
20
20
  end
21
21
 
22
22
  if error?(object_to_render)
23
- render_errors(object_to_render, options).to_json
23
+ render_errors(object_to_render, options)
24
24
  else
25
- render_success(object_to_render, options).to_json
25
+ render_success(object_to_render, options)
26
26
  end
27
27
  end
28
28
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SharkOnLambda
4
- VERSION = '1.0.0'
4
+ VERSION = '1.0.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shark-on-lambda
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Huy Dinh