Sha256: 9ab0fa7059ba24ed1492ee4744f7b2f95d69dad39a63aadd51232c1d8d81518f

Contents?: true

Size: 431 Bytes

Versions: 13

Compression:

Stored size: 431 Bytes

Contents

require 'rack/simple_auth/version'
require 'rack/simple_auth/hmac'

require 'json'

# Rack Module
module Rack
  # Module which Contains different Authorization / Authentication Classes (HMAC, ..)
  module SimpleAuth
    class << self
      # Method to return Gem Root Dir
      # @return [String] Gem Root Folder
      def root
        ::File.dirname(::File.dirname(::File.expand_path('..', __FILE__)))
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rack-simple_auth-0.1.3 lib/rack/simple_auth.rb
rack-simple_auth-0.1.2 lib/rack/simple_auth.rb
rack-simple_auth-0.1.1 lib/rack/simple_auth.rb
rack-simple_auth-0.1.0 lib/rack/simple_auth.rb
rack-simple_auth-0.0.9 lib/rack/simple_auth.rb
rack-simple_auth-0.0.8 lib/rack/simple_auth.rb
rack-simple_auth-0.0.7 lib/rack/simple_auth.rb
rack-simple_auth-0.0.6 lib/rack/simple_auth.rb
rack-simple_auth-0.0.5 lib/rack/simple_auth.rb
rack-simple_auth-0.0.4 lib/rack/simple_auth.rb
rack-simple_auth-0.0.3 lib/rack/simple_auth.rb
rack-simple_auth-0.0.2 lib/rack/simple_auth.rb
rack-simple_auth-0.0.1 lib/rack/simple_auth.rb