Commit Graph

653 Commits

Author SHA1 Message Date
Thor77 a7566cb97a Remove ruby section 2019-09-14 10:20:43 +02:00
Thor77 013648f919 Set rubocop version to 0.72.0 2019-09-14 10:20:43 +02:00
Daniel Schädler b8324acef3 Update dependencies 2019-09-14 10:20:43 +02:00
Daniel Schädler 9ca44e1de1 Breaking Change in Fallback configuration 2019-06-21 10:47:04 +02:00
Daniel Schädler 26ebce7b00 Add rubocop-rails 2019-06-21 10:47:04 +02:00
Daniel Schädler 0c480b1deb Update dependencies 2019-06-21 10:47:04 +02:00
Daniel Schädler 8bc6504dd5 Add rubocop-performance
This feature was moved from rubocop to this gem.
2019-06-21 10:41:38 +02:00
Daniel Schädler 91d991f9af Update dependencies 2019-06-21 10:41:38 +02:00
Daniel Schädler 687bec10a1
Merge pull request #61 from turniere/ticket/TURNIERE-234
Implement Group Stage end
2019-06-18 22:46:44 +02:00
Daniel Schädler a2691b9f88 Cache group_score in variable in sort function 2019-06-18 22:35:17 +02:00
Daniel Schädler 945ab4981a Use let more effectively 2019-06-18 22:35:17 +02:00
Daniel Schädler fa9f47903b Test trying to change the state to something other than :finished 2019-06-18 22:22:10 +02:00
Daniel Schädler 90d97962a3 Test trying to finish a group stage with unfinished matches 2019-06-18 22:22:10 +02:00
Daniel Schädler fd8ff20ce8 Test for correct error on finishing already finished stages 2019-06-18 22:22:10 +02:00
Daniel Schädler 8873e7a95b Test stage.teams returning [] on empty stage 2019-06-18 22:22:10 +02:00
Daniel Schädler b28561043e Implement stages controller (GET UPDATE) 2019-06-18 22:22:10 +02:00
Daniel Schädler 3dfeae8bf3 Test #teams_sorted_by_group_scores 2019-06-18 22:22:10 +02:00
Daniel Schädler 54ab1570b1 Sort teams more explicitly and in the right order 2019-06-18 22:22:10 +02:00
Daniel Schädler 15e2bd830f Randomize points in group_scores factory 2019-06-18 22:22:10 +02:00
Daniel Schädler 4925ea9d83 Make teams added to PlayoffStage configurable 2019-06-18 22:22:10 +02:00
Daniel Schädler 748ac18b35 Implement finished_group_match factory 2019-06-18 22:22:10 +02:00
Daniel Schädler 4e72d015ff Implement method to check if stage is over 2019-06-18 19:22:05 +02:00
Daniel Schädler 68efd3caae Add factory for a finished_playoff_match 2019-06-18 19:22:05 +02:00
Daniel Schädler bc0c7fddc3 Make match position randomizable 2019-06-18 19:22:05 +02:00
Daniel Schädler 88cbba440d Implement methods to get teams sorted by their group scores 2019-06-18 19:22:05 +02:00
Daniel Schädler c5780c2da3 Implement function to calculate the difference in points 2019-06-18 19:22:05 +02:00
Thor77 e8207c95c1
Merge pull request #66 from turniere/ticket/TURNIERE-256
Include bets in match serializer
2019-06-18 19:21:43 +02:00
Thor77 041ee4ab2c Include bets in match resource 2019-06-18 18:51:55 +02:00
Thor77 f3b8fd4184 Use collection serializer 2019-06-18 18:51:55 +02:00
Thor77 123649a4f4 Add collection serializer for bets 2019-06-18 18:51:55 +02:00
Daniel Schädler 7955425c38
Merge pull request #65 from turniere/ticket/TURNIERE-255
Fix last Match not being stopped correctly
2019-06-18 14:39:32 +02:00
Daniel Schädler 386155a690 Fix last Match not being stopped correctly 2019-06-18 14:09:29 +02:00
Daniel Schädler b57c2498c3
Merge pull request #63 from turniere/ticket/TURNIERE-253
Fix teams not associated with created tournament
2019-06-18 14:08:02 +02:00
Thor77 2baefb9ae6 Associate teams only on interactor success 2019-06-18 13:29:31 +02:00
Thor77 3109308817 Fix teams not associated with created tournament
when choosing a group stage
2019-06-18 13:29:31 +02:00
Daniel Schädler f71179ee8a
Merge pull request #64 from turniere/ticket/TURNIERE-235
Verify E-Mail Adress of account creator
2019-06-18 12:59:55 +02:00
Thor77 4f10d23763 Add mailgun credentials 2019-06-18 12:28:57 +02:00
Thor77 8c1acb9cc7 Add configuration for mail delivery 2019-06-18 12:27:00 +02:00
Thor77 6640be1e9a Add devise confirmable to user model 2019-06-18 12:27:00 +02:00
Thor77 fb2e7aa385 Add generated devise mailer views 2019-06-18 12:27:00 +02:00
Thor77 fc37c5031b Add mailgun-ruby dependency 2019-06-18 12:27:00 +02:00
Thor77 685e7de6c9
Merge pull request #53 from turniere/feature/production_db
Add production database config and secret
2019-06-17 15:54:37 +02:00
Thor77 376b721ec7
Add postgresql-dev package for pg-gem 2019-06-17 15:38:20 +02:00
Thor77 b38a0e2ed9
Add production database config and secret 2019-06-17 15:38:17 +02:00
Thor77 30e852aba9
Merge pull request #56 from turniere/ticket/TURNIERE-246
Fix teams not being put into second stage if part of :single_team match
2019-06-17 15:31:42 +02:00
Daniel Schädler 7630f6b432 Fix Typo 2019-06-17 15:02:30 +02:00
Daniel Schädler 6dff05b5e6 Test AdvanceTeamsInIntermediateStage Interactor 2019-06-17 15:02:30 +02:00
Daniel Schädler 213867a827 Let context fail if population of match below fails 2019-06-17 15:02:30 +02:00
Daniel Schädler f35ba5c745 Create factory for :single_team_match 2019-06-17 15:02:30 +02:00
Daniel Schädler e0da9ff7b5 Assign empty array if object_to_save is nil before pushing values to it
https://stackoverflow.com/questions/12163625/create-or-append-to-array-in-ruby
2019-06-17 15:02:30 +02:00