jsonapi_errors_handler 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: be0edf1d16a4261957124f01fcca46348e2d06ee0e8209e8d11be95123ba02e4
|
|
4
|
+
data.tar.gz: ac6b06af16682956832c0fc22fc4a507d169f21e5347e671ba554b18292a03d8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a7de58a83c26c50895fa89f2ec5205986f675e97f198aacd4099cc52c7881428ed8e88af6e5b7d6ca44a15ffcb2dda4b014880c504026f4ac376de27329167dc
|
|
7
|
+
data.tar.gz: 1d085d33cf7c34387d5c0a24cce39b12f4a47f8e134eb91f2d8f7a044451eca1c0f95d318f35934b3fb6a2131600c9f781f68d104cd05766ebc4ae1ed1190cd3
|
data/Gemfile.lock
CHANGED
|
@@ -13,7 +13,7 @@ module JsonapiErrorsHandler
|
|
|
13
13
|
@source = KeysStringifier.call(source)
|
|
14
14
|
end
|
|
15
15
|
|
|
16
|
-
def
|
|
16
|
+
def serializable_hash
|
|
17
17
|
{
|
|
18
18
|
status: status,
|
|
19
19
|
title: title,
|
|
@@ -22,12 +22,12 @@ module JsonapiErrorsHandler
|
|
|
22
22
|
}
|
|
23
23
|
end
|
|
24
24
|
|
|
25
|
-
def
|
|
26
|
-
|
|
25
|
+
def to_h
|
|
26
|
+
serializable_hash
|
|
27
27
|
end
|
|
28
28
|
|
|
29
29
|
def to_s
|
|
30
|
-
|
|
30
|
+
serializable_hash.to_s
|
|
31
31
|
end
|
|
32
32
|
|
|
33
33
|
attr_reader :title, :detail, :status, :source
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jsonapi_errors_handler
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sebastian Wilgosz
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-05-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -109,8 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
109
109
|
- !ruby/object:Gem::Version
|
|
110
110
|
version: '0'
|
|
111
111
|
requirements: []
|
|
112
|
-
|
|
113
|
-
rubygems_version: 2.7.8
|
|
112
|
+
rubygems_version: 3.0.3
|
|
114
113
|
signing_key:
|
|
115
114
|
specification_version: 4
|
|
116
115
|
summary: A JSON API error handler for ruby applications.
|