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

Expand the CI matrix to include recent versions of Prawn and Ruby #55

Merged
merged 2 commits into from
Sep 1, 2022
Merged

Expand the CI matrix to include recent versions of Prawn and Ruby #55

merged 2 commits into from
Sep 1, 2022

Conversation

petergoldstein
Copy link
Contributor

@petergoldstein petergoldstein commented Feb 11, 2022

This PR adds Prawn 2.4 and Ruby 3.1 the CI matrix.
This PR also:

  • Addresses a number of Rubocop issues to get things green
  • Adds PDFs in the root to .gitignore to avoid accidentally committing rake legend output
  • Bumps the minimum Ruby version in the gemspec to 2.6

Addressed a number of Rubocop issues to get things green
Added PDFs in the root to .gitignore to avoid accidentally committing rake legend output
Bumped the minimum Ruby version in the gemspec to 2.6
@jessedoyle
Copy link
Owner

Hey thanks @petergoldstein, I totally missed this!

The PR looks great, I'll give it a look over in the next few days but we should be able to merge it!

* Remove a few older/legacy versions of Prawn/Ruby from the
  CI Matrix. Going forward, let's plan on supporting the latest
  of Prawn 1.X, 2.X as well as Ruby 2.X and 3.X.
* Lock rubocop to the current latest minor version and enable
  new cops. With the lock, we shouldn't get any sporadic CI failures.
* Resolve all rubocop warnings, as well as remove a few exclusions
  that were no longer necessary, or we trivial to fix.
* Don't use the safe navigation operator (and disable the rubocop
  check) as it constitutes a breaking change for some folks.

SEE: #55
Copy link
Owner

@jessedoyle jessedoyle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I pushed (and amended) a commit to your branch! The one thing I'm hoping to avoid is any breaking changes here. Therefore I avoided use of the safe navigation operator as well as changing our required minimum Ruby/Rubygems versions.

@@ -5,3 +5,4 @@ Gemfile.lock
coverage/
vendor/bundle
.bundle
/*.pdf
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 - thanks!

@jessedoyle jessedoyle merged commit c4f787e into jessedoyle:master Sep 1, 2022
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