Sha256: 9169babe48ab216e7784fdd21c6828084c997ae65187138babbec86a662151da

Contents?: true

Size: 289 Bytes

Versions: 15

Compression:

Stored size: 289 Bytes

Contents

module Rack::PerftoolsProfiler

  class StopProfiling < Action
    
    def act
      @profiler.stop
    end

    def response
      [200, {'Content-Type' => 'text/plain'}, 
       [<<-EOS
Profiling is now disabled.
Visit /__data__ to view the results.
EOS
       ]]
    end

  end  

end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
rack-perftools_profiler-0.6.1 lib/rack/perftools_profiler/stop_profiling.rb
rack-perftools_profiler-0.6.0 lib/rack/perftools_profiler/stop_profiling.rb
rack-perftools_profiler-0.5.1 lib/rack/perftools_profiler/stop_profiling.rb
rack-perftools_profiler-0.5.0 lib/rack/perftools_profiler/stop_profiling.rb
rack-perftools_profiler-0.4.1 lib/rack/perftools_profiler/stop_profiling.rb
rack-perftools_profiler-0.4.0 lib/rack/perftools_profiler/stop_profiling.rb
rack-perftools_profiler-0.3.0 lib/rack/perftools_profiler/stop_profiling.rb
rack-perftools_profiler-0.2.1 lib/rack/perftools_profiler/stop_profiling.rb
rack-perftools_profiler-0.2.0 lib/rack/perftools_profiler/stop_profiling.rb
rack-perftools_profiler-0.1.1 lib/rack/perftools_profiler/stop_profiling.rb
rack-perftools_profiler-0.1.0 lib/rack/perftools_profiler/stop_profiling.rb
aleksi-rack-perftools_profiler-0.0.4 lib/rack/perftools_profiler/stop_profiling.rb
aleksi-rack-perftools_profiler-0.0.3 lib/rack/perftools_profiler/stop_profiling.rb
rack-perftools_profiler-0.0.2 lib/rack/perftools_profiler/stop_profiling.rb
rack-perftools_profiler-0.0.1 lib/rack/perftools_profiler/stop_profiling.rb