Remove highcharts-rails gem from Gemfile
Add basic segmentation metric
Add rake to Gemfile
Add Sinatra::Reloader from sinatra-contrib gem
Refactor sum aggregation to use the new api for aggregations
Remove unused error
Refactor Metrics::Segmentation to use refactored aggregations and use a helper for formatting the response
Update layout to include morris.js for visualization
Add basic overview page with a sales segmentation metric
Add factory_girl and database_cleaner gems for testing and configure
Add factory for protect and refactor tests
Use UTC dates instead of stings for aggregations and add tests
Add tests
Add start_date and end_date as parameters in overview page
Add integration test for segmentation endpoint
Add mongodb service to travis.yml
Remove debug code
Improve test readability
Fix formatting
Merge pull request #1 from jcreixell/add-basic-analytics

Add basic analytics