authpds 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/MIT-LICENSE +20 -0
- data/README.rdoc +5 -0
- data/Rakefile +38 -0
- data/lib/authpds.rb +17 -0
- data/lib/authpds/acts_as_authentic.rb +69 -0
- data/lib/authpds/controllers/authpds_controller.rb +68 -0
- data/lib/authpds/controllers/authpds_user_sessions_controller.rb +36 -0
- data/lib/authpds/exlibris/pds.rb +59 -0
- data/lib/authpds/institution.rb +41 -0
- data/lib/authpds/institution_list.rb +63 -0
- data/lib/authpds/session.rb +335 -0
- data/lib/authpds/version.rb +3 -0
- data/lib/tasks/pds-auth_tasks.rake +6 -0
- data/test/authpds_test.rb +7 -0
- data/test/fixtures/users.yml +49 -0
- data/test/support/config/institutions.yml +63 -0
- data/test/support/user.rb +9 -0
- data/test/support/user_session.rb +23 -0
- data/test/test_helper.rb +78 -0
- data/test/unit/pds_test.rb +72 -0
- data/test/unit/user_session_test.rb +123 -0
- data/test/unit/user_test.rb +77 -0
- metadata +111 -0
metadata
ADDED
@@ -0,0 +1,111 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: authpds
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Scot Dalton
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-03-01 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: &2151887760 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 3.2.1
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *2151887760
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: authlogic
|
27
|
+
requirement: &2151886720 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *2151886720
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: nokogiri
|
38
|
+
requirement: &2151885520 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
44
|
+
type: :runtime
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *2151885520
|
47
|
+
description: Libraries that use Ex Libris products, can integrate Rails application
|
48
|
+
with PDS to provide single sign-on across systems.
|
49
|
+
email:
|
50
|
+
- scotdalton@gmail.com
|
51
|
+
executables: []
|
52
|
+
extensions: []
|
53
|
+
extra_rdoc_files: []
|
54
|
+
files:
|
55
|
+
- lib/authpds/acts_as_authentic.rb
|
56
|
+
- lib/authpds/controllers/authpds_controller.rb
|
57
|
+
- lib/authpds/controllers/authpds_user_sessions_controller.rb
|
58
|
+
- lib/authpds/exlibris/pds.rb
|
59
|
+
- lib/authpds/institution.rb
|
60
|
+
- lib/authpds/institution_list.rb
|
61
|
+
- lib/authpds/session.rb
|
62
|
+
- lib/authpds/version.rb
|
63
|
+
- lib/authpds.rb
|
64
|
+
- lib/tasks/pds-auth_tasks.rake
|
65
|
+
- MIT-LICENSE
|
66
|
+
- Rakefile
|
67
|
+
- README.rdoc
|
68
|
+
- test/authpds_test.rb
|
69
|
+
- test/fixtures/users.yml
|
70
|
+
- test/support/config/institutions.yml
|
71
|
+
- test/support/user.rb
|
72
|
+
- test/support/user_session.rb
|
73
|
+
- test/test_helper.rb
|
74
|
+
- test/unit/pds_test.rb
|
75
|
+
- test/unit/user_session_test.rb
|
76
|
+
- test/unit/user_test.rb
|
77
|
+
homepage: http://github.com/scotdalton/authpds
|
78
|
+
licenses: []
|
79
|
+
post_install_message:
|
80
|
+
rdoc_options: []
|
81
|
+
require_paths:
|
82
|
+
- lib
|
83
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
84
|
+
none: false
|
85
|
+
requirements:
|
86
|
+
- - ! '>='
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
90
|
+
none: false
|
91
|
+
requirements:
|
92
|
+
- - ! '>='
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '0'
|
95
|
+
requirements: []
|
96
|
+
rubyforge_project:
|
97
|
+
rubygems_version: 1.8.15
|
98
|
+
signing_key:
|
99
|
+
specification_version: 3
|
100
|
+
summary: Allows applications to use Ex Libris' Patron Directory Service (PDS) for
|
101
|
+
authentication.
|
102
|
+
test_files:
|
103
|
+
- test/authpds_test.rb
|
104
|
+
- test/fixtures/users.yml
|
105
|
+
- test/support/config/institutions.yml
|
106
|
+
- test/support/user.rb
|
107
|
+
- test/support/user_session.rb
|
108
|
+
- test/test_helper.rb
|
109
|
+
- test/unit/pds_test.rb
|
110
|
+
- test/unit/user_session_test.rb
|
111
|
+
- test/unit/user_test.rb
|