Sha256: 7d8db74fa0c272c11ab4294ebad71e17d2699cac2796f7bbaec88944570d8d17

Contents?: true

Size: 294 Bytes

Versions: 1

Compression:

Stored size: 294 Bytes

Contents

require 'rack/server_status'

if defined? Rails
  case Rails::VERSION::MAJOR
    when 3
      class Rack::ServerStatus::Railtie < Rails::Railtie
        initializer('rack-server_status.insert-rack-server_status') { |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.1 lib/rack_server_status.rb