Toxic Elephant

Don't bury it in your back yard!

Opinions about Ruby gem development, 2018 edition

Posted by matijs 31/12/2018 at 15h46

  • Your next release should nearly always come from the master branch.
  • When updating your feature branch, prefer git rebase master over git merge master.
  • When merging your feature into master, prefer merge bubbles over squash merges and fast-forwards.
  • bundle exec rake should run your tests.
  • You still should not check in Gemfile.lock.
  • Use RuboCop. Running just rubocop should do the right thing. If you need a specific version, add it to the Gemfile. In that case, bundle exec rubocop should do the right thing.

Tags , , no comments no trackbacks

Comments

Comments are disabled