tramway-api 2.0.0.6 → 2.0.0.8

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: f1bc221edff7b8137513d072b0af3990845edbdf6022ed5816de8aa69121188d
4
- data.tar.gz: e78a790695243c0bff01a39df264ad4dc188e570895f0d1af50aa1b8dc8d9593
3
+ metadata.gz: d37765099b3d5ed18d451ddeb243fc46ed44d60cc580e15da000df3ac3456d61
4
+ data.tar.gz: b8b950f6de93308f45c1ef97a7a888bc081f1ba2cc3ef9f11871c07dce0edcf2
5
5
  SHA512:
6
- metadata.gz: 51a706174191346de7426fe2b7679e1d3253d0c916ca5fa5261edef174cca331130119d05c6a10bbd96e4f6992337c7de9d3db350013fcedfa0b37b6e27a4c41
7
- data.tar.gz: a611174286e9046dacda0dd613d9370c5bed02ede9b2d98348a8b7c92d89d541b082f7700ee19ee104c369b0cecfdd64f344f201809ea480633f4deddc020da2
6
+ metadata.gz: d7e49d6338a350a6ee0c421a2d3144a252be054a3738ae79c268199fa8a49c2ecb8515ee057a403f0c54068ea8c40e1aad5156fcb1990ebdb18cc07095cc8609
7
+ data.tar.gz: 3d2f96d0c9b3682e0315a3690e7e8c5353f55c3e5860f2ef5edd85867289371af23ee6660d0402ae33a01b982ab71d9fd974dd96d63390897f2efcaa47ce1fee
@@ -3,7 +3,7 @@
3
3
  module Tramway
4
4
  module Api
5
5
  class ApplicationController < ActionController::Base
6
- include ::Knock::Authenticable
6
+ # include ::Knock::Authenticable
7
7
  protect_from_forgery with: :null_session, if: proc { |c| c.request.format == 'application/json' }
8
8
  rescue_from ActiveRecord::RecordNotFound, with: :not_found if Rails.env.production?
9
9
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Api
5
- VERSION = '2.0.0.6'
5
+ VERSION = '2.0.0.8'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.6
4
+ version: 2.0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-09 00:00:00.000000000 Z
11
+ date: 2023-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: knock
@@ -75,7 +75,6 @@ files:
75
75
  - app/serializers/tramway/api/v1/application_serializer.rb
76
76
  - app/serializers/tramway/api/v1/error_serializer.rb
77
77
  - app/views/layouts/tramway/api/application.html.erb
78
- - config/initializers/active_model_serializers.rb
79
78
  - config/initializers/json_param_key_transform.rb
80
79
  - config/routes.rb
81
80
  - lib/tasks/tramway/api_tasks.rake
@@ -1,3 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- ActiveModelSerializers.config.adapter = :json_api