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.
@@ -7,5 +7,6 @@ require 'builder' # for XML views
7
7
  require 'logger'
8
8
  $LOG = Logger.new(STDOUT)
9
9
 
10
+ CASServer::Authenticators.autoload :SQL, 'casserver/authenticators/sql.rb'
10
11
  require 'casserver/server'
11
12
 
@@ -15,7 +15,7 @@ module CASServer
15
15
  include Localization
16
16
 
17
17
  set :app_file, __FILE__
18
- set :public, Proc.new { settings.config[:public_dir] || File.join(root, "..", "..", "public") }
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?
@@ -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.b'
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'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ror-rubycas-server
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.b
4
+ version: 1.0.c
5
5
  prerelease: 4
6
6
  platform: ruby
7
7
  authors: