Skip to content
Commits on Apr 3, 2013
  1. @drbrain

    Fix test-only UnsatisfiablyDependencyError bug

    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
    drbrain committed Apr 3, 2013
  2. @evanphx
  3. @evanphx
  4. @drbrain

    Fix warning

    drbrain committed Apr 2, 2013
  5. @drbrain
  6. @drbrain

    Update Gem::Source <=> test

    drbrain committed Apr 2, 2013
  7. @drbrain

    Give Gem::Specification a bogus source

    This allows proper ordering when choosing sources
    drbrain committed Apr 2, 2013
  8. @drbrain
  9. @drbrain

    Revert "DependencyResolver doesn't use Gem::Specification"

    This reverts commit 5450015.
    drbrain committed Apr 2, 2013
  10. @drbrain

    DependencyResolver doesn't use Gem::Specification

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

    Fixed warnings

    drbrain committed Apr 2, 2013
  3. @drbrain

    Only use install_dir with --install-dir

    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.
    drbrain committed Apr 2, 2013
Commits on Apr 1, 2013
  1. @drbrain
  2. @drbrain

    Add prerelease support to InstallerSet

    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.
    drbrain committed Apr 1, 2013
  3. @drbrain

    Moved --minimal-deps test

    drbrain committed Apr 1, 2013
  4. @drbrain

    Match --minimal-deps test to its description

    `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.
    drbrain committed Apr 1, 2013
  5. @drbrain

    Fix --ignore-dependencies

    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).
    drbrain committed Apr 1, 2013
  6. @drbrain

    Remove newline for clarity

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

    InstallerSet now finds the correct local .gem

    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.
    drbrain committed Mar 29, 2013
  2. @drbrain
  3. @drbrain

    Implement --ignore-dependencies

    The test still fails as named gems are not installed even if they
    already exist.
    drbrain committed Mar 29, 2013
  4. @drbrain

    Implement deep development dependency installation

    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.
    drbrain committed Mar 29, 2013
Commits on Mar 29, 2013
  1. @drbrain

    Fix installation with installed gems

    This fixes breakage added in other DependencyInstaller tests after
    adding recognition of installed gems.
    drbrain committed Mar 29, 2013
  2. @drbrain

    Installed source doesn't need initialization

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

    Ignore /*.gemspec

    drbrain committed Mar 29, 2013
  4. @drbrain

    Revert accidental `git add .`

    drbrain committed Mar 29, 2013
  5. @drbrain

    Prefer installed gems over remote gems

    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.
    drbrain committed Mar 29, 2013
  6. @drbrain

    Add only installed gems in DependencyInstaller

    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.
    drbrain committed Mar 29, 2013
  7. @drbrain

    Support installing development dependencies

    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.
    drbrain committed Mar 29, 2013
Commits on Mar 28, 2013
  1. @evanphx
  2. @drbrain

    Begin move to DependencyResolver for installation

    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.
    drbrain committed Mar 28, 2013
Commits on Mar 27, 2013
  1. @drbrain

    Fixed @9fb90c0 for ruby 1.8.7

    drbrain committed Mar 26, 2013
Something went wrong with that request. Please try again.