Sha256: fb839fe83fb07893badf015b763101c1877edec890b5334173e635071932249e

Contents?: true

Size: 646 Bytes

Versions: 3

Compression:

Stored size: 646 Bytes

Contents

# frozen_string_literal: true

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"
require_relative "jekyll_auth/sinatra/auth/github"

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-2.1.3 lib/jekyll-auth.rb
jekyll-auth-2.1.2 lib/jekyll-auth.rb
jekyll-auth-2.1.1 lib/jekyll-auth.rb