Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jun 26, 2013
  1. @evanphx
Commits on Jun 25, 2013
  1. @evanphx
  2. @drbrain
  3. @drbrain

    Force minitest 4.7 on travis

    drbrain authored
  4. @drbrain

    Improve conflict messaging

    drbrain authored
    RubyGems now has improved output for dependency conflicts:
    
        $ ruby -Ilib bin/gem install my_gem -i ~/tmp/gems
        ERROR:  While executing gem ... (Gem::ImpossibleDependenciesError)
            rye-0.9.8 requires net-ssh (>= 2.0.13) but it conflicted:
          Activated net-ssh-2.6.7 instead of (~> 2.2.2) via:
            vagrant-1.0.7, my_gem2-0, my_gem-0
          Activated net-ssh-2.2.2 instead of (>= 2.6.5) via:
            net-scp-1.1.1, rye-0.9.8, my_gem-0
    
    Now the dependency and its requirement are printed along with the nature
    of the conflict and the path taken that resulted in the conflict.
    
    Fixes #485
  5. @drbrain

    Tweak pretty-print output

    drbrain authored
  6. @drbrain

    Restore -V following #283

    drbrain authored
  7. @drbrain

    Revert 0989fed restoring rubygems to minitest 4.x

    drbrain authored
    This also clears the installer hooks in TestGemInstaller to prevent them
    from leaking and infecting other tests.
Commits on Jun 24, 2013
  1. @drbrain
  2. @drbrain
  3. @drbrain
  4. @evanphx
  5. @evanphx
Commits on Jun 21, 2013
  1. @drbrain

    Add #521 to History

    drbrain authored
  2. @gramos @drbrain

    refactor, added helper make_spec_c1 all tests green

    gramos authored drbrain committed
  3. @gramos @drbrain

    move test_self_activate_ambiguous_indirect_conflict to test_gem_speci…

    gramos authored drbrain committed
    …fication.rb
  4. @gramos @drbrain

    move more activate test cases to test_gem_specification.rb

    gramos authored drbrain committed
  5. @gramos @drbrain

    move more activate test cases to test_gem_specification.rb

    gramos authored drbrain committed
  6. @gramos @drbrain

    move more activate test cases to test_gem_specification.rb

    gramos authored drbrain committed
  7. @gramos @drbrain

    - move more activate test cases to test_gem_specification.rb - move s…

    gramos authored drbrain committed
    …ome helper methods to rubygems/test_case.rb
  8. @gramos @drbrain

    - move test_self_activate_via_require and test_self_activate_deep_una…

    gramos authored drbrain committed
    …mbiguous to test_gem_specification.rb file.
    
    - move loaded_spec_names and save_loaded_features
      to rubygems/test_case.rb
Commits on Jun 15, 2013
  1. @drbrain

    Extract extract_build_args from Gem::GemRunner#run

    drbrain authored
    Also removes the TODO about slice!, replacing multiple rewrites via []
    with slice! and shift.
    
    Fixes #524
  2. @drbrain

    Update history for #520

    drbrain authored
  3. @drbrain

    Merge pull request #520 from gramos/move-common-installer-setup

    drbrain authored
    Move common installer setup stuff to a helper method
  4. @drbrain

    Raise a FormatError when a gem's files are corrupt

    drbrain authored
    Previously if the tar entry was corrupt RubyGems would raise an
    arbitrary error.  Now StandardError is captured and a FormatError is
    raised instead which allows the user to examine and possibly delete the
    corrupt file.
    
    Fixes #519
  5. @drbrain
  6. @drbrain

    Convert non-string dependency names to strings

    drbrain authored
    Apparently some people used non-string dependency names at one time and
    older RubyGems supported this.  See also rubygems/bundler-api #33.
    
    Fixes #505
  7. @drbrain

    Fix creation of build_info with --install-dir

    drbrain authored
    Gem::Specification#build_info_file does not respect the install dir as
    the specification has not been installed yet.  Now we build the destination
    by hand.
    
    Fixes #457
Commits on Jun 14, 2013
  1. @drbrain

    Match test name to method name

    drbrain authored
  2. @drbrain
  3. @drbrain

    Move some Gem::Request tests to test_gem_request

    drbrain authored
    While #283 moved features over to Gem::Request it did not move the
    corresponding tests.  This follows up that work by moving over more of
    the tests.
  4. @drbrain

    Update history for #283

    drbrain authored
  5. @steveklabnik @drbrain

    Moved proxy caclulation into Request.

    steveklabnik authored drbrain committed
  6. @steveklabnik @drbrain

    Extracted user_agent into Request class.

    steveklabnik authored drbrain committed
  7. @steveklabnik @drbrain

    Extracted request into a method object.

    steveklabnik authored drbrain committed
    This will open the door for much more change in the future.
    
    More things could be pulled into this object, but I'm not
    ready to fight with all the tests such things break yet.
    Basically, #user_agent and the @proxy_uri variable are
    only used within this method, but there are a bunch of
    tests that hack at their internal state.
Something went wrong with that request. Please try again.