/gemfilelock-checker

Gems for checking if Gemfile.lock is being respected

Primary LanguageRuby

Gemfilelock Checker

This project contains two tiny gems for testing Gemfile locks are being respected: checkgem and gemcheck

They both come with a -bin executable for easy testing as well.

To fully test them, make sure you setup first:

$ gem install checkgem -v 0.1.0
$ gem install checkgem -v 0.3.0
$ gem install gemcheck -v 0.2.0
$ gem install gemcheck -v 0.4.0

This way, if your Gemfile.lock has checkgem (0.1.0) and when you require "checkgem"; Checkgem.run it should correctly say:

====================================================================================================
= Checkgem is running 0.1.0 version
====================================================================================================

Also, you can see Ruby gem resolution picking the lastest gem when you run checkgem-bin:

$ checkgem-bin
====================================================================================================
= Checkgem is running 0.3.0 version
====================================================================================================

Meta

Created by Daniel Ribeiro.

Released under the MIT License: http://www.opensource.org/licenses/mit-license.php

http://github.com/danielribeiro/gemfilelock-checker