Skip to content

Conversation

@issyl0
Copy link
Contributor

@issyl0 issyl0 commented Jan 2, 2025

rubocop.yml Outdated
Comment on lines 396 to 392
- puts
- yield
Copy link
Member

Choose a reason for hiding this comment

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

I think these should follow the rule. Do we have many of them to warrant an exception?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In prawn-dev there are 7 yields and 2 puts. In prawn there are 70 yields and 11 puts.

Copy link
Member

Choose a reason for hiding this comment

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

Thanks for the stats. Let's keep yield here but make puts follow the rule.

Ideally I'd like yield follow the rule, too, but it looks like a lot of work.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done! Sorry it took so long!

@pointlessone
Copy link
Member

  • Hi, this is quick!
  • Docs exceptions probably should go into .rubocop.yml. rubocop.yml is a shared config for a bunch of Prawn gems.
  • MFA is fine, we have it enabled already.

- I don't have enough expertise to document these, so I'll leave this as an exercise for the actual maintainers if they deem it necessary.
@issyl0
Copy link
Contributor Author

issyl0 commented Jan 4, 2025

  • Hi, this is quick!

Hah, thanks for the review!

  • Docs exceptions probably should go into .rubocop.yml. rubocop.yml is a shared config for a bunch of Prawn gems.

Oh yeah, that makes more sense. Done.

  • MFA is fine, we have it enabled already.

Great - just thought I’d check.

@issyl0 issyl0 requested a review from pointlessone January 4, 2025 14:14
@issyl0
Copy link
Contributor Author

issyl0 commented Jan 11, 2025

All comments addressed. This, hopefully, should be good to go! (When the gem is bumped I’ll do a PR to prawn to fix the things over there.)

@pointlessone pointlessone merged commit 68e3cf9 into prawnpdf:main Jan 12, 2025
@pointlessone
Copy link
Member

@issyl0 Thank you.

@pointlessone
Copy link
Member

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants