Sha256: 363ad4cb8a86e0b8e92058fb8d58a3d0357972816b196a69870d42286873ab66

Contents?: true

Size: 318 Bytes

Versions: 2

Compression:

Stored size: 318 Bytes

Contents

require "lecter/version"

module Lecter
  class Engine < ::Rails::Engine
  end

  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

2 entries across 2 versions & 1 rubygems

Version Path
lecter-0.1.3 lib/lecter.rb
lecter-0.1.2 lib/lecter.rb