Sha256: 6ea6495e02ce075b5a7f05c5de3dde114ee70f592e0a03946d7e21c4770f1174

Contents?: true

Size: 564 Bytes

Versions: 4

Compression:

Stored size: 564 Bytes

Contents

require 'sinatra-index'
require 'sinatra_auth_github'
require 'dotenv'
require 'safe_yaml'
require 'colorator'
require 'mkmf'
require_relative 'jekyll_auth/version'
require_relative 'jekyll_auth/helpers'
require_relative 'jekyll_auth/config'
require_relative 'jekyll_auth/auth_site'
require_relative 'jekyll_auth/jekyll_site'
require_relative 'jekyll_auth/config_error'
require_relative 'jekyll_auth/commands'

Dotenv.load

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jekyll-auth-2.0.0 lib/jekyll-auth.rb
jekyll-auth-1.0.3 lib/jekyll-auth.rb
jekyll-auth-1.0.2 lib/jekyll-auth.rb
jekyll-auth-1.0.1 lib/jekyll-auth.rb