Use constants for constants, remove unnecessary reader methods.
Refactor fl assignment/usage in SolrRequest
Add spec for custom field list for SolrRequest.
Refactor measuring Solr response times into a private wrapper method accepting a block. Move private methods from multiple locations to a single location at the bottom of the class.
Remove unneeded indirection to Time.new
Use Timecop for time travel in tests.
Extract query building into a separate class
Fixing specs to work with moved page block builder.
Continuing with refactoring SolrRequest, focusing on query builder's build and build_advanced.
Trying to make Hound CI happy, i.e. fixing Ruby style issues.
Attempt number 2 at making Hound CI happy, fixing mainly parameter alignment and {, } spaces
Resolve conflicts with master.
Add a spec verifying that 7035d9d fixes #41
Remove extra blank lines.
Fix remaining Hound CI issues.
Fixes #38 by introducing a whitelist of available sorts. If requested sort does not match any of the predefined ones, no sort i.e. default sort is used. Extract available sorts into a constant, which is also used for the select box in add_articles.html.erb..
Merge branch 'master' into solr_refactor
Use ActiveSupport::Notifications to instrument certain SolrRequest methods and add a logging initializer, where we will subscribe to various events in the app.
Extract common use of ActiveSupport::Notifications to a Performance module, which automatically adds a class and method name, and add an example of subscribing to those events in config/initializers/performance_logging.rb. The idea is to expand this Performance module into something that we can use across the app to instrument performance.
Move all remaining tests from tests to specs