Skip to content

Fast forward 12 years of Ruby evolution #12

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ameuret
Copy link

@ameuret ameuret commented May 20, 2025

  • Remove dependency on ActiveSupport
  • Remove dependency on RCov
  • Fix tests

Opinionated change: leap years are counted as one year and one day instead of counting every single year as 365.2525. I find this a lot more human-friendly.

The time difference in seconds between dates is unchanged.

ameuret added 2 commits May 20, 2025 14:47
Debugged the existing approach but this leaves to be desired when days
aren't 0 and hours or minutes are.
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.

1 participant