Commit graph

13 commits

Author SHA1 Message Date
James Lopez
275292de47 Refactor the SQL/query stuff into a dynamic class. Also merged all the config in a single hash. 2016-11-17 08:22:55 +01:00
James Lopez
954e18922e fix mySQL error 2016-11-17 08:22:55 +01:00
James Lopez
1f701cb5e2 added staging events and spec 2016-11-17 08:22:55 +01:00
James Lopez
d99cec7f55 review events - spec and logic 2016-11-17 08:22:55 +01:00
James Lopez
ebd5ced7eb Added test events specs and logic. Also fixed some SQL and refactored the pipeline worker spec. 2016-11-17 08:22:55 +01:00
James Lopez
1a4ff5d720 Added code events spec and logic. Also fixed SQL issues and refactored the code a bit. 2016-11-17 08:22:55 +01:00
James Lopez
72660d58af plan events and spec working. Also added some TODOs to the code. 2016-11-17 08:22:54 +01:00
James Lopez
3b5d947730 commit events and spec 2016-11-17 08:22:54 +01:00
James Lopez
1d6068a1c3 fix specs - issue events working 2016-11-17 08:22:54 +01:00
James Lopez
c545968ece fix timestamp diff and spec 2016-11-17 08:22:54 +01:00
James Lopez
847d2796cf fixed spec and SQL query 2016-11-17 08:22:54 +01:00
James Lopez
470e39d64f WIP - refactored some arel queries 2016-11-17 08:22:54 +01:00
James Lopez
ec7db295d2 Started refactoring stuff to add events to cycle analytics
- Refactored cycle analytics class to extract DB logic
- Reuse logic in new events fetcher
- Started adding cycle analytics events class and spec (still not functional)
2016-11-17 08:22:54 +01:00