effective_qb_sync 1.2.0 → 1.2.1
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 +4 -4
- data/lib/effective_qb_sync.rb +1 -1
- data/lib/effective_qb_sync/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 09c4b57b9ed7e0a0e9dff928136ce43d7ae10d7a
|
|
4
|
+
data.tar.gz: deb19da5ea1fd4de3f926113ae7bbcc44fa4b197
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d80a1e7b018510fb511e658cae7b42636a644985fbf21bd7ef63f32085376d06a82ab7a0028acdc2cffb66cf4d234e28356823fe25a56bf1b6ffbf97ff67d942
|
|
7
|
+
data.tar.gz: d7572b4063010903eefca410a0c7a0901c6d45532c5367bbf4e3605d6bb294483e8110f49d95642cc0cb747bac9ad4fc68a353ad766cb260fa27bb074205867b
|
data/lib/effective_qb_sync.rb
CHANGED
|
@@ -38,7 +38,7 @@ module EffectiveQbSync
|
|
|
38
38
|
end
|
|
39
39
|
|
|
40
40
|
def self.authorize!(controller, action, resource)
|
|
41
|
-
raise Effective::AccessDenied unless authorized?(controller, action, resource)
|
|
41
|
+
raise Effective::AccessDenied.new('Access Denied', action, resource) unless authorized?(controller, action, resource)
|
|
42
42
|
end
|
|
43
43
|
|
|
44
44
|
def self.permitted_params
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: effective_qb_sync
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Code and Effect
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-05-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|