fixed ruby 2.0 p0 bug in fast_stack so re-pushing

This commit is contained in:
Sam 2013-09-09 21:19:23 +10:00
parent b61d5c4092
commit 98267d439a
4 changed files with 14 additions and 3 deletions

View file

@ -188,8 +188,7 @@ gem 'lru_redux'
# If you want to amend mini profiler to do the monkey patches in the railstie
# we are open to it. by deferring require to the initializer we can configure disourse installs without it
# gem 'rack-mini-profiler', '0.1.30', require: false
# gem 'flamegraph', require: false
gem 'flamegraph', require: false
gem 'rack-mini-profiler', require: false
# used for caching, optional

View file

@ -188,9 +188,14 @@ GEM
fast_blank (0.0.1)
rake
rake-compiler
fast_stack (0.0.6)
rake
rake-compiler
fast_xs (0.8.0)
fastimage (1.3.0)
ffi (1.8.1)
flamegraph (0.0.2)
fast_stack
fog (1.14.0)
builder
excon (~> 0.25.0)
@ -479,6 +484,7 @@ DEPENDENCIES
fast_xor!
fast_xs
fastimage
flamegraph
fog
handlebars-source (= 1.0.12)
highline

View file

@ -216,9 +216,14 @@ GEM
fast_blank (0.0.1)
rake
rake-compiler
fast_stack (0.0.6)
rake
rake-compiler
fast_xs (0.8.0)
fastimage (1.5.0)
ffi (1.9.0)
flamegraph (0.0.2)
fast_stack
fog (1.14.0)
builder
excon (~> 0.25.0)
@ -484,6 +489,7 @@ DEPENDENCIES
fast_xor!
fast_xs
fastimage
flamegraph
fog
handlebars-source (= 1.0.12)
highline

View file

@ -1,7 +1,7 @@
# If Mini Profiler is included via gem
if Rails.configuration.respond_to?(:enable_mini_profiler) && Rails.configuration.enable_mini_profiler
require 'rack-mini-profiler'
# require 'flamegraph'
require 'flamegraph'
# initialization is skipped so trigger it
Rack::MiniProfilerRails.initialize!(Rails.application)
end