schema_based_api 2.2.1 → 2.2.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
  SHA256:
3
- metadata.gz: ee23e479e078fedcccd130035a807e95274f04124975efd5908969ac3c3a9f92
4
- data.tar.gz: 62fc42b61cf428b224c7d1168d21a822788930341fdbfe638f9b9d3cfad93c50
3
+ metadata.gz: 92cf14df593513fbd67a350543358d4005a6badf283b9654bbcbefb5e2d13ab0
4
+ data.tar.gz: 3ec0b45ddc49561c49faad19487d7bc8599341f4ca73a1547daa2b36761f1390
5
5
  SHA512:
6
- metadata.gz: f6ceb132f8d9a6c94b99d95e0ea1cd61061102b8b9996a32e6c86fa96c9efdebfe57573fc140149a09949cb974f402d950e1dd0f2ca5e1745f13dc43292fcdf8
7
- data.tar.gz: 918ed040cf64c00d9dc5773862f53ae962987e31093a6889d383378bd40edf213208467a7245fa1faa31e0cf05ad98ab51d61834cfe10b7b2b755af736c48dce
6
+ metadata.gz: d44c36aca78ea73fda383a8044b9df1a324a269d91be6e4ae6005a6ad35c72703145e4258399241e47e4128c27b07ef74458334901d1772d378048be2c3d03cf
7
+ data.tar.gz: 3e1bc3e13afda2c7c734484c70920271b0ec44b37a24cd0cc213e6cb453e3efd1aab11f1e3dbd9fb1455f5084acfdf88b4fe952e5728a3cfad3cebf164529a53
@@ -2,9 +2,6 @@ module SchemaBasedApiUser
2
2
  extend ActiveSupport::Concern
3
3
 
4
4
  included do
5
- def authenticate password
6
- self&.valid_password?(password) ? self : nil
7
- end
8
5
 
9
6
  ## DSL (AKA what to show in the returned JSON)
10
7
  # Use @@json_attrs to drive json rendering for
@@ -1,3 +1,3 @@
1
1
  module SchemaBasedApi
2
- VERSION = '2.2.1'
2
+ VERSION = '2.2.2'
3
3
  end
@@ -1,5 +1,3 @@
1
- require "schema_based_api/engine"
2
-
3
1
  require 'thecore_backend_commons'
4
2
  require 'rack/cors'
5
3
  require 'ransack'
@@ -12,6 +10,8 @@ require 'concerns/api_exception_management'
12
10
 
13
11
  require 'deep_merge/rails_compat'
14
12
 
13
+ require "schema_based_api/engine"
14
+
15
15
  module SchemaBasedApi
16
16
  def self.smart_merge src, dest
17
17
  src.deeper_merge! dest, {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schema_based_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-27 00:00:00.000000000 Z
11
+ date: 2020-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thecore_backend_commons