Sha256: 7fc4c3c191c94681927beca7d0fbecec4f7acca5ad594934d2d7e9f3e1787a8e
Contents?: true
Size: 329 Bytes
Versions: 1
Compression:
Stored size: 329 Bytes
Contents
require File.join(File.expand_path(File.dirname(__FILE__)), 'rack/server_status') if defined? Rails case Rails::VERSION::MAJOR when 3 class Rack::ServerStatus::Railtie < Rails::Railtie initializer('rack-server-status.prepend') { |app| app.config.middleware.insert(0, Rack::ServerStatus) } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rack-server-status-0.0.2 | lib/rack-server-status.rb |