thecore_api 1.3.13 → 1.3.15

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: 01d541ce3b494e47e4c0524f6ccd170433d9e3057ad32afaf4371990fae0c208
4
- data.tar.gz: 6323dd02ea6971397304e38f0fd482994d58c8b28295e63585507b7543c5549c
3
+ metadata.gz: f2d968cca2094a7d824bda6ef006e48b5afb5f903a8e5736da1da91e6958eff6
4
+ data.tar.gz: a487d33314f647b82b2103218dee5b3a50e69641ae05955b6f39adb6d75dd575
5
5
  SHA512:
6
- metadata.gz: 9f6e71586451c237162b486935c6d36cfcce2b339f8156e1a1231d991d515f5461e58b1573d47a9fd47a4e5cfc905b66bb31a90846c3e316efddb2d8204bc75d
7
- data.tar.gz: b2e40f847ed648343fc534a2faae0e11f33eaab3e622a2452a77978f218dea3219cd43ed8b0aaf9878af4961cd3dd0c2fe39f4a537b4b93f12fbfde55c062ecb
6
+ metadata.gz: 82891df7589f932cbe4342698f20071061b7ff976c1baebc5683f79978404dd9e150fb2ab10e40835bc8bbf9a6c1b876fe8758359cca5c438b618c2bef9e37f3
7
+ data.tar.gz: cb756c476b0a0eb7d86c83e15ad5029b24b13006d623708ecced108609a71399733750c84fe5e93a75bee82a41e308cdd7fc97eecc008ca9942f932ee4657034
@@ -25,11 +25,11 @@ class Api::V1::BaseController < ActionController::API
25
25
  before_action :find_model, except: [ :version, :token, :available_roles, :check, :translations, :schema ]
26
26
  before_action :find_record, only: [ :show, :update, :destroy ]
27
27
 
28
- rescue_from ActiveRecord::RecordNotFound, with: :not_found!
29
- rescue_from ActiveRecord::StatementInvalid, with: :unauthenticated!
30
- rescue_from ActiveRecord::RecordInvalid, with: :invalid!
28
+ # rescue_from ActiveRecord::RecordNotFound, with: :not_found!
29
+ # rescue_from ActiveRecord::StatementInvalid, with: :unauthenticated!
30
+ # rescue_from ActiveRecord::RecordInvalid, with: :invalid!
31
31
  #rescue_from CanCan::AuthorizationNotPerformed, with: :unauthorized!
32
- rescue_from CanCan::AccessDenied, with: :unauthorized!
32
+ # rescue_from CanCan::AccessDenied, with: :unauthorized!
33
33
  #rescue_from Pundit::NotAuthorizedError, with: :unauthorized!
34
34
 
35
35
  attr_accessor :current_user
@@ -1,6 +1,6 @@
1
1
  class Api::V1::InfoController < Api::V1::BaseController
2
2
  # Info uses a different auth method: username and password
3
- skip_before_action :authenticate_user!, only: [:version, :translations], raise: false
3
+ skip_before_action :authenticate_user!, only: [:version, :translations, :schema], raise: false
4
4
 
5
5
  # api :GET, '/api/v1/info/version', "Just prints the APPVERSION."
6
6
  # api!
@@ -1,3 +1,3 @@
1
1
  module ThecoreApi
2
- VERSION = "1.3.13".freeze
2
+ VERSION = "1.3.15".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.13
4
+ version: 1.3.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni