summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [FriendlyErrors] Update specs for the release of 2.5.0seg-rubygems-2.5.0-config-fixSamuel Giddins2015-11-111-1/+13
|
* update travis build filesAndre Arko2015-11-102-14/+7
| | | | | | - add new rubygems 2.5.0 - update rubygems 2.2.3 to 2.2.5 - remove rbx-2, it has never passed - stop testing Ruby 1.9.2, it’s unused enough now
* Merge pull request #4083 from bundler/retry-http-on-zlib-errorAndré Medeiros2015-11-101-1/+2
|\ | | | | Retry Fetch operation on Zlib error.
| * Require Zlib on the Fetcherretry-http-on-zlib-errorAndre Medeiros2015-11-091-0/+1
| | | | | | | | | | I really don't like this solution, but it's the simplest one so we can recover from that error on 1.8.7.
| * Retry Fetch operation on Zlib error.Andre Medeiros2015-10-281-1/+1
| | | | | | | | This fixes #4074
* | Auto merge of #4076 - bundler:handle-psych-errors, r=segiddinsHomu2015-10-293-0/+35
|\ \ | |/ |/| | | | | | | Handle invalid RubyGems config files Fixes #4042.
| * Handle invalid RubyGems config fileshandle-psych-errorsAgis Anastasopoulos2015-10-283-0/+35
|/ | | | Fixes #4042.
* Auto merge of #4077 - bundler:extract-exception-classes, r=indirectHomu2015-10-282-71/+83
|\ | | | | | | | | Extract exception classes to a separate file
| * Extract exception classes to a separate fileextract-exception-classesAgis Anastasopoulos2015-10-272-71/+83
|/
* Auto merge of #4075 - bundler:reraise-orig-exception, r=segiddinsHomu2015-10-272-1/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Fix Gem::SystemExitException initialization Previously, we would attempt to initialize `Gem::SystemExitException` without an argument, which would result in an `ArgumentError` since the argument is required (from Rubygems 1.3 all the way to 2.4). I don't know how we missed this all this time. Maybe that path is not even hit anymore. Anyway, we don't even have to initialize a new exception, just re-raising the one we've rescued is sufficient.
| * Fix Gem::SystemExitException initializationreraise-orig-exceptionAgis Anastasopoulos2015-10-262-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | Previously, we would attempt to initialize Gem::SystemExitException without an argument, which would result in an `ArgumentError` since the argument is required (from Rubygems 1.3 all the way to 2.4). I don't know how we missed this all this time. Maybe that path is not even hit anymore. Anyway, we don't even have to initialize a new exception, just re-raising the one we've rescued is sufficient.
* | Merge pull request #4069 from goughy000/fix-ssl-verify-mode-settingAndré Arko2015-10-262-1/+8
|\ \ | |/ |/| Make SSL Verify Mode a number setting
| * Make SSL Verify Mode a number settingGough, Jack2015-10-212-1/+8
| |
* | Auto merge of #4072 - bundler:rubygems-gemdeps-warn, r=indirectHomu2015-10-262-0/+23
|\ \ | | | | | | | | | | | | | | | Warn if RUBYGEMS_GEMDEPS env. variable is set Closes #3656.
| * | Warn if RUBYGEMS_GEMDEPS env. variable is setrubygems-gemdeps-warnAgis Anastasopoulos2015-10-252-0/+23
| |/ | | | | | | Closes #3656.
* | Merge pull request #4071 from bundler/show-git-revAndré Arko2015-10-254-5/+29
|\ \ | |/ |/| Include revision hash in Source::Git#to_s
| * Include revision hash in Source::Git#to_sshow-git-revAgis Anastasopoulos2015-10-254-5/+29
|/ | | | | | | | | This effectively changes the output of commands that use Source::Git#to_s (ie. `bundle install`). For example: Using rack 1.0.0 from git@github.com:rack/rack.git (at master@574b147) Closes #3433.
* Merge pull request #4040 from bundler/original-source-headerAndré Arko2015-10-2110-4/+172
|\ | | | | Send X-Gemfile-Source header to source mirrors
| * Set X-Gemfile-Source when fetching gemsoriginal-source-headerAgis Anastasopoulos2015-10-204-1/+79
| | | | | | | | | | Since gemstash will only support RubyGems >= 2.4 (bundler/gemstash#32), we only set this header in RubyGems 2.0+.
| * Introduce GemRemoteFetcherAgis Anastasopoulos2015-10-202-0/+42
| | | | | | | | | | This is essentially Gem::RemoteFetcher with added support for setting extra HTTP headers to be sent when fetching the gems.
| * Set X-Gemfile-Source when fetching dependenciesAgis Anastasopoulos2015-10-202-1/+32
| |
| * Save original URIs in Rubygems remotesAgis Anastasopoulos2015-10-202-2/+19
|/ | | | | Using `Source::Rubygems::Remote#original_uri` we can now retrieve the original, unmirrored rubygem source URI.
* Auto merge of #4035 - bundler:seg-update-rubocop, r=segiddinsHomu2015-10-198-63/+147
|\ | | | | | | | | [RuboCop] Update to 0.34.2
| * [RuboCop] Autocorrect offenses after rebaseSamuel Giddins2015-10-182-4/+2
| |
| * [RuboCop] Regenerate todo file with new file excludesSamuel Giddins2015-10-183-53/+140
| |
| * [RuboCop] Update to 0.34.1Samuel Giddins2015-10-185-9/+8
|/
* Auto merge of #4026 - bundler:seg-resolve-ruby-version, r=indirectHomu2015-10-187-10/+52
|\ | | | | | | | | | | [Resolver] Resolve for a given ruby version Take the definition's ruby version into account when resolving, to try and avoid conflicts with incompatible `required_ruby_version`s. This will mostly help once the compact index is in use.
| * [RuboCop] Double quotesseg-resolve-ruby-versionSamuel Giddins2015-10-021-2/+2
| |
| * [Resolver] Add spec for taking ruby version into accountSamuel Giddins2015-10-021-0/+29
| |
| * Add support for building a spec with a required_ruby_versionSamuel Giddins2015-10-021-0/+4
| |
| * [Resolver] Banish uninitialized ivar warningSamuel Giddins2015-10-021-1/+1
| |
| * [Path] Update spec for wrapping path in backticksSamuel Giddins2015-10-021-1/+1
| |
| * [Definition] Handle when there is no ruby_versionSamuel E. Giddins2015-10-021-1/+2
| |
| * [Resolver] Resolve for a given ruby versionSamuel Giddins2015-10-014-9/+17
| |
* | Auto merge of #4061 - bundler:seg-dir-no-gemspec, r=indirectHomu2015-10-172-1/+19
|\ \ | | | | | | | | | | | | | | | [Index] Handle when comparing against an index with no gemspec Closes #4004.
| * | [Index] Handle when comparing against an index with no gemspecseg-dir-no-gemspecSamuel Giddins2015-10-162-1/+19
|/ /
* | Auto merge of #4052 - bundler:excessive-dots, r=segiddinsHomu2015-10-131-6/+6
|\ \ | | | | | | | | | | | | | | | | | | Remove excessive periods from DSL error messages Apparently, a period is already added when interpolating those messages, some lines below.
| * | Remove excessive periods from DSL error messagesexcessive-dotsAgis Anastasopoulos2015-10-121-6/+6
| | | | | | | | | | | | | | | Apparently, a period is already added when interpolating those messages, some lines below.
* | | Auto merge of #4051 - backus:fix/autoloading-nonexistant-constant, r=segiddinsHomu2015-10-121-1/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | Remove `autoload :Specification` This constant isn't defined anymore
| * | | Remove `autoload :Specification`John Backus2015-10-111-1/+0
| | | | | | | | | | | | | | | | | | | | - This class was removed in 2010 but the autoload was neglected 64b8b5 - Closes #4050
* | | | Auto merge of #4047 - A5308Y:master, r=indirectHomu2015-10-121-58/+70
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring config.rb My main goal was to show the structure of the run method: 1. Guard Clauses 2. Message to user 3. Save new settings and to separate the message texts from the rest of the logic. So the class and methods are easier to understand read. While doing that I reduced the complexity of the run method by extracting methods. This should improve the Code Climate rating of Bundler::CLI::Config substantially.
| * | | Refactoring config.rbAndreas Hellwig2015-10-101-58/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | My main goal was to show the structure of the run method: 1. Guard Clauses 2. Message to user 3. Save new settings and to separate the message texts from the rest of the logic. So the class and methods are easier to understand read. While doing that I reduced the complexity of the run method by extracting methods. This should improve the Code Climate rating of Bundler::CLI::Config substantially.
* | | | Auto merge of #4049 - bundler:more-env-specs, r=segiddinsHomu2015-10-121-3/+46
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Add more `Env` tests
| * | | | Add more `Env` testsmore-env-specsAgis Anastasopoulos2015-10-111-3/+46
| |/ / /
* | | | Auto merge of #4039 - Zorbash:typo-gem-helper, r=segiddinsHomu2015-10-101-1/+1
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | Add missing backtick in Bundler::GemHelper#sh Since across the codebase and documentation shell commands are displayed wrapped in backticks, the command included in the error output of Bundler::GemHelper#sh should also be displayed in the same format.
| * | | Add missing backtick in Bundler::GemHelper#shDimitris Zorbas2015-10-061-1/+1
| |/ / | | | | | | | | | | | | | | | Since across the codebase and documentation shell commands are displayed wrapped in backticks, the command included in the error output of Bundler::GemHelper#sh should also be displayed in the same format.
* | | Auto merge of #4038 - Sirupsen:test-ext-fix, r=indirectHomu2015-10-071-0/+22
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clean: add test for not removing git extensions artifacts Unfortunately https://github.com/bundler/bundler/pull/4030 was merged before I had a chance to write a test. I confirmed that the test did not pass before my patch. Any ETA of 1.10.7 which includes #4030? :heart: @indirect @segiddins @andremedeiros @skottler
| * | | clean: add test for not removing git extensions artifactsSimon Eskildsen2015-10-061-0/+22
| |/ /
* | | appease rubocopAndre Arko2015-10-061-1/+1
| | |
* | | update edge cases to only lock if possibleAndre Arko2015-10-062-17/+27
| | | | | | | | | | | | this speeds up these tests by a huge amount, since we stop downloading and installing a crapton of gems live over the internet