mongodb/mongoid

View on GitHub
.evergreen/get-mongodb-download-url

Summary

Maintainability
Test Coverage
#!/usr/bin/env ruby

desired_version, arch = ARGV
if arch.nil?
  STDERR.puts "Usage: get-mongodb-download-url desired-version arch"
  exit 1
end

$: << File.join(File.dirname(__FILE__), '../spec/shared/lib')
require 'mrss/server_version_registry'

puts Mrss::ServerVersionRegistry.new(desired_version, arch).download_url