Simply Business homepage
  • Business insurance

    • Business Insurance FAQs

    Business insurance covers

  • Support
  • Claims
  • Sign In
Call Us0333 0146 683
Our opening hours
Tech blog

Remember to update your Ruby Gem Version on every pull request

1-minute read

Karan Shah

Karan Shah

8 December 2020

Share on FacebookShare on TwitterShare on LinkedIn

Gems are truly outrageous

So there you are, making some awesome changes to your Gem. You create a pull request. It gets approved. You merge.

And then it dawns on you. You forgot to bump the version.

Your CI/CD starts to fail and panic strikes as you fumble about trying to make another pull request just to bump the version and save the day.

We’ve all been there. Updating your Ruby Gem version is such a trivial task that happens on every pull request. Yet still we forget.

No more!

Simply Business technology

Introducing Version Forget-Me-Not

The Application Tooling team at Simply Business has created Version Forget-Me-Not - an open source GitHub Action, for the sole purpose of never having to remember to bump the version again. Because life’s too short for that.

And you can install it easily from the GitHub marketplace to use with your own Ruby Gems!

How it works

Once installed, every time you make a pull request but forget to bump the version, Version Forget-Me-Not will check to see whether your Gem's version has been updated and stop you from merging your pull request if you've forgotten. It will look like this:

Version Forget-Me-Not check version

Forgot to update your Gem version? Version Forget-Me-Not will remind you.

As soon as you update the version, Version Forget-Me-Not will display a green tick, allowing you to merge:

Version Forget-Me-Not merge

This GitHub Action supports both the Gemspec and the version.rb file, so no matter how you manage your Gem’s version, Version Forget-Me-Not has got your back.

Installation

Installation is easy, just follow the instructions for Version Forget-Me-Not on the GitHub Marketplace.

Contributing

If you have any suggestions or improvements to Version Forget-Me-Not, feel free to raise a pull request at the open source repository on GitHub. Your contributions are welcome!

All in all, the engineering teams at Simply Business use the Version Forget-Me-Not GitHub Action extensively to maintain our Gems. We hope you find it as useful as we do!

See our latest technology team opportunities

If you see a position that suits, why not apply today?

Find out more

We create this content for general information purposes and it should not be taken as advice. Always take professional advice. Read our full disclaimer

Find this article useful? Spread the word.

Share on Facebook
Share on Twitter
Share on LinkedIn

Keep up to date with Simply Business. Subscribe to our monthly newsletter and follow us on social media.

Subscribe to our newsletter

Insurance

Public liability insuranceBusiness insuranceProfessional indemnity insuranceEmployers’ liability insuranceLandlord insuranceTradesman insuranceSelf-employed insuranceRestaurant insuranceVan insuranceInsurers

Address

6th Floor99 Gresham StreetLondonEC2V 7NG

Northampton 900900 Pavilion DriveNorthamptonNN4 7RG

© Copyright 2024 Simply Business. All Rights Reserved. Simply Business is a trading name of Xbridge Limited which is authorised and regulated by the Financial Conduct Authority (Financial Services Registration No: 313348). Xbridge Limited (No: 3967717) has its registered office at 6th Floor, 99 Gresham Street, London, EC2V 7NG.