simple-admin 1.0.1 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2022299e76bb574d4b78ee76e1ac1b9a677bd8c1
4
- data.tar.gz: 93527948e0051a7db130c8ee145c2c747b83d95e
3
+ metadata.gz: f9deb37835119a304c089e65a4624951ef257af4
4
+ data.tar.gz: e1f2057b65490027baa4fc507af0efbe33532d15
5
5
  SHA512:
6
- metadata.gz: 37da6485b515879d0d72371cefdc7fd0fa7e340673dded94e61ff805207d21fb3fa78e613ca237c43fca219650eced2f0f0c56278cee8aca6d228f0f7adfcdfc
7
- data.tar.gz: 7f7b421810bbf4e415734cd34fbba590e1a943de53f5ccdd1f208302f3c34073c49ff411a68dce74ccacc4388b5c69d094e85f752adfebc03d2f079fa53624e2
6
+ metadata.gz: 712233053e4e6bec56667bb06db1473212cb3992dcb757c5685373069fab68deda0543102ae3f077b87bc9dc8e52fedf7bf110e69aa89dda6cdbcf91c52ba645
7
+ data.tar.gz: f02baa208ea9be542d5f44db179386e9d52497243d4b68742e7762c60b84ae091d107c61d9cfa762d17ba1778c340b3366a42ea01e6da238558876ac5f99ed65
data/README.md CHANGED
@@ -4,8 +4,6 @@
4
4
  [![codecov](https://codecov.io/gh/evil-raccoon/simple_admin/branch/master/graph/badge.svg)](https://codecov.io/gh/evil-raccoon/simple_admin)
5
5
  [![Inline docs](http://inch-ci.org/github/evil-raccoon/simple_admin.svg)](http://inch-ci.org/github/evil-raccoon/simple_admin)
6
6
 
7
- https://getsimpleadmin.com
8
-
9
7
  A small API library to connect your application with SimpleAdmin service and create admin dashboards in an instant.
10
8
 
11
9
  ## Getting started
@@ -45,7 +45,7 @@ module Api::V1
45
45
 
46
46
  def show
47
47
  model_klass = params[:model_klass_name].constantize
48
- model_fields = params[:model_fields]
48
+ model_fields = params[:model_fields].split(',')
49
49
 
50
50
  resource = model_klass.find(params[:id]).attributes.slice(*model_fields)
51
51
 
@@ -1,3 +1,3 @@
1
1
  module SimpleAdmin
2
- VERSION = '1.0.1'.freeze
2
+ VERSION = '1.1.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
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-09-03 00:00:00.000000000 Z
11
+ date: 2018-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler