schema_based_api 2.1.19 → 2.2.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee23e479e078fedcccd130035a807e95274f04124975efd5908969ac3c3a9f92
|
4
|
+
data.tar.gz: 62fc42b61cf428b224c7d1168d21a822788930341fdbfe638f9b9d3cfad93c50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6ceb132f8d9a6c94b99d95e0ea1cd61061102b8b9996a32e6c86fa96c9efdebfe57573fc140149a09949cb974f402d950e1dd0f2ca5e1745f13dc43292fcdf8
|
7
|
+
data.tar.gz: 918ed040cf64c00d9dc5773862f53ae962987e31093a6889d383378bd40edf213208467a7245fa1faa31e0cf05ad98ab51d61834cfe10b7b2b755af736c48dce
|
@@ -1,6 +1,6 @@
|
|
1
1
|
class Api::V2::ApplicationController < ActionController::API
|
2
|
-
#
|
3
|
-
|
2
|
+
# Detect Locale from Accept-Language headers
|
3
|
+
include HttpAcceptLanguage::AutoLocale
|
4
4
|
# Actions will be authorized directly in the action
|
5
5
|
include CanCan::ControllerAdditions
|
6
6
|
include ::ApiExceptionManagement
|
data/lib/schema_based_api.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: schema_based_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriele Tassoni
|
@@ -11,7 +11,7 @@ cert_chain: []
|
|
11
11
|
date: 2020-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: thecore_backend_commons
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|