shibboleth-rails 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,8 +17,8 @@ module Shibboleth::Rails
17
17
  # names change due to marriage, etc.
18
18
  # update_attribute is a NOOP if not different
19
19
  user.update_attribute(:name_n, identity[:name_n])
20
- user.update_attribute(:first_name, identity[:first_name]) if user.respond_to?(:first_name) && identity[:first_name].present?
21
- user.update_attribute(:last_name, identity[:last_name]) if user.respond_to?(:last_name) && identity[:last_name].present?
20
+ user.update_attribute(:first_name, first_name) if user.respond_to?(:first_name) && first_name.present?
21
+ user.update_attribute(:last_name, last_name) if user.respond_to?(:last_name) && last_name.present?
22
22
 
23
23
  user.update_role(affiliations) if user.respond_to?(:update_role)
24
24
  user
@@ -1,5 +1,5 @@
1
1
  module Shibboleth
2
2
  module Rails
3
- VERSION = "0.7.0"
3
+ VERSION = "0.7.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shibboleth-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: