shibboleth_auth 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/app/models/shibboleth_user.rb +1 -1
- data/shibboleth_auth.gemspec +1 -1
- metadata +3 -3
@@ -3,7 +3,7 @@ module ShibbolethAuth
|
|
3
3
|
attr_reader :username, :common_name, :groups, :affiliations
|
4
4
|
|
5
5
|
def strip_group_prefix groups
|
6
|
-
groups = groups.split(';') if
|
6
|
+
groups = groups.split(';') if groups.class == String
|
7
7
|
return groups.select do |s|
|
8
8
|
s[0...ShibbolethAuth::GroupPrefixField.length] == ShibbolethAuth::GroupPrefixField
|
9
9
|
end.map do |s|
|
data/shibboleth_auth.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shibboleth_auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 2
|
10
|
+
version: 0.3.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Dominik Masur
|