SamSaffron / MiniProfiler

A simple but effective mini-profiler for ASP.NET MVC, ASP.NET and Ruby.
http://miniprofiler.com
1.05k stars 221 forks source link

Add AJAX profiling support for MooTools #109

Closed vlado closed 11 years ago

vlado commented 11 years ago

I started using MiniProfiler on a rails project that uses MooTools instead jQuery. Ajax calls were displayed only after page reload so I added this changes to make it work.

Note that I have 3 failing tests when i run bundle exec rake spec but I don't have memcached installed.

Finished in 0.71693 seconds
116 examples, 3 failures

Failed examples:

rspec ./spec/components/memcache_store_spec.rb:17 # Rack::MiniProfiler::MemcacheStore page struct storage can store a PageStruct and retrieve it
rspec ./spec/components/memcache_store_spec.rb:27 # Rack::MiniProfiler::MemcacheStore page struct storage can list unviewed items for a user
rspec ./spec/components/memcache_store_spec.rb:35 # Rack::MiniProfiler::MemcacheStore page struct storage can set an item to viewed once it is unviewed
SamSaffron commented 11 years ago

looks fine to me, yeah the specs need memcached to run

vlado commented 11 years ago

Thanks Sam, that was fast :)