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: 443fa61e860c02f25ab46b46c4fb64501ac5803ceeae7f91f9b54cbca6ed1f20
4
- data.tar.gz: 9037027fbab63c106389c05a684ecac299911ff453e949e96c2690057d5ee6e2
3
+ metadata.gz: ee23e479e078fedcccd130035a807e95274f04124975efd5908969ac3c3a9f92
4
+ data.tar.gz: 62fc42b61cf428b224c7d1168d21a822788930341fdbfe638f9b9d3cfad93c50
5
5
  SHA512:
6
- metadata.gz: ad0ab1afa00e88936c4d4550c8c177181911a8f4bfc7dbee239ad94efbae3fc415f7fb29bece5497354d86f1fa3480e3e0f3e5ed5cd0a4b0919565ce5749df98
7
- data.tar.gz: 20d11e423d1bba773013b31b0a3f12a442a79e28a20e619b1d3f3c94b23b86cb8e47f38ea7ac57781e19fad3abd99ead2612827616d43a20a47489c9dd26cf29
6
+ metadata.gz: f6ceb132f8d9a6c94b99d95e0ea1cd61061102b8b9996a32e6c86fa96c9efdebfe57573fc140149a09949cb974f402d950e1dd0f2ca5e1745f13dc43292fcdf8
7
+ data.tar.gz: 918ed040cf64c00d9dc5773862f53ae962987e31093a6889d383378bd40edf213208467a7245fa1faa31e0cf05ad98ab51d61834cfe10b7b2b755af736c48dce
@@ -1,6 +1,6 @@
1
1
  class Api::V2::ApplicationController < ActionController::API
2
- # For the DSL part
3
- # include ActiveHashRelation
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
@@ -1,7 +1,6 @@
1
1
  require "schema_based_api/engine"
2
2
 
3
- require 'thecore_auth_commons'
4
- # require 'active_hash_relation'
3
+ require 'thecore_backend_commons'
5
4
  require 'rack/cors'
6
5
  require 'ransack'
7
6
  require 'json_web_token'
@@ -1,3 +1,3 @@
1
1
  module SchemaBasedApi
2
- VERSION = '2.1.19'
2
+ VERSION = '2.2.1'
3
3
  end
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.19
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: thecore_auth_commons
14
+ name: thecore_backend_commons
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"