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

Remove core extensions, add until. #15

Merged
merged 2 commits into from
Dec 17, 2023
Merged

Remove core extensions, add until. #15

merged 2 commits into from
Dec 17, 2023

Conversation

schwern
Copy link
Owner

@schwern schwern commented Dec 17, 2023

until is a keyword, and so is end. We'll go with from/to.

Also

  • Remove quarter, easy to do with by: 3.months

Closes #14
Closes #13

Simplifies everything greatly. We need it anyway.

We can do a version without ActiveSupport if folks want it.

Also
* Remove all the core overrides, it's rude for a gem to do that.
  They were for the app TimeIterator came from.
* Remove `quarter`, a user can do a 3 month duration.
Having a special Enumerator for infinite iteration is potentially a
smidge faster.
@schwern schwern merged commit 9a32aa1 into main Dec 17, 2023
3 checks passed
@schwern schwern deleted the issue/#14 branch December 17, 2023 05:11
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.

Remove the core overrides. Add an optional until argument
1 participant