sso-auth 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sso-auth/spec_helper.rb +1 -1
- data/lib/sso-auth/version.rb +1 -1
- metadata +4 -4
data/lib/sso-auth/spec_helper.rb
CHANGED
@@ -18,7 +18,7 @@ module SsoAuth
|
|
18
18
|
@roles ||= {}
|
19
19
|
@roles["#{prefix}_#{role}"] ||= {}
|
20
20
|
@roles["#{prefix}_#{role}"][context] ||= (user || create_user).tap do |user|
|
21
|
-
user.permissions.create!
|
21
|
+
user.permissions.create!({:context => context, :role => role}, :without_protection => true)
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
data/lib/sso-auth/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sso-auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-03-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cancan
|
@@ -216,7 +216,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
216
216
|
version: '0'
|
217
217
|
segments:
|
218
218
|
- 0
|
219
|
-
hash: -
|
219
|
+
hash: -4140832109074497253
|
220
220
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
221
221
|
none: false
|
222
222
|
requirements:
|
@@ -225,7 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
225
225
|
version: '0'
|
226
226
|
segments:
|
227
227
|
- 0
|
228
|
-
hash: -
|
228
|
+
hash: -4140832109074497253
|
229
229
|
requirements: []
|
230
230
|
rubyforge_project:
|
231
231
|
rubygems_version: 1.8.24
|