thecore_api 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/api/v1/info_controller.rb +1 -1
- data/lib/thecore_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e5503fc088ba2d7eea21ba020fa5d76432762e07e811b1a850c9f9f91e3a9bc
|
4
|
+
data.tar.gz: 8c5fa1f56c278de13a2e47e0f3ba46fc760e2ac300cbee581f8f8bd5e9250840
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 718204f8ebf3de9282992a3c9e197e8b180189d971fc8ffb187a5fd84e3a9b77bd7b48a2af7b4c1e789372c3a2d4707dc08473944e4dd3c22264e118c883b678
|
7
|
+
data.tar.gz: 1cba68ccae794d1faafb7f2a19ba77645886b33aea6688b56f0088beed779fc2f2aa511a5f13f966ea768450ab66c72b850b1296d1cf60670d32dfdfb8f698d7
|
@@ -38,7 +38,7 @@ class Api::V1::InfoController < Api::V1::BaseController
|
|
38
38
|
Zeitwerk::Loader.eager_load_all if Rails.version.to_i >= 6 #Rails 6
|
39
39
|
end
|
40
40
|
ApplicationRecord.subclasses.each do |d|
|
41
|
-
model = d.
|
41
|
+
model = d.to_s.underscore
|
42
42
|
pivot[model] ||= {}
|
43
43
|
d.columns_hash.each_pair do |key, val|
|
44
44
|
pivot[model][key] = val.type
|
data/lib/thecore_api/version.rb
CHANGED