authpds 1.1.3 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,8 +13,8 @@ module Authpds
13
13
  # 4. first default institution
14
14
  def current_primary_institution
15
15
  @current_primary_institution ||= case
16
- when (institution_param.present? && institutions[institution_param])
17
- institutions[institution_param]
16
+ when (institution_param.present? && all_institutions[institution_param])
17
+ all_institutions[institution_param]
18
18
  when primary_institution_from_ip.present?
19
19
  primary_institution_from_ip
20
20
  when (@current_user && current_user.primary_institution)
@@ -34,10 +34,10 @@ module Authpds
34
34
  private :primary_institution_from_ip
35
35
 
36
36
  # All institutions
37
- def institutions
38
- @institutions ||= Institutions.institutions
37
+ def all_institutions
38
+ @all_institutions ||= Institutions.institutions
39
39
  end
40
- private :institutions
40
+ private :all_institutions
41
41
  end
42
42
  end
43
43
  end
@@ -1,3 +1,3 @@
1
1
  module Authpds
2
- VERSION = "1.1.3"
2
+ VERSION = "1.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authpds
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -228,7 +228,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
228
228
  version: '0'
229
229
  segments:
230
230
  - 0
231
- hash: -458188680690181348
231
+ hash: 866677692387950698
232
232
  required_rubygems_version: !ruby/object:Gem::Requirement
233
233
  none: false
234
234
  requirements:
@@ -237,7 +237,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
237
237
  version: '0'
238
238
  segments:
239
239
  - 0
240
- hash: -458188680690181348
240
+ hash: 866677692387950698
241
241
  requirements: []
242
242
  rubyforge_project:
243
243
  rubygems_version: 1.8.25