discourse/lib/middleware
Sam a19170a4c2 DEV: avoid require_dependency for some libs
This avoids require dependency on method_profiler and anon cache.

It means that if there is any change to these files the reloader will not pick it up.

Previously the reloader was picking up the anon cache twice causing it to double load on boot.

This caused warnings.

Long term my plan is to give up on require dependency and instead use:

https://github.com/Shopify/autoload_reloader
2018-12-31 10:53:30 +11:00
..
anonymous_cache.rb FIX: error in response body to blocked crawlers, showing 500 Internal Server Error with status of 403 2018-09-14 15:40:20 -04:00
discourse_public_exceptions.rb DEV: correct intermittent test failure 2018-12-13 18:27:13 +11:00
enforce_hostname.rb SECURITY: enforce hostname to match discourse hostname 2018-11-15 15:23:06 +11:00
missing_avatars.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
omniauth_bypass_middleware.rb FEATURE: Allow connecting associated accounts when two-factor is enabled (#6754) 2018-12-11 13:19:00 +00:00
request_tracker.rb DEV: avoid require_dependency for some libs 2018-12-31 10:53:30 +11:00
turbo_dev.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00