Skip to content

Add Time#ceil and Time#floor core extensions. #39828

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

Merged

Conversation

tgxworld
Copy link
Contributor

Summary

As per the discussion in #39698 (comment)

Other Information

@tgxworld tgxworld force-pushed the backward_patches_for_time_floor_ceil branch from 6b1871a to ae61809 Compare July 13, 2020 04:32
@tgxworld
Copy link
Contributor Author

@pixeltrix This is still a draft while I clarify with the Ruby team regarding Time#ceil's behavior vs Rational#ceil and Float#ceil.

@tgxworld tgxworld force-pushed the backward_patches_for_time_floor_ceil branch 2 times, most recently from 24ef2b5 to 6acfe66 Compare July 13, 2020 12:45
@tgxworld tgxworld force-pushed the backward_patches_for_time_floor_ceil branch 3 times, most recently from 4a3de70 to c9b8379 Compare August 5, 2020 08:33
@tgxworld
Copy link
Contributor Author

tgxworld commented Aug 5, 2020

@pixeltrix https://bugs.ruby-lang.org/issues/17025 got fixed in ruby/ruby#3362 so I've marked the PR to be ready for view :)

@tgxworld tgxworld marked this pull request as ready for review August 5, 2020 08:34
@tgxworld tgxworld force-pushed the backward_patches_for_time_floor_ceil branch from c9b8379 to 9230b5b Compare August 5, 2020 08:35
@tgxworld tgxworld changed the title Add Time#ceil and Time#floor for Ruby versions < 2.7 Add Time#ceil and Time#floor core extensions. Aug 5, 2020
@tgxworld tgxworld force-pushed the backward_patches_for_time_floor_ceil branch from 9230b5b to 5b28ba9 Compare August 5, 2020 08:36
@rafaelfranca rafaelfranca merged commit fcb5f90 into rails:master Oct 30, 2020
@tgxworld tgxworld deleted the backward_patches_for_time_floor_ceil branch November 2, 2020 01:19
@tgxworld
Copy link
Contributor Author

tgxworld commented Nov 2, 2020

Thank you for reviewing @rafaelfranca and @pixeltrix 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants