model_driven_api 3.2.11 → 3.2.12

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: 44b97207c61261ee5c798b13a4eb143da2e140057ddc3cc0fd76b468e6d48e27
4
- data.tar.gz: '08bc4159166a9634026dad47ccceb25df1c0fc50e4b15aed4f747a488401a80b'
3
+ metadata.gz: 783c3a65595fcf6be92e75ed07e95a15f21a94d4a13185fcb361208fb0000745
4
+ data.tar.gz: ac89122f2f5bfe2bcddf0f0d07b793a03b3603f29d201f05a65973430d8d27e0
5
5
  SHA512:
6
- metadata.gz: 2297c6601251467fef60fa08af0a3137bfd97f8d87d4781536e4d3fd7cd191d6641788090968fe135b2c60388bffbd44b0e525ab25a42709f848c60d4776ef3a
7
- data.tar.gz: 5313e734a1e608eb3356bbe3a4eabe5965d684b06d2966d2a81a68293e4fa337fe22689d9a12a10210153ea103f423e1e451c1623bccddb5b112b97295b887ec
6
+ metadata.gz: 5d8f288cded49fc7fe8015a9bd2b3f5cb429a2da2e05d55b8ad87caf12f1138556903ff57c706253293cb66f7d53b6cfd05cb078eb3d1781acfaa765c4919a52
7
+ data.tar.gz: 303e03a07dda2e3eb295c21db0363c8214dfc8835559b2d43f01dfd1e385f6361d3c227f856fbc92c04eb03cb89b223ffc8ac20ea4bb686f2831c14c3ad1dc41
@@ -2,7 +2,7 @@
2
2
  class Api::V2::InfoController < Api::V2::ApplicationController
3
3
  # Info uses a different auth method: username and password
4
4
  skip_before_action :authenticate_request, only: [:version, :swagger, :openapi], raise: false
5
- skip_before_action :extract_model
5
+ skip_before_action :extract_model, except: [:heartbeat]
6
6
 
7
7
  # api :GET, '/api/v2/info/version', "Just prints the APPVERSION."
8
8
  def version
@@ -19,7 +19,7 @@ class Api::V2::InfoController < Api::V2::ApplicationController
19
19
  # api :GET, '/api/v2/info/heartbeat'
20
20
  # Just keeps the session alive by returning a new token
21
21
  def heartbeat
22
- head :ok
22
+ render json: current_user.to_json, status: 200
23
23
  end
24
24
 
25
25
  # GET '/api/v2/info/translations'
@@ -1,3 +1,3 @@
1
1
  module ModelDrivenApi
2
- VERSION = "3.2.11".freeze
2
+ VERSION = "3.2.12".freeze
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: model_driven_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.11
4
+ version: 3.2.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-04 00:00:00.000000000 Z
10
+ date: 2025-03-20 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: thecore_backend_commons