Sha256: 46b6d2a847545917ec571f2f5305df244ed9bb0e4c950bfe2c20297c212e401d

Contents?: true

Size: 432 Bytes

Versions: 3

Compression:

Stored size: 432 Bytes

Contents

require 'rubygems'
require 'sinatra-index'
require 'sinatra_auth_github'
require 'rack'
require 'dotenv'
require File.dirname(__FILE__) + '/jekyll-auth/version'
require File.dirname(__FILE__) + '/jekyll-auth/auth-site'
require File.dirname(__FILE__) + '/jekyll-auth/jekyll-site'
Dotenv.load

class JekyllAuth
  def self.site
    Rack::Builder.new do
      use JekyllAuth::AuthSite
      run JekyllAuth::JekyllSite
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jekyll-auth-0.1.3 lib/jekyll-auth.rb
jekyll-auth-0.1.2 lib/jekyll-auth.rb
jekyll-auth-0.1.1 lib/jekyll-auth.rb