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 +4 -4
- data/README.md +1 -0
- data/app/controllers/simple_admin/entities_controller.rb +2 -1
- data/lib/simpleadmin/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f25cc306014ecb0faf018fdbcbf9a018c0b45151
|
4
|
+
data.tar.gz: 38095dbfe2da6d22f21672072b7d7cb4d8644be6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|
data/lib/simpleadmin/version.rb
CHANGED
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.
|
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:
|
11
|
+
date: 2019-01-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|