Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
TomNaessens committed May 19, 2024
1 parent 3bb4682 commit 759a19f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
22 changes: 21 additions & 1 deletion .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,31 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2023-04-19 19:51:02 UTC using RuboCop version 1.50.2.
# on 2024-05-19 09:40:57 UTC using RuboCop version 1.63.5.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
Minitest/AssertOperator:
Exclude:
- 'test/controllers/registrations_controller_test.rb'

# Offense count: 50
# This cop supports safe autocorrection (--autocorrect).
Minitest/EmptyLineBeforeAssertionMethods:
Exclude:
- 'test/actions/user/fetch_club_test.rb'
- 'test/actions/user/fetch_enrolled_clubs_test.rb'
- 'test/controllers/event_controller_test.rb'
- 'test/controllers/partners_controller_test.rb'
- 'test/controllers/registrations_controller_test.rb'
- 'test/controllers/welcome_controller_test.rb'
- 'test/helpers/access_levels_helper_test.rb'
- 'test/mailers/registration_mailer_test.rb'
- 'test/models/registration_test.rb'

# Offense count: 5
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: Include.
Expand Down
2 changes: 1 addition & 1 deletion app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def enqueue_fetch_club

# specifies the daily update for a users (enrolled) clubs
def self.daily_update
User.all.find_each do |u|
User.find_each do |u|
User::FetchEnrolledClubsJob.set(wait: rand(240).minutes).perform_later(u.id)
User::FetchClubJob.set(wait: rand(240).minutes).perform_later(u.id)
end
Expand Down

0 comments on commit 759a19f

Please sign in to comment.