restrict 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/restrict/rails/controller.rb +1 -1
- data/lib/restrict/version.rb +1 -1
- data/spec/spec_helper.rb +1 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c64d62099175f3a9b75038ddb7194f9194b6a9f
|
4
|
+
data.tar.gz: 062a5d223b9ca341d424eceabe63549306b26c40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f20340ac055884a14dde1e86d3487493ed289bd483414918461402bf1f8563f55b1df07390b7ba0a4faa2bb689dcfc61fb2cfde03b82e96bea4ec01269e977f
|
7
|
+
data.tar.gz: f4cb556ccee44018cb568512a7590a3383cc833340b4cb5cd96432447a817f7550118506436e3709acf1aacb55c3e3d6e2dd51011797c5a42deedf28c265ce68
|
@@ -19,7 +19,7 @@ module Restrict
|
|
19
19
|
# restrictions, so lets set it where it is used in the code as well.
|
20
20
|
def install_gatekeeper
|
21
21
|
return if @gatekeeper_installed
|
22
|
-
|
22
|
+
before_action :invoke_gatekeeper
|
23
23
|
@gatekeeper_installed = true
|
24
24
|
end
|
25
25
|
end
|
data/lib/restrict/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: restrict
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Johannes Opper
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -163,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
163
163
|
version: '0'
|
164
164
|
requirements: []
|
165
165
|
rubyforge_project:
|
166
|
-
rubygems_version: 2.
|
166
|
+
rubygems_version: 2.6.4
|
167
167
|
signing_key:
|
168
168
|
specification_version: 4
|
169
169
|
summary: Simple access control dsl for controllers.
|
@@ -175,3 +175,4 @@ test_files:
|
|
175
175
|
- spec/lib/restrict/rspec/matcher_spec.rb
|
176
176
|
- spec/lib/restrict_spec.rb
|
177
177
|
- spec/spec_helper.rb
|
178
|
+
has_rdoc:
|