Sha256: ef6c4a73e2fba0201f1876acfd2bb6ca9956b3f2aaebf31a67198d34baf3ded3

Contents?: true

Size: 587 Bytes

Versions: 9

Compression:

Stored size: 587 Bytes

Contents

module Speedup
  module Collectors
    class MiniprofilerCollector < Collector

      def initialize(*attrs)
        require 'rack-mini-profiler'
        Rack::MiniProfilerRails.initialize!(Rails.application)
        super
      end


      def parse_options
        # pass
      end

      # The data results that are inserted at the end of the request for use in
      # deferred placeholders in the Peek the bar.
      #
      # Returns Hash.
      def results
        {}
      end

      def setup_subscribes
      end


      # def filter_event?(evt)
      # end

    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
speedup-rails-0.0.15 lib/speedup/collectors/miniprofiler_collector.rb
speedup-rails-0.0.13 lib/speedup/collectors/miniprofiler_collector.rb
speedup-rails-0.0.12 lib/speedup/collectors/miniprofiler_collector.rb
speedup-rails-0.0.10 lib/speedup/collectors/miniprofiler_collector.rb
speedup-rails-0.0.9 lib/speedup/collectors/miniprofiler_collector.rb
speedup-rails-0.0.7 lib/speedup/collectors/miniprofiler_collector.rb
speedup-rails-0.0.6 lib/speedup/collectors/miniprofiler_collector.rb
speedup-rails-0.0.3 lib/speedup/collectors/miniprofiler_collector.rb
speedup-rails-0.0.2 lib/speedup/collectors/miniprofiler_collector.rb