You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following line in my Gemfile caused Style/IpAddresses to report a failure:
gem'autoprefixer-rails','10.0.0.2'
Not sure if there's a graceful way to tell the difference between IP addresses and versions. I suppose you could check for gem lines or references to version or VERSION to cover most cases.
The following line in my
Gemfile
causedStyle/IpAddresses
to report a failure:Not sure if there's a graceful way to tell the difference between IP addresses and versions. I suppose you could check for
gem
lines or references toversion
orVERSION
to cover most cases.Expected behavior
No violation should be reported.
Actual behavior
A violation is reported.
Steps to reproduce the problem
Add any version with 4 numbers to your Gemfile.
RuboCop version
The text was updated successfully, but these errors were encountered: