thecore_api 1.2.4 → 1.2.5

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: d6d89aac460bf120da63ee7c790ccac94bb1ae0400fe438c858658259db6af0a
4
- data.tar.gz: fd4deb3b995b56c59c192d4c84630745ed55f9765800894a27953115b553cd98
3
+ metadata.gz: 907ac5274e92813ffbf8201085eb34dfaca0c0e79eb9cfa3ea8f87b9187501b4
4
+ data.tar.gz: 5b5ed988507e3c46867849b512961bbc6a90d56d30c8b29961864d6d38cf5837
5
5
  SHA512:
6
- metadata.gz: 4c88d5c462230eb5375ba696b1c74326a39eb088554cdb395e5c216c0cf65eef859306645b8eaab41750d8593c11536ad4dff80132fd59c3a3bf353b05b75d9a
7
- data.tar.gz: 8335c7cb8085fc907fdaf4ebacb2be95b82134b70261a803334a904dbb9fefc5d7669348925e74d16a9de51c0ec9b1285431d5b2b1ece6aaf0cd7b53ead3e483
6
+ metadata.gz: a515b81906ce4eac33eb757efff156f2f9e5574a5242be7530e7ba663506702b2fc4fa3c49bb22ce2b46d1c743e34ed299c44d3272dc29f2fc638b0bbf40577a
7
+ data.tar.gz: 8c7eaf48a640befed9d729ce6535b35f15d71ec8f3267c3de374c90769877482c101116fc62e48f7e3bcf76c584d9f463d5abd8958d2f813f933b0460a35686b
@@ -192,6 +192,7 @@ class Api::V1::BaseController < ActionController::API
192
192
  end
193
193
 
194
194
  def request_params
195
- params.permit(params.keys)
195
+ Rails.logger.debug "OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO: #{controller_name.to_sym}"
196
+ params.require(controller_name.to_sym).permit!
196
197
  end
197
198
  end
@@ -1,3 +1,3 @@
1
1
  module ThecoreApi
2
- VERSION = "1.2.4".freeze
2
+ VERSION = "1.2.5".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.2.4
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni