authpds 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -33,7 +33,7 @@ module Authpds
33
33
  (params["#{institution_param_key}"].nil? or InstitutionList.instance.get(params["#{institution_param_key}"]).nil?) ?
34
34
  (primary_institution_from_ip.nil?) ?
35
35
  (current_user.nil? or current_user.primary_institution.nil?) ?
36
- InstitutionList.instance.default_institutions.first :
36
+ InstitutionList.instance.defautls.first :
37
37
  current_user.primary_institution :
38
38
  primary_institution_from_ip :
39
39
  InstitutionList.instance.get(params["#{institution_param_key}"]) :
@@ -22,8 +22,8 @@ class InstitutionList
22
22
  end
23
23
 
24
24
  # Returns an array of Institutions
25
- def default_institutions
26
- return institutions.values.find_all {|institution| institution.default_institution == true}
25
+ def defautls
26
+ return institutions.values.find_all {|institution| institution.defautl == true}
27
27
  end
28
28
 
29
29
  # Returns an array of Institutions
@@ -1,3 +1,3 @@
1
1
  module Authpds
2
- VERSION = "0.0.14"
2
+ VERSION = "0.0.15"
3
3
  end
@@ -2,7 +2,7 @@ NYU:
2
2
  login_attributes:
3
3
  link_code: NYU
4
4
  logout_url: 'http://bobcat.library.nyu.edu'
5
- default_institution: false
5
+ defautl: false
6
6
  display_name: NYU Libraries
7
7
  view_attributes:
8
8
  test_view_attribute1: test_attribute1_nyu
@@ -16,7 +16,7 @@ NYU:
16
16
  - 128.238.*.*
17
17
 
18
18
  NYUAD:
19
- default_institution: true
19
+ defautl: true
20
20
  display_name: NYUAD Library
21
21
  view_attributes:
22
22
  test_view_attribute1: test_attribute1_nyuad
@@ -28,7 +28,7 @@ NYSID:
28
28
  login_attributes:
29
29
  link_code: NYSID
30
30
  logout_url: 'http://bobcat.library.nyu.edu/nysid'
31
- default_institution: false
31
+ defautl: false
32
32
  display_name: New York School of Interior Design Library
33
33
  view_attributes:
34
34
  test_view_attribute1: test_attribute1_nysid
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: 0.0.14
4
+ version: 0.0.15
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-03-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &2151878120 !ruby/object:Gem::Requirement
16
+ requirement: &2151877740 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.2.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2151878120
24
+ version_requirements: *2151877740
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: authlogic
27
- requirement: &2151876600 !ruby/object:Gem::Requirement
27
+ requirement: &2151876400 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2151876600
35
+ version_requirements: *2151876400
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: nokogiri
38
- requirement: &2151871520 !ruby/object:Gem::Requirement
38
+ requirement: &2151871240 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *2151871520
46
+ version_requirements: *2151871240
47
47
  description: Libraries that use Ex Libris products, can integrate Rails application
48
48
  with PDS to provide single sign-on across systems.
49
49
  email: