rolypoly 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rolypoly/role_dsl.rb +2 -2
- data/lib/rolypoly/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f4da324f740e09486d891362c4ccca59293f1e6
|
4
|
+
data.tar.gz: 8e81b842251b29657c0d853d1c30b686006dcba4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb720596c9c935a5d5f9f2d0483b67c09de67cd8572569322acecf9c487031a54aeb3cf46810333bfb2502e729922ff304ccca177c415972bfe25b2774a1854f
|
7
|
+
data.tar.gz: 27b4a65a2a1f986488f35e39f6b543079927fa8ec5efd6f4aeb0b62676e90e04654834696b8cf8433ccd114b88213e6e65277abc73d32c44075e3f6953321945
|
data/lib/rolypoly/role_dsl.rb
CHANGED
@@ -14,13 +14,13 @@ module Rolypoly
|
|
14
14
|
|
15
15
|
def self.included(base)
|
16
16
|
unless base.method_defined?(:current_user_roles)
|
17
|
-
|
17
|
+
base.send(:define_method, :current_user_roles) do
|
18
18
|
[]
|
19
19
|
end
|
20
20
|
end
|
21
21
|
|
22
22
|
unless base.method_defined?(:rolypoly_resource_map)
|
23
|
-
|
23
|
+
base.send(:define_method, :rolypoly_resource_map) do
|
24
24
|
{}
|
25
25
|
end
|
26
26
|
end
|
data/lib/rolypoly/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rolypoly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Phenow
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-07-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
101
|
version: '0'
|
102
102
|
requirements: []
|
103
103
|
rubyforge_project:
|
104
|
-
rubygems_version: 2.6
|
104
|
+
rubygems_version: 2.4.6
|
105
105
|
signing_key:
|
106
106
|
specification_version: 4
|
107
107
|
summary: Tools for handling per-action and per-app Role authorization
|