simpleadmin 1.2.2 → 1.2.3

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
  SHA1:
3
- metadata.gz: cd0a8de5f131f2c6ba6a68ee6dd96da378dd5a9f
4
- data.tar.gz: 239ee609fab25425bf0a15e2b6e0f7b6bed756f7
3
+ metadata.gz: f25cc306014ecb0faf018fdbcbf9a018c0b45151
4
+ data.tar.gz: 38095dbfe2da6d22f21672072b7d7cb4d8644be6
5
5
  SHA512:
6
- metadata.gz: 8ccc48824e98412dbb4e8b29bd201ae64a4f09d73036c4185e3fbdfaf4f50e0765980e41e396f1a80c5eb6e2326f383e74d854cfd88aeb1f8e75b0e6a2381ba6
7
- data.tar.gz: 977774d4f0790a2188e86add7aacda4a3cb804c0caa60bd21cd02ca8d9257b42a802615f9f1bd9580aeca418020f68da7433141a734583bc1aeff922b4d9c735
6
+ metadata.gz: 4dfda0c9329d97f836e1f1606289e7e5634a20db6574f50f4b530fe855a2f0ac95a58633313f6173a64ecb5b5656d2742b0adcec250d02cdd96b3a00f0d74b33
7
+ data.tar.gz: 44354b9f194482a097d6d053c2e2051cc2f030575655798a8e6e7f579b36441bb84efaaab34de711ef1e2532e95158316586cd5bd2b2a793833598060e3b215b
data/README.md CHANGED
@@ -1,4 +1,5 @@
1
1
  [![Gem Version](https://badge.fury.io/rb/simpleadmin.svg)](https://rubygems.org/gems/simpleadmin)
2
+ [![Maintainability](https://api.codeclimate.com/v1/badges/ca0015b11992514879c5/maintainability)](https://codeclimate.com/github/getsimpleadmin/simpleadmin/maintainability)
2
3
 
3
4
  # SimpleAdmin
4
5
 
@@ -23,7 +23,8 @@ module SimpleAdmin
23
23
  render json: {
24
24
  name: resource_klass.name,
25
25
  column_names: resource_klass.column_names,
26
- columns: resource_klass.columns.map { |column| { name: column.name, type: column.sql_type.parameterize.underscore } }
26
+ columns: resource_klass.columns.map { |column| { name: column.name, type: column.sql_type.parameterize.underscore } },
27
+ reflections: resource_klass.reflections.keys
27
28
  }
28
29
  end
29
30
 
@@ -1,3 +1,3 @@
1
1
  module Simpleadmin
2
- VERSION = '1.2.2'.freeze
2
+ VERSION = '1.2.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simpleadmin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitriy Strukov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-12-27 00:00:00.000000000 Z
11
+ date: 2019-01-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler