simpleadmin 1.2.5 → 1.2.6

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: 82784c29c8c79b091658249fa53e8503d615edaf
4
- data.tar.gz: b625444669f13b75da2d9a504be1ed348ed45e96
3
+ metadata.gz: 143bc6fa0f862fce2e3287aef7570498f4a9489c
4
+ data.tar.gz: 8291dae82d4e8c743a45809c4aa1644084f9684f
5
5
  SHA512:
6
- metadata.gz: 920362a8d4c2cc4da2780f8dd59cb1da2483d1e928bccd72371fb627207db522a62f52f5a6878f2dc43ef150551a1c55c488209097490e0a8220dbeda4bc8073
7
- data.tar.gz: fa6f5b7dcb16de7e10bebd14da74086be4cb81d7b85c78e9c5de75fead0c9f01dae8fa9079a52ad8bbe1fdecdb7765d31c9e219bb5c5c423005bbbe480d4d29b
6
+ metadata.gz: 90bf16d2d41b6cfb0d62cedaee4c105bf661acfffcad1c8facc55157529143cc69a2823e145463281def018f14ad2f11494b39246707451aa82c74989e6bbe22
7
+ data.tar.gz: 1a0a6e3d9dbbf4e852d8c5d4c43df859dac16c0cfd41dc23491094ef5bf3ff47fb8c8f5f128f51cefa5e26359595ecac64386d415bfab0998929a559f5c4f388
@@ -18,7 +18,7 @@ module SimpleAdmin
18
18
  end
19
19
 
20
20
  def show
21
- resource_klass = params[:id].capitalize.constantize
21
+ resource_klass = params[:id].constantize
22
22
 
23
23
  render json: {
24
24
  name: resource_klass.name,
@@ -1,3 +1,3 @@
1
1
  module Simpleadmin
2
- VERSION = '1.2.5'.freeze
2
+ VERSION = '1.2.6'.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.5
4
+ version: 1.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitriy Strukov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-01-12 00:00:00.000000000 Z
11
+ date: 2019-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler