Sha256: f148dedfa3f2be625f47a3ab605a71b181fd820e8c3d11f193dca5b485944f3a

Contents?: true

Size: 326 Bytes

Versions: 3

Compression:

Stored size: 326 Bytes

Contents

require 'lecter/version'
require 'lecter/engine'
require 'lecter/rack'

module Lecter
  # autoload :Rack, 'lecter/rack'

  if defined? Rails::Railtie
    class LecterRailtie < Rails::Railtie
      initializer 'lecter.configure_rails_initialization' do |app|
        app.middleware.use Lecter::Rack
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lecter-0.1.6 lib/lecter.rb
lecter-0.1.5 lib/lecter.rb
lecter-0.1.4 lib/lecter.rb