grodowski / undercover

undercover warns about methods, classes and blocks that were changed without tests, to help you easily find untested code and reduce the number of bugs. It does so by analysing data from git diffs, code structure and SimpleCov coverage reports

Home Page:https://undercover-ci.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rainbow 3.X compatibility

oreststetsiak opened this issue · comments

Hi @grodowski !
rainbow has released 3.X ver in 2017 :)
we actually switched and using it now
and we can not start using undercover now, because dependency in latest version rainbow ~> 2.1:
the issue we have:

ostet@daisy:~/coding/overhaul-backend$bundle install
Warning: the running version of Bundler (1.17.2) is older than the version that created the lockfile (1.17.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies........
Bundler could not find compatible versions for gem "rainbow":
  In snapshot (Gemfile.lock):
    rainbow (= 3.0.0)

  In Gemfile:
    pronto was resolved to 0.10.0, which depends on
      rainbow (>= 2.2, < 4.0)

    pronto-reek was resolved to 0.10.0, which depends on
      reek (>= 4.2, < 6.0) was resolved to 5.3.1, which depends on
        rainbow (>= 2.0, < 4.0)

    rubocop-rails_config was resolved to 0.4.3, which depends on
      rubocop (~> 0.58) was resolved to 0.63.1, which depends on
        rainbow (>= 2.2.2, < 4.0)

    undercover (~> 0.3.0) was resolved to 0.3.0, which depends on
      rainbow (~> 2.1)

Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.

would be nice to have undercover compatible with latest rainbow
thanks in advance for any help
have a nice day!

Thanks for submitting the issue @oreststetsiak. I've optimistically installed dependabot to all repos related to undercover to prevent these in the future. Let's see what it does.

works fine, thanks a lot @grodowski