thecore_api 1.3.15 → 1.3.16
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: 13c064a1065a492c1869efdc080794bc6432317c72c3ade456c431f6662069e8
|
4
|
+
data.tar.gz: 0b29899a09b6989c91eec70d3333c0e97fc4f1d9b1196ff19172d856fc1da041
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ded749f79de4808acdcd908a89c594bbe0ebac7b985d73c185e27024d9376ceccd14f9fffdc9f553bbf1c40900fbdc1e91e8ba7a59d6cdd883f768a00cf8ec6
|
7
|
+
data.tar.gz: 54c2683166656d68235ad5c4e339bcbbf012029b6a53458b927b902314c86054815f8eb5f48d4431d30b3fb99f573f370dfacb23d94373250e15678b4abfa22d
|
@@ -34,7 +34,7 @@ class Api::V1::InfoController < Api::V1::BaseController
|
|
34
34
|
def schema
|
35
35
|
pivot = {}
|
36
36
|
if Rails.env.development?
|
37
|
-
Rails.configuration.eager_load_namespaces.each(&:eager_load!) if Rails.version.to_i
|
37
|
+
Rails.configuration.eager_load_namespaces.each(&:eager_load!) if Rails.version.to_i == 5 #Rails 5
|
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|
|
data/lib/thecore_api/version.rb
CHANGED