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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d84c26fe7eb72b0a531dde8302965f6f3283e46b08406a81627c6b9ac19054b8
4
- data.tar.gz: 3c1c292d3040d0dec74f07010191a50de26928c00ef2b72edff449995ce98c3a
3
+ metadata.gz: d34de740a17f9a4846bd28b82f7e6fb534bc842bdd76cf27815a7dfa39a56082
4
+ data.tar.gz: 704ea32a19f0673c1bbcfc55786db2d0041e83aa1ca0f0dd12177c215092f8e8
5
5
  SHA512:
6
- metadata.gz: 6c9b9f01c1750428509330dc9c51a8ed97cdff8d0bc7fcd49ddf8126d9c5520959fc4b3588fdfc14d3e538b353ccd707a7fc6bc0e65c0912da6ed655b117cd81
7
- data.tar.gz: 2dec5053d936c9ffa58cba368a98a40856a323105b8a548c692e3ac632f93562e5284fb43814d7421a9d2f635a2161034e88a79ff5bfdad5bef1d05e7891eed5
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.underscore.parameterize.underscore
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
@@ -1,3 +1,3 @@
1
1
  module ThecoreApi
2
- VERSION = "1.3.17".freeze
2
+ VERSION = "1.3.18".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.3.17
4
+ version: 1.3.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni