clonk 2.2.2 → 2.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/clonk/connection.rb +1 -0
- data/lib/clonk/realm.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78b1886b0dd69701b0228426cb6839cfaa7e35cc81f650f6b835c0f8f35b4885
|
4
|
+
data.tar.gz: 644eb9f10bc9c7656f69ecb7d5428637f0a143682eb9240c84948abb4b31cb39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28000df549e4d2e3d29d79693e33b05027dbd0c98a8806d493c03e0386feeb70a60f509afa757dd6fc94ccbb10feff8131bf7ff28e0fb261164f248f8f2ac9d3
|
7
|
+
data.tar.gz: a4644a982ec980a245940c70b2b906c8844693d2b132944ed3df50e6f9f95d11d62e4076ac74ecc754db173e25d59b3147454dd2d1cff3a50b1a2015ba3e5c04
|
data/lib/clonk/connection.rb
CHANGED
@@ -155,6 +155,7 @@ module Clonk
|
|
155
155
|
def url_for(target, prefix: 'permision/scope')
|
156
156
|
class_name = target.class.name.split('::').last.downcase
|
157
157
|
url_for_permission(target, prefix: prefix) if class_name == 'permission'
|
158
|
+
return "#{realm_admin_root(target)}" if class_name == 'realm'
|
158
159
|
"#{realm_admin_root}/#{class_name}s/#{target.id}"
|
159
160
|
end
|
160
161
|
|
data/lib/clonk/realm.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clonk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simon Fish
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|