dry_serialization 0.4.3 → 0.4.3.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: 90a445b57058169cbfcbc1320111c29db630285f4cdb2b2d8677dc6bf40efdd4
4
- data.tar.gz: f96c09045f95e6b9d28bbc08a8c6ffc79f1c9026301c85e062fb97fcd0b5bbbd
3
+ metadata.gz: 1c9d8e673079e48d49d858e5b8c951a85be6c6307e364635f6b95728bdb4eab8
4
+ data.tar.gz: e277c09f5bab9d9ecf1f5f52a6c8c386e1f075663b88d7ab55fad48742e2353b
5
5
  SHA512:
6
- metadata.gz: cb606bc1c012bbb4d0963cfc5df3ed4997da217bb8c7e49264261b89db7853f0811cafef908a8d2b61acb29d3e6bba568b504d11b217ac92d0999d1f5c2b8da0
7
- data.tar.gz: 970b00e53f7306ef07f5ec563499c8de15a83d7feee525dec520531be0b125ec474b782c32785f5378a90e56bfdbe437a66eba88a26bd3b8389e5a3ff9f7e0f0
6
+ metadata.gz: f9e73c35976f275645dedd95364844ad2a5cff7b5a9a62e4e5c27b20bacb9cb3404cc105c1e96d6c08c7b48a34b96b001de62c5e7b8b61086061efc662d46a78
7
+ data.tar.gz: 445d722bd9618fccac0eb9a6cf7d082287831bc8881a18a29570f0cde980c5fae9c729bfde8470e7694298e26dd65c26ced71bb9ac5b715f4b89053186bca75c
@@ -9,7 +9,7 @@ module DrySerialization
9
9
  errors = [errors] unless errors.is_a?(Array)
10
10
  errors = handle_errors(errors)
11
11
 
12
- render json: errors, status: status
12
+ render json: { errors: errors }, status: status
13
13
  end
14
14
 
15
15
  private
@@ -1,3 +1,3 @@
1
1
  module DrySerialization
2
- VERSION = "0.4.3"
2
+ VERSION = "0.4.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry_serialization
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Heft