Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Apr 3, 2013
  1. @drbrain

    Fix test-only UnsatisfiablyDependencyError bug

    drbrain authored
    It seems this bug only exists for the test that checks it directly.
    Presumably "real" use always has a requester.
    
    Remove '' from messaging because I don't like them
  2. @evanphx
  3. @evanphx
  4. @drbrain

    Fix warning

    drbrain authored
  5. @drbrain
  6. @drbrain

    Update Gem::Source <=> test

    drbrain authored
  7. @drbrain

    Give Gem::Specification a bogus source

    drbrain authored
    This allows proper ordering when choosing sources
  8. @drbrain
  9. @drbrain
  10. @drbrain

    DependencyResolver doesn't use Gem::Specification

    drbrain authored
    This fixes the tests to use Gem::DependencyResolver specifications
    instead of Gem::Specification objects.
Commits on Apr 2, 2013
  1. @drbrain
  2. @drbrain

    Fixed warnings

    drbrain authored
  3. @drbrain

    Only use install_dir with --install-dir

    drbrain authored
    This restores behavior of rubygems when GEM_PATH is populated with
    multiple repositories and dependencies can be found in a repository that
    is not being installed-into.
Commits on Apr 1, 2013
  1. @drbrain
  2. @drbrain

    Add prerelease support to InstallerSet

    drbrain authored
    Previously only released remote specs were looked up in InstallerSet.
    Now both released and prerelease remote specs are looked up.
    
    Remote spec lookup is also lazy and deferred until first needed.
  3. @drbrain

    Moved --minimal-deps test

    drbrain authored
  4. @drbrain

    Match --minimal-deps test to its description

    drbrain authored
    `gem help install` says "Don't upgrade any dependencies that already
    meet version requirements" for --minimal-deps.  However, the test does
    not provide an option to upgrade and stops once a direct dependency has
    been met, even if the set is incomplete.
    
    Now we traverse all the dependencies and have a newer version of a
    dependency available to install.  This ensures a complete set is
    installed.
  5. @drbrain

    Fix --ignore-dependencies

    drbrain authored
    Previously the current set of installed gems was used.  This created
    incorrect behavior if the gem was already installed.
    
    Now we rely on the always_install list and return no dependencies unless
    the gem already exists in the always_install list.  This means the gem
    will always be installed (as it was listed).
  6. @drbrain

    Remove newline for clarity

    drbrain authored
  7. @drbrain
  8. @drbrain
Commits on Mar 30, 2013
  1. @drbrain

    InstallerSet now finds the correct local .gem

    drbrain authored
    Previously InstallerSet#find_all would find only the latest version as
    it did not provide the requirement to use.  Now the requirement is given
    which selects the correct version and removes a useless check.
  2. @drbrain
  3. @drbrain

    Implement --ignore-dependencies

    drbrain authored
    The test still fails as named gems are not installed even if they
    already exist.
  4. @drbrain

    Implement deep development dependency installation

    drbrain authored
    For --development, development dependencies are added when creating the
    RequestSet so they don't leak into full resolution.  For
    --development-all, development dependencies are looked up for each gem
    during resolution.
    
    I have no recollection of why --development-all exists in Rubygems, but
    it was probably a bad implementation by me.
Commits on Mar 29, 2013
  1. @drbrain

    Fix installation with installed gems

    drbrain authored
    This fixes breakage added in other DependencyInstaller tests after
    adding recognition of installed gems.
  2. @drbrain

    Installed source doesn't need initialization

    drbrain authored
    DependencyResolver automatically detects that a Source::Installed is
    already installed, so no data from the specification is necessary.
  3. @drbrain

    Ignore /*.gemspec

    drbrain authored
  4. @drbrain

    Revert accidental `git add .`

    drbrain authored
  5. @drbrain

    Prefer installed gems over remote gems

    drbrain authored
    Now DependencyInstaller knows about installed gems via Installer set.
    This allows installed gems that meet a dependency to be preferred over
    local or remote gems.
    
    This minimizes the amount of downloading we do and allows developers to
    install updated but unreleased versions for testing.
  6. @drbrain

    Add only installed gems in DependencyInstaller

    drbrain authored
    RequestSet#install yields nil instead of an installer if the gem was not
    installed, so only gems with an installer should be added to the
    installed list.
    
    This fixes several test errors.
  7. @drbrain

    Support installing development dependencies

    drbrain authored
    Now AvailableSet#to_request_set accepts a development boolean parameter
    which adds the set's development dependencies to the created RequestSet
    when true.  This allows installation of only the direct development
    dependencies.
Commits on Mar 28, 2013
  1. @evanphx
  2. @drbrain

    Begin move to DependencyResolver for installation

    drbrain authored
    This is a work-in-progress that, at least, doesn't give errors for most
    tests.  Due to incomplete integration many DependencyInstaller tests
    still fail due to not installing enough gems.
    
    A new resolver set was added, Gem::DependencyResolver::InstallerSet,
    which handles both local and remote gems.  This should either be merged
    with IndexSet or contain an IndexSet for remote operation.
    
    Also, a typo in UnsatisfiableDependencyError was corrected.
Commits on Mar 27, 2013
  1. @drbrain

    Fixed @9fb90c0 for ruby 1.8.7

    drbrain authored
Something went wrong with that request. Please try again.