thecore_api 1.3.17 → 1.3.18
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: d34de740a17f9a4846bd28b82f7e6fb534bc842bdd76cf27815a7dfa39a56082
|
4
|
+
data.tar.gz: 704ea32a19f0673c1bbcfc55786db2d0041e83aa1ca0f0dd12177c215092f8e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2688f0e18117507ddfa5b14d8067e235aaf3d89de827980aed33e1b82c180026addf05f784c8e9ec4536c7dbb641878191644b0ea53baf8d4a2b1c2a56211d2e
|
7
|
+
data.tar.gz: 5e38d7d87657be8265633bbfdd55e28f3c18e7c4474295e44c5104252088c727fd34d5678282bdb154cf6cb2569aa54667bc16716e3a69fcb2e841c099ff716f
|
@@ -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.parameterize.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