-
Notifications
You must be signed in to change notification settings - Fork 47
Description
I believe it is best practices to do so in ruby (as it helps ensure consistent testing/debugging) but it's especially relevant here, as nothing in the Gemfile
is version locked.
An example why this is needed:
I just forked this repository and ran bundle update
(I couldn't use bundle install
due to the lack of a lockfile), and I am immediately seeing rubocop
erroring out due to the fact two of the cops (Layout/IndentArray
and Layout/IndentHash
) listed in the config have since been renamed.
My choices are to either:
a) Guess at the intended version of rubocop
using the times gem log .rubocop.yml
, adding the version lock to the Gemfile
and re-running bundle update
, or;
b) Update the .rubocop.yml
.
Obviously, either solution requires changes to a file tracked by git, which I would then have to pick around.