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

Make CarrierWave::MiniMagick#mini_magic_image private #1804

Merged

Conversation

mehlah
Copy link
Member

@mehlah mehlah commented Dec 29, 2015

I think CarrierWave::MiniMagick#mini_magic_image method doesn't need to be part of the public API, at least to keep a symmetry between MiniMagick and RMagick processors (more at #1805).
This method is used by the new public #width and #height methods (introduced by #1405).
This commit also fixes a typo in the method name (magick instead of magic).

Any thoughts?

This method doesn't need to be part of the public API. It's used by
the new public `#width` and `#height` methods (introduced by carrierwaveuploader#1405).

This commit also fixes a typo in the method name and tweaks the comments.
@thomasfedb
Copy link
Contributor

Thanks @mehlah. I'm happy with this change. While it represents a breaking change, we're going into a major version release, so that's acceptable.

I'm going to restart the build on CI, and if it passes then I'll get this merged.

thomasfedb added a commit that referenced this pull request Dec 30, 2015
Make `CarrierWave::MiniMagick#mini_magic_image` private
@thomasfedb thomasfedb merged commit 05890e1 into carrierwaveuploader:master Dec 30, 2015
mehlah pushed a commit to mehlah/carrierwave that referenced this pull request Dec 30, 2015
This was introduced by a bad merge of carrierwaveuploader#1804 and carrierwaveuploader#1806 which both were
based on master and  added the `private` keyword for two different
methods.
@mehlah mehlah deleted the minimagick_method_visibility branch December 31, 2015 11:26
mynock pushed a commit to mynock/carrierwave that referenced this pull request Aug 9, 2016
This was introduced by a bad merge of carrierwaveuploader#1804 and carrierwaveuploader#1806 which both were
based on master and  added the `private` keyword for two different
methods.
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.

None yet

2 participants