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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 93b13a37409839ec675c4c694cf289b8fb9cc1ca2f97f3145c46880d5716cfc0
4
- data.tar.gz: bc67553562399eef34b71d6bbaaf7437b8e9559a97e219402edf6296b5877d7c
3
+ metadata.gz: 2e5503fc088ba2d7eea21ba020fa5d76432762e07e811b1a850c9f9f91e3a9bc
4
+ data.tar.gz: 8c5fa1f56c278de13a2e47e0f3ba46fc760e2ac300cbee581f8f8bd5e9250840
5
5
  SHA512:
6
- metadata.gz: 15e3942f8f30512f803161ea971e313b16fceb13da7a567704a77870aff3809b30bd7aa63b5495fa1df805142eeb61808112943475976cabc9e7cf659efad8d6
7
- data.tar.gz: 96fda2c62e21d08fa4b71b42d5c62317747c3e6d8c221205e8296c86fe5fefc5861a73433d26dd1111a62d7f8e1beeea3d033ddda33768cb322acff27107f4a8
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.parameterize.underscore
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
@@ -1,3 +1,3 @@
1
1
  module ThecoreApi
2
- VERSION = "1.4.0".freeze
2
+ VERSION = "1.4.1".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.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni