authpds 1.1.4 → 1.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: bde7d05e8ef61f07fa27dcc05bef1e8d34b051c2
4
+ data.tar.gz: c2e48d3c01ce04bc4d6c1de35b278e54d926b669
5
+ SHA512:
6
+ metadata.gz: 550ea2d639a1af3daddf49fa9b8fc6319444a5c645893dd831798f1de9a392019adc6390a947b260c8fb50f31f811c17a8b286d83d6ebdf0f2870b994d163e6d
7
+ data.tar.gz: c46c8336e5f702470bb28254a7d2fa528e3867fdc8a488e82a477076b2dc5b9260b25b2c29a94795dec8dae498fb715ec49c4bf852024f7f379074e5a901dc89
@@ -1,3 +1,3 @@
1
1
  module Authpds
2
- VERSION = "1.1.4"
2
+ VERSION = "1.1.5"
3
3
  end
@@ -3,18 +3,17 @@ Coveralls.wear!
3
3
  require 'rubygems'
4
4
  require 'authlogic'
5
5
  require 'authlogic/test_case'
6
- require "test/unit"
6
+ require 'minitest/autorun'
7
7
  require "vcr"
8
8
  require "active_record"
9
9
  require "active_record/fixtures"
10
10
  # Configure Rails Environment
11
11
  ENV["RAILS_ENV"] = "test"
12
12
 
13
- ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :database => ":memory:")
14
13
  logger = Logger.new(STDOUT)
15
14
  logger.level= Logger::FATAL
16
15
  ActiveRecord::Base.logger = logger
17
- ActiveRecord::Base.configurations = true
16
+ ActiveRecord::Base.establish_connection(adapter: :sqlite3, database: ':memory:')
18
17
  ActiveRecord::Schema.define(:version => 1) do
19
18
  drop_table :users if table_exists?(:users)
20
19
  create_table :users do |t|
@@ -31,8 +30,8 @@ ActiveRecord::Schema.define(:version => 1) do
31
30
  t.datetime "last_request_at"
32
31
  t.datetime "current_login_at"
33
32
  t.datetime "last_login_at"
34
- t.string "last_login_ip"
35
- t.string "current_login_ip"
33
+ t.string "last_login_ip"
34
+ t.string "current_login_ip"
36
35
  t.text "user_attributes"
37
36
  t.datetime "refreshed_at"
38
37
  t.timestamps
@@ -69,17 +68,17 @@ class Authlogic::TestCase::MockController
69
68
  end
70
69
 
71
70
  include Authpds::Controllers::AuthpdsController
72
-
71
+
73
72
  def url_for(options={})
74
73
  return "http://railsapp.library.nyu.edu/validate?return_url=#{options[:return_url]}"
75
74
  end
76
-
75
+
77
76
  def root_url
78
77
  end
79
78
 
80
79
  def redirect_to(*args)
81
80
  end
82
-
81
+
83
82
  def validate_url(options={})
84
83
  return "http://railsapp.library.nyu.edu/validate?return_url=#{options[:return_url]}"
85
84
  end
@@ -91,7 +90,7 @@ class Authlogic::TestCase::MockController
91
90
  def request
92
91
  @request ||= Authlogic::TestCase::MockRequest.new(self)
93
92
  end
94
-
93
+
95
94
  def env
96
95
  @env ||= {'REMOTE_ADDR' => "128.122.149.239"}
97
96
  end
metadata CHANGED
@@ -1,160 +1,155 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authpds
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
5
- prerelease:
4
+ version: 1.1.5
6
5
  platform: ruby
7
6
  authors:
8
7
  - Scot Dalton
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-12-17 00:00:00.000000000 Z
11
+ date: 2014-10-22 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: require_all
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: 1.3.1
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: 1.3.1
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: authlogic
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - "~>"
36
32
  - !ruby/object:Gem::Version
37
- version: 3.3.0
33
+ version: 3.4.0
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ~>
38
+ - - "~>"
44
39
  - !ruby/object:Gem::Version
45
- version: 3.3.0
40
+ version: 3.4.0
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: activerecord
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ~>
45
+ - - ">="
52
46
  - !ruby/object:Gem::Version
53
47
  version: 3.2.14
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ~>
52
+ - - ">="
60
53
  - !ruby/object:Gem::Version
61
54
  version: 3.2.14
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: activesupport
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ~>
59
+ - - ">="
68
60
  - !ruby/object:Gem::Version
69
61
  version: 3.2.14
70
62
  type: :runtime
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ~>
66
+ - - ">="
76
67
  - !ruby/object:Gem::Version
77
68
  version: 3.2.14
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: nokogiri
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ~>
73
+ - - "~>"
84
74
  - !ruby/object:Gem::Version
85
75
  version: 1.6.0
86
76
  type: :runtime
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ~>
80
+ - - "~>"
92
81
  - !ruby/object:Gem::Version
93
82
  version: 1.6.0
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: institutions
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - ~>
87
+ - - "~>"
100
88
  - !ruby/object:Gem::Version
101
89
  version: 0.1.3
102
90
  type: :runtime
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
- - - ~>
94
+ - - "~>"
108
95
  - !ruby/object:Gem::Version
109
96
  version: 0.1.3
110
97
  - !ruby/object:Gem::Dependency
111
98
  name: rake
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
- - - ~>
101
+ - - "~>"
116
102
  - !ruby/object:Gem::Version
117
- version: 10.1.0
103
+ version: 10.3.0
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
- - - ~>
108
+ - - "~>"
124
109
  - !ruby/object:Gem::Version
125
- version: 10.1.0
110
+ version: 10.3.0
126
111
  - !ruby/object:Gem::Dependency
127
112
  name: vcr
128
113
  requirement: !ruby/object:Gem::Requirement
129
- none: false
130
114
  requirements:
131
- - - ~>
115
+ - - "~>"
132
116
  - !ruby/object:Gem::Version
133
- version: 2.5.0
117
+ version: 2.9.0
134
118
  type: :development
135
119
  prerelease: false
136
120
  version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
121
  requirements:
139
- - - ~>
122
+ - - "~>"
140
123
  - !ruby/object:Gem::Version
141
- version: 2.5.0
124
+ version: 2.9.0
142
125
  - !ruby/object:Gem::Dependency
143
126
  name: webmock
144
127
  requirement: !ruby/object:Gem::Requirement
145
- none: false
146
128
  requirements:
147
- - - ~>
129
+ - - "~>"
148
130
  - !ruby/object:Gem::Version
149
- version: 1.13.0
131
+ version: 1.20.0
150
132
  type: :development
151
133
  prerelease: false
152
134
  version_requirements: !ruby/object:Gem::Requirement
153
- none: false
154
135
  requirements:
155
- - - ~>
136
+ - - "~>"
156
137
  - !ruby/object:Gem::Version
157
- version: 1.13.0
138
+ version: 1.20.0
139
+ - !ruby/object:Gem::Dependency
140
+ name: pry
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: 0.10.1
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: 0.10.1
158
153
  description: Libraries that use Ex Libris products, can integrate Rails application
159
154
  with PDS to provide single sign-on across systems.
160
155
  email:
@@ -163,10 +158,14 @@ executables: []
163
158
  extensions: []
164
159
  extra_rdoc_files: []
165
160
  files:
161
+ - MIT-LICENSE
162
+ - README.md
163
+ - Rakefile
164
+ - lib/authpds.rb
165
+ - lib/authpds/acts_as_authentic.rb
166
166
  - lib/authpds/acts_as_authentic/core_attributes.rb
167
167
  - lib/authpds/acts_as_authentic/expiration.rb
168
168
  - lib/authpds/acts_as_authentic/institutions_attributes.rb
169
- - lib/authpds/acts_as_authentic.rb
170
169
  - lib/authpds/controllers/authpds_controller.rb
171
170
  - lib/authpds/controllers/authpds_sessions_controller.rb
172
171
  - lib/authpds/exlibris/pds.rb
@@ -174,6 +173,7 @@ files:
174
173
  - lib/authpds/helpers/institution/current_institution_helper.rb
175
174
  - lib/authpds/helpers/institution/param_helper.rb
176
175
  - lib/authpds/helpers/institution/url_helper.rb
176
+ - lib/authpds/session.rb
177
177
  - lib/authpds/session/authentication.rb
178
178
  - lib/authpds/session/authlogic_callbacks.rb
179
179
  - lib/authpds/session/authorization.rb
@@ -186,13 +186,8 @@ files:
186
186
  - lib/authpds/session/pds_user.rb
187
187
  - lib/authpds/session/record.rb
188
188
  - lib/authpds/session/url_handling.rb
189
- - lib/authpds/session.rb
190
189
  - lib/authpds/version.rb
191
- - lib/authpds.rb
192
190
  - lib/tasks/pds-auth_tasks.rake
193
- - MIT-LICENSE
194
- - Rakefile
195
- - README.md
196
191
  - test/authpds_controller_test.rb
197
192
  - test/authpds_test.rb
198
193
  - test/authpds_user_sessions_controller_test.rb
@@ -216,33 +211,26 @@ files:
216
211
  homepage: http://github.com/scotdalton/authpds
217
212
  licenses:
218
213
  - MIT
214
+ metadata: {}
219
215
  post_install_message:
220
216
  rdoc_options: []
221
217
  require_paths:
222
218
  - lib
223
219
  required_ruby_version: !ruby/object:Gem::Requirement
224
- none: false
225
220
  requirements:
226
- - - ! '>='
221
+ - - ">="
227
222
  - !ruby/object:Gem::Version
228
223
  version: '0'
229
- segments:
230
- - 0
231
- hash: 866677692387950698
232
224
  required_rubygems_version: !ruby/object:Gem::Requirement
233
- none: false
234
225
  requirements:
235
- - - ! '>='
226
+ - - ">="
236
227
  - !ruby/object:Gem::Version
237
228
  version: '0'
238
- segments:
239
- - 0
240
- hash: 866677692387950698
241
229
  requirements: []
242
230
  rubyforge_project:
243
- rubygems_version: 1.8.25
231
+ rubygems_version: 2.2.2
244
232
  signing_key:
245
- specification_version: 3
233
+ specification_version: 4
246
234
  summary: Allows applications to use Ex Libris' Patron Directory Service (PDS) for
247
235
  authentication.
248
236
  test_files: