json_api_responders 2.0.1 → 2.0.2

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: 53d22b0913ad77898aa01949c61d3c2ca5e6008b
4
- data.tar.gz: c524a460484a653ae19fcafd31bc1fb589b76833
3
+ metadata.gz: b60a50fdf2f25e998fede1a0427fb04bdb37c630
4
+ data.tar.gz: 3611346f4409eedbc1c9c521a8ce9a495cfaafda
5
5
  SHA512:
6
- metadata.gz: e72bb51b86b57aaec685ebef045ba27cfd58b0fcb8fb0a2d28c9edf5e56bbc0397652393464f4f61774def68a968fda86493097cfd37311c45feb7ef0da447e8
7
- data.tar.gz: 19a6aab5a8331cdd168f836d4b86028e0bb701045861fd6c42206342373f033ac571f9e536264529d5fa8fc65188ab04d7fc02cbca72c88b3f069604c41eb59d
6
+ metadata.gz: d27abc9d632fbd7844dd555e7b50093793d12f595e3a660a33aa3101e381d9ab6fe6b8bc5805a29b6c96ad2fe5de4329a93edfe5f8a6137ed1b376f56a06afb1
7
+ data.tar.gz: a3bf66eaf91447a813551b2c11579bd659d540e2e27e06106b0c8f8e6dacc45edab48a47b16001088574f44badd9b402b6a4cf8cb12628f3d5c63057d650ab5c
@@ -1,6 +1,6 @@
1
1
  module JsonApiResponders
2
2
  MAJOR = 2
3
3
  MINOR = 0
4
- PATCH = 1
4
+ PATCH = 2
5
5
  VERSION = [MAJOR, MINOR, PATCH].join('.').freeze
6
6
  end
@@ -14,7 +14,7 @@ module JsonApiResponders
14
14
  end
15
15
 
16
16
  def respond_with_error(status, detail = nil)
17
- Responder.new(self, on_error: { status: status, error: detail }).respond_error
17
+ Responder.new(self, nil, on_error: { status: status, detail: detail }).respond_error
18
18
  end
19
19
 
20
20
  def deserialized_params
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json_api_responders
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stanko Krtalić Rusendić