mks_auth 1.0.8 → 1.0.9

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: 4bdc0cf512e5d2a6de283112393abb047c798ebef5d266f60229e2ec121cf22a
4
- data.tar.gz: 9a00a2b3526c773f56d591125d4d9d55c79193182b0e352360275a8842fdf94e
3
+ metadata.gz: 5602816a7948f5b3390b642dedbf8dc830081c5926352ad8d660407e864b0dff
4
+ data.tar.gz: c6c50608575caa73ab94f648cd4172e81a1e1e0a43a3ddd8b663718a0f59ac0f
5
5
  SHA512:
6
- metadata.gz: 5e6d94b2e805928d8b9502811a3adf8b10379ef7ea3180e081b279753318c65b1fe59716739e97aa54e6163c41dd9c1a293116d4dba24fb7ad5901c935b0bd5e
7
- data.tar.gz: bc573590f04e6135a4dbcc067b74d90e5a44a2378767ffe8c307868140411f997eb1e589686b92d8c0eb8bb7587c7d9b221a14e88c67e7ccf98bbb84afdaa204
6
+ metadata.gz: 38e66a61416e3d7d03bfda53e9886c7684f7711b3617ebbd6ae1f49ca1b5c596c1782c26710822aa18fd029594e1ff59d1832a976c47761ad0e916854dc5c29c
7
+ data.tar.gz: bef073d116ead22c0b8d5c053582c6b733663209a8f6182b8109d94c19f6b695ba45af3699fd70b9d5532c6048e2500d66bac3dab4848d485481b2225385d922
@@ -9,13 +9,11 @@ module Mks
9
9
  user_roles = UserRole.joins(:application_module)
10
10
  .where("mks_auth_application_modules.code = '#{app_code}'")
11
11
  .order(:name)
12
- response = { success: true, data: user_roles }
13
- render json: response
12
+ render json: user_roles
14
13
  end
15
14
 
16
15
  def users
17
- response = { success: true, data: @role.users }
18
- render json: response
16
+ render json: @role.users
19
17
  end
20
18
 
21
19
  def assigned_roles
@@ -1,5 +1,5 @@
1
1
  module Mks
2
2
  module Auth
3
- VERSION = '1.0.8'.freeze
3
+ VERSION = '1.0.9'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mks_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henock L.