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

FIX#54 compatibility defaults with AwesomePrint #59

Closed
wants to merge 1 commit into from

Conversation

kikonen
Copy link

@kikonen kikonen commented Oct 1, 2020

FIX #54

Compatibility logic with AwesomePrint .aprc config file

@kikonen kikonen force-pushed the aprc_compatibility branch from 4bdfac0 to 59b5cf1 Compare October 1, 2020 18:44
@kikonen
Copy link
Author

kikonen commented Oct 2, 2020

It's better to discard this hacky approach and simply not use ".aprc" config file in this gem, but its' own config file to avoid conflict.

@kikonen kikonen marked this pull request as draft October 2, 2020 05:26
@kikonen kikonen marked this pull request as ready for review October 2, 2020 18:54
Comment on lines +3 to +9
unless defined? AwesomePrint
class AwesomePrint
def self.defaults=(default_values)
AmazingPrint.defaults = default_values
end
end
end
Copy link
Member

Choose a reason for hiding this comment

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

I'm not really a fan of defining the old AwesomePrint here.

Copy link
Author

Choose a reason for hiding this comment

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

Yes, absolutely would be better to have own config file, which does not conflict

@kikonen kikonen closed this Nov 7, 2020
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.

Conflict with user configuration file
2 participants