Skip to content

Clean up CSVEnumerator #594

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
merged 2 commits into from
Jul 14, 2025
Merged

Clean up CSVEnumerator #594

merged 2 commits into from
Jul 14, 2025

Conversation

Mangara
Copy link
Contributor

@Mangara Mangara commented Jul 14, 2025

This PR removes a work-around for Ruby 2.6 that is no longer necessary. It also ensures that calling size on a batch CSV enumerator returns nil if the file path cannot be found, instead of 0.

@Mangara Mangara self-assigned this Jul 14, 2025
@Mangara Mangara changed the title Mangara count lines Clean up CSVEnumerator Jul 14, 2025
@Mangara
Copy link
Contributor Author

Mangara commented Jul 14, 2025

The Rails 7.1 CI failures are caused by sidekiq/sidekiq#6746 which will be fixed in the next Sidekiq release.

@Mangara Mangara merged commit 2a5bfb7 into main Jul 14, 2025
39 of 45 checks passed
@Mangara Mangara deleted the mangara-count-lines branch July 14, 2025 13:53
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.

2 participants