-
-
Notifications
You must be signed in to change notification settings - Fork 135
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
Allow multiple aspect ratios #294
Allow multiple aspect ratios #294
Conversation
7cd2fb0
to
407c718
Compare
Hey @Mth0158, the tests are failing for one case |
Hi @mohammednasser-32, |
FYI you are making breaking changes to the gem (deleting error messages), you should try to not make such breaking changes. Because when we release for change people will have to change their own messages to make the gem work. You could for example keep the messages as they are for the |
407c718
to
2001b38
Compare
@Mth0158 yes right, sorry for the mess..I thought we need to make it similar to content_type (only |
No worries, let me know when it's ready for reviewing :) |
It is 😅 feel free to review it and let me know if further changes are needed..thanks! |
Hi @mohammednasser-32, |
@Mth0158 just a friendly reminder whenever you have the time 🙏😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR,
Overall it is a nice work, however I think your code could be more readable in the validator, it's hard to follow what is happening, I think it's mostly due to your method naming. Maybe try to spend some time improving this? The rest is ok 👍
6d40dba
to
4acaa58
Compare
72134bd
to
f647234
Compare
f647234
to
1631967
Compare
Thanks again for the reveiw! added the changes and rebased |
@mohammednasser-32 better adding new correction commits rather than rebasing the whole thing, it makes the review process quite difficult because I have to start over every time :/ But no worries I'll review it like this, no need to change things now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @mohammednasser-32 for the revamp. But I think there is still room for improvement, I think after this one we are good to go to merge though ;)
f571f49
to
8d18e56
Compare
8d18e56
to
98cfe67
Compare
Thank you again and sorry for how messy this turned 😅 |
Thanks again for your hard work! The PR is a great addition to the gem ✌️ |
Fixes #230
Add support for validating multiple aspect ratios, as done for content types, like: