Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E1561. Refactoring due_date.rb and deadline_helper.rb #611

Closed
wants to merge 15 commits into from

Conversation

ginlee
Copy link

@ginlee ginlee commented Nov 1, 2015

1: Remove DueDate.assign_topic_deadline and use DeadlineHelper.create_topic_deadline.

2: Create a new method for sorting deadlines in due_date.rb and invoke it from where it uses.

3: Rename setFlag() to adhere to Rails naming conventions.

4: Use the class variables in default_permission method and use conditionally check deadline type using if...else statements.

5: Refactor DeadlineHelper.set_start_due_date method to smaller methods.

@ginlee ginlee closed this Nov 1, 2015
@Winbobob Winbobob added this to the CSC517 2015 Fall OSS Projects milestone Oct 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants