mongodb/mongo-ruby-driver

View on GitHub
.evergreen/tools.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method download_url has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def download_url
    @download_url ||= begin
      info = JSON.load(uri_open('http://downloads.mongodb.org/current.json').read)
      version = info['versions'].detect do |version|
        version['version'].start_with?(desired_version) &&
Severity: Minor
Found in .evergreen/tools.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status