mod_auth_openid_loginpage 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/login.rb +3 -3
  2. metadata +3 -3
data/lib/login.rb CHANGED
@@ -2,12 +2,12 @@ require 'rubygems'
2
2
  require 'sinatra'
3
3
 
4
4
  set :static, true
5
- set :views, File.join(File.expand_path(File.dirname(__FILE__)), "views")
5
+ set :views, File.join(File.expand_path(File.dirname(__FILE__)), "..", "views")
6
6
 
7
7
  if Sinatra.const_defined?("VERSION") && Gem::Version.new(Sinatra::VERSION) >= Gem::Version.new("1.3.0")
8
- set :public_folder, File.join(File.expand_path(File.dirname(__FILE__)), "public")
8
+ set :public_folder, File.join(File.expand_path(File.dirname(__FILE__)), "..", "public")
9
9
  else
10
- set :public, File.join(File.expand_path(File.dirname(__FILE__)), "public")
10
+ set :public, File.join(File.expand_path(File.dirname(__FILE__)), "..", "public")
11
11
  end
12
12
 
13
13
  get '/' do
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mod_auth_openid_loginpage
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - R.I.Pienaar