ror-rubycas-server 1.0.b → 1.0.c
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/lib/casserver.rb +1 -0
- data/lib/casserver/server.rb +2 -1
- data/rubycas-server.gemspec +1 -1
- metadata +1 -1
data/lib/casserver.rb
CHANGED
data/lib/casserver/server.rb
CHANGED
|
@@ -15,7 +15,7 @@ module CASServer
|
|
|
15
15
|
include Localization
|
|
16
16
|
|
|
17
17
|
set :app_file, __FILE__
|
|
18
|
-
set :
|
|
18
|
+
set :public_folder, Proc.new { settings.config[:public_dir] || File.join(root, "..", "..", "public") }
|
|
19
19
|
|
|
20
20
|
config = OptionsHash.new(
|
|
21
21
|
:maximum_unused_login_ticket_lifetime => 5.minutes,
|
|
@@ -202,6 +202,7 @@ module CASServer
|
|
|
202
202
|
config[:authenticator] = [config[:authenticator]] unless config[:authenticator].instance_of? Array
|
|
203
203
|
config[:authenticator].each { |authenticator| auth << authenticator[:class].constantize}
|
|
204
204
|
rescue NameError
|
|
205
|
+
STDOUT.puts `pwd`.inspect #debug
|
|
205
206
|
if config[:authenticator].instance_of? Array
|
|
206
207
|
config[:authenticator].each do |authenticator|
|
|
207
208
|
if !authenticator[:source].nil?
|
data/rubycas-server.gemspec
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
$gemspec = Gem::Specification.new do |s|
|
|
3
3
|
s.name = 'ror-rubycas-server'
|
|
4
|
-
s.version = '1.0.
|
|
4
|
+
s.version = '1.0.c'
|
|
5
5
|
s.authors = ["Matt Zukowski", "Christopher Small"]
|
|
6
6
|
s.email = ["matt@zukowski.ca", "chris@thoughtnode.com"]
|
|
7
7
|
s.homepage = 'http://github.com/metasoarous/read_only_rubycas_server'
|