Sha256: d5cbb4085ddb6a867c4f8492b69279f1c5ccae481e521319a8fe9f1aab818f8b

Contents?: true

Size: 698 Bytes

Versions: 3

Compression:

Stored size: 698 Bytes

Contents

# Copyright 2013 Google Inc. All Rights Reserved.
# Licensed under the Apache License, Version 2.0, found in the LICENSE file.

require "bundler/setup"
require "rack"
require "allocation_stats"

require_relative "allocation_stats/action"
require_relative "allocation_stats/call_app_directly"
require_relative "allocation_stats/middleware"
require_relative "allocation_stats/tracer"

require_relative "allocation_stats/formatters/base"
require_relative "allocation_stats/formatters/html"
require_relative "allocation_stats/formatters/json"
require_relative "allocation_stats/formatters/text"

module Rack::AllocationStats
  def self.new(app, options = {})
    Middleware.new(app, options)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rack-allocation_stats-0.1.2 lib/rack/allocation_stats.rb
rack-allocation_stats-0.1.1 ./lib/rack/allocation_stats.rb
rack-allocation_stats-0.1.0 ./lib/rack/allocation_stats.rb