You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: dry-run.rb
    path of file: ./repos/dependabot-core/bin
    
    the code of the file until where you have to start completion: #!/usr/bin/env ruby
# typed: false
# frozen_string_literal: true

# This script executes a full update run for a given repo (optionally for a
# specific dependency only), and shows the proposed changes to any dependency
# files without actually creating a pull request.
#
# It's used regularly by the Dependabot team to manually debug issues
    
def ignored_versions_for(dep)
  if $options[:ignore_conditions].any?
    ignore_conditions = $options[:ignore_conditions].map do |ic|
      Dependabot::Config::IgnoreCondition.new(
        dependency_name: ic["dependency-name"],
        versions: [ic["version-requirement"]].compact,
        update_types: ic["update-types"]
      )
    end
    Dependabot::Config::UpdateConfig.new(ignore_conditions: ignore_conditions)
                                    .ignored_versions_for(dep, security_updates_only: $options[:security_updates_only])
  else
    $update_config.ignored_versions_for(dep)
  end