authpds 1.1.1 → 1.1.2
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.
|
@@ -8,6 +8,7 @@ module Authpds
|
|
|
8
8
|
def self.included(klass)
|
|
9
9
|
klass.class_eval do
|
|
10
10
|
helper_method :current_primary_institution
|
|
11
|
+
helper_method :url_for
|
|
11
12
|
end
|
|
12
13
|
end
|
|
13
14
|
|
|
@@ -30,7 +31,9 @@ module Authpds
|
|
|
30
31
|
|
|
31
32
|
# Override Rails ActionController#url_for to add institution.
|
|
32
33
|
def url_for(options={})
|
|
33
|
-
|
|
34
|
+
if institution_param.present? and options.is_a? Hash
|
|
35
|
+
options[institution_param_key] ||= institution_param
|
|
36
|
+
end
|
|
34
37
|
super options
|
|
35
38
|
end
|
|
36
39
|
|
data/lib/authpds/version.rb
CHANGED
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.
|
|
4
|
+
version: 1.1.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
12
|
+
date: 2013-12-16 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: require_all
|
|
@@ -227,7 +227,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
227
227
|
version: '0'
|
|
228
228
|
segments:
|
|
229
229
|
- 0
|
|
230
|
-
hash:
|
|
230
|
+
hash: -4432743681608320129
|
|
231
231
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
232
232
|
none: false
|
|
233
233
|
requirements:
|
|
@@ -236,7 +236,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
236
236
|
version: '0'
|
|
237
237
|
segments:
|
|
238
238
|
- 0
|
|
239
|
-
hash:
|
|
239
|
+
hash: -4432743681608320129
|
|
240
240
|
requirements: []
|
|
241
241
|
rubyforge_project:
|
|
242
242
|
rubygems_version: 1.8.25
|