bali 6.0.0rc3 → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bali/statics/authorizer.rb +4 -0
- data/lib/bali/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c204989d01ed35fff4ac549d69c882797ea58b557915343f03c7debc6635db41
|
4
|
+
data.tar.gz: 80cec7fa79454c9629682b51e418cb0273bc24a4411ba012fdfed57444e74d96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37e8e6aef30d862c8a84d9b6a9bf62f6ae9b3e03e4855138cfb62cf9b760f3cc922f01f82995da534019c444de49b2639a43f6bd0ac4adb307a8a9f9ea83cd31
|
7
|
+
data.tar.gz: 709caff329a50fc00063b40e5d84fdeb8fea58799893b25cd7bf3e379439a2192d059ea0b973d837810176722289d3cf9cc60c080e5ab8dd02fb73095964367f
|
@@ -39,6 +39,10 @@ module Bali::Statics::Authorizer
|
|
39
39
|
if arg2.nil? && arg3.nil? && obj.respond_to?(:current_user)
|
40
40
|
arg2 = arg1
|
41
41
|
arg1 = obj.current_user
|
42
|
+
elsif arg3.nil? && obj.respond_to?(:current_user)
|
43
|
+
arg3 = arg2
|
44
|
+
arg2 = arg1
|
45
|
+
arg1 = obj.current_user
|
42
46
|
end
|
43
47
|
|
44
48
|
arg3 = HelperFunctions.determine_model_class! obj, arg1, arg2, arg3
|
data/lib/bali/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bali
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.0.
|
4
|
+
version: 6.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Notodikromo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: zeitwerk
|
@@ -189,9 +189,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
189
189
|
version: '0'
|
190
190
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
|
-
- - "
|
192
|
+
- - ">="
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version:
|
194
|
+
version: '0'
|
195
195
|
requirements: []
|
196
196
|
rubygems_version: 3.0.3
|
197
197
|
signing_key:
|