aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler
Commit message (Collapse)AuthorAgeFilesLines
* add certs needed to validate index.rubygems.orgAndre Arko2016-03-123-0/+126
|
* [RubygemsIntegration] Add support for new activate_bin_path binstubsSamuel Giddins2016-03-122-16/+23
|
* Allow `Bundler::RubyVersion` to handle `RUBY_PATCHLEVEL` of -1James Wen2016-03-121-0/+3
| | | | - Closes #4317
* [Fetcher] Switch from bundler.rubygems.org to index.rubygems.orgSamuel Giddins2016-03-111-1/+1
|
* Update changelog for 1.12.0.pre.2Samuel Giddins2016-02-261-1/+1
|
* Auto merge of #4308 - bundler:seg-bundle-no-install, r=indirectHomu2016-02-252-1/+5
|\ | | | | | | | | | | [CLI] Ensure `bundle install` will always install Closes #3966.
| * [CLI] Ensure `bundle install` will always installSamuel Giddins2016-02-172-1/+5
| |
* | Auto merge of #4271 - bundler:seg-load-exec, r=indirectHomu2016-02-251-11/+47
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [Exec] Load instead of exec-ing Proof-of-concept to avoid `exec` where possible, instead just using `load` when we'd be launching the same interpreter anyways. About a .2 second gain in my limited testing. Over a second gain in jruby in my testing, somehow. Not near ready for merging, but pretty cool for an hour of hacking. - [x] Tests - [ ] Centralize error handling - [ ] Raise exceptions instead of exiting
| * | [Exec] Fix loading on 1.8.7Samuel Giddins2016-02-231-1/+1
| | |
| * | [Exec] Improve performance when checking for a ruby shebangSamuel Giddins2016-02-221-2/+6
| | |
| * | [Exec] Filter bundler code from backtrace when load failsSamuel Giddins2016-02-221-1/+2
| | |
| * | [Exec] Set $0 when loadingSamuel Giddins2016-02-221-0/+1
| | |
| * | [Exec] Ensure failure loading is printed to STDERRSamuel Giddins2016-02-221-2/+1
| | |
| * | [Exec] Load instead of exec-ingSamuel Giddins2016-02-221-11/+42
| | |
* | | Auto merge of #4272 - bundler:git-extension-rebuild, r=segiddinsHomu2016-02-254-8/+30
|\ \ \ | | | | | | | | | | | | | | | | | | | | Skip building git gem extensions if they're already built None
| * | | Ensure rubygems functionality is done in rubygemsintegrationSamuel Giddins2016-02-233-2/+11
| | | |
| * | | [RubyGemsIntegration] Reduce code duplication for #validateSamuel Giddins2016-02-231-7/+1
| | | |
| * | | [Path] Set spec installed_by_version so RubyGems will know it has an ↵Samuel Giddins2016-02-231-0/+1
| | | | | | | | | | | | | | | | extensions dir
| * | | Move validation exception messages to the rubygems integration helperSamuel Giddins2016-02-232-1/+8
| | | |
| * | | don’t rebuild already-built git gem extensionsAndre Arko2016-02-232-2/+10
| | | | | | | | | | | | closes #4082
| * | | wait to validate so git gems always have sourcesAndre Arko2016-02-231-1/+4
| | | |
| * | | use our own ivar to memoizeAndre Arko2016-02-231-1/+1
| | | | | | | | | | | | | | | | this guarantees that even if rubygems somehow memoizes a value from the original method, we will use our own value instead.
* | | | Auto merge of #4262 - ↵Homu2016-02-241-4/+15
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | RochesterinNYC:improved-error-message-when-different-platform, r=segiddins Add platform info to error message for different platform in gemspec than Gemfile.lock - Addresses #4259
| * | | Add integration spec for multiple versions and diff platform in gemspecJames Wen2016-02-221-1/+1
| | | |
| * | | Add platform info to error message for different platform in gemspec than ↵James Wen2016-02-221-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | Gemfile.lock - Closes #4259
* | | | Auto merge of #4315 - RochesterinNYC:support-frozen-flag-for-bundle-package, ↵Homu2016-02-231-0/+2
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | r=indirect Add `--frozen` flag support for `bundle package` - Closes #3356
| * | | Add `--frozen` flag support for `bundle package`James Wen2016-02-211-0/+2
| |/ / | | | | | | | | | - Closes #3356
* / / Add `--patch` flag for `bundle outdated`James Wen2016-02-182-4/+13
|/ / | | | | | | | | - `bundle outdated --patch` will only report updates in the patch version (v#.#.patch)
* | Auto merge of #4310 - bundler:seg-molinillo-0.4.3, r=segiddinsHomu2016-02-189-1/+11
|\ \ | | | | | | | | | | | | | | | | | | [Resolver] Update Molinillo to 0.4.3 See https://github.com/CocoaPods/Molinillo/releases/0.4.3. Closes https://github.com/bundler/bundler/issues/4276.
| * | [Resolver] Update Molinillo to 0.4.3Samuel Giddins2016-02-179-1/+11
| |/
* / Fix `--minor` flag behavior for `bundle outdated`James Wen2016-02-181-10/+21
|/ | | | | | - `bundle outdated --minor` should only report updates in the minor version (not "at least minor version") - Create shared example unit spec for ignoring major version updates
* Add helpful message and error handling for non-CGI-escaped authenticationJames Wen2016-02-161-0/+4
| | | | - Closes #4288
* [Fetcher] Support setting http_proxy to :no_proxySamuel Giddins2016-02-151-1/+1
|
* Add error with message/explanation for `bundle outdated` in a frozen stateJames Wen2016-02-151-0/+14
| | | | | - (frozen state ex. after `bundle install --deployment`) - closes #4287
* Refactor path/environment preserver, make it always preserve the PATHReto Kaiser2016-02-142-12/+35
|
* Auto merge of #4291 - ↵Homu2016-02-111-5/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RochesterinNYC:add-clarifying-usage-message-for-deployment-and-system, r=indirect Add alternative error message for when `--deployment` and `--system` flags are both used on `bundle install` Calling `bundle install --deployment --system` currently results in the following error message: ``` $ bundle install --deployment --system You have specified both a path to install your gems to, as well as --system. Please choose. ``` which is a little confusing. This PR changes the behavior to: ``` $ bundle install --deployment --system You have specified both --deployment as well as --system. Please choose. #<-- in red ```
| * Add alternative error message for when `--deployment` and `--system`James Wen2016-02-101-5/+10
| | | | | | | | flags are both used on `bundle install`
* | Auto merge of #4292 - ↵Homu2016-02-112-0/+11
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RochesterinNYC:add-error-message-for-shared-helpers-EPROTO, r=indirect Raise new `Bundler::VirtualProtocolError` in response to `Errno::EPROTO` - Related to #4163, #3932, and #3581 Ideally, a custom error and/or error message would be returned in these cases rather than just error out because of the uncaught `Errno::EPROTO`. I'd like some feedback on what the appropriate error message should be however. The caveat is that it seems like a wide range of errors (possibly any error?) that occur in the presence of virtualization will raise this `Errno::EPROTO` error.
| * | Create `Bundler::VirtualProtocolError` that ↵James Wen2016-02-102-0/+11
| |/ | | | | | | | | | | | | | | `Bundler::SharedHelpers#filesystem_access` will raise in response to Errno::EPROTO - Provides better error message/handling for #4163
* | Auto merge of #4268 - Elffers:hhh_fix_ruby-I, r=indirectHomu2016-02-112-1/+15
|\ \ | |/ |/| | | | | | | | | | | | | | | Place bundler loaded gems after -I and RUBYLIB Previously, gems were being placed at the front of the LOAD_PATH. This meant you couldn't override a gem by setting -I or RUBYLIB. This patch places -I and RUBYLIB in front of loaded gems and matches the behavior in RubyGems.
| * Wrap Gem method as rubygems integrationHsing-Hui Hsu2016-02-072-1/+5
| |
| * Place bundler loaded gems after -I and RUBYLIBHsing-Hui Hsu2016-02-021-1/+11
| | | | | | | | | | | | | | | | Previously, gems were being placed at the front of the LOAD_PATH. This meant you couldn't override a gem by setting -I or RUBYLIB. This patch places -I and RUBYLIB in front of loaded gems and matches the behavior in RubyGems.
* | [RuboCop] Update to 0.37.1Samuel Giddins2016-02-091-15/+4
| |
* | Update changelog for 1.12.0.pre.1Samuel Giddins2016-02-081-1/+1
| |
* | Auto merge of #4280 - ↵Homu2016-02-082-9/+25
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RochesterinNYC:add-porcelain-parseable-flag-bundle-outdated, r=indirect Add --parseable (with --porcelain alias) to `bundle outdated` for minimal output - This flag changes the output of bundle outdated from: ``` * activesupport (newest 3.0, installed 2.3.5, requested = 2.3.5) in groups "development, test" ``` to ``` activesupport (newest 3.0, installed 2.3.5, requested = 2.3.5)" ``` and removes the extraneous output relating to fetching gem metadata, version metadata, git updates, and resolving dependencies. - Addresses bundler/bundler-features#85
| * | Add --parseable (with --porcelain alias) to `bundle outdated` for minimal outputJames Wen2016-02-042-9/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - This flag changes the output of bundle outdated from: ``` * activesupport (newest 3.0, installed 2.3.5, requested = 2.3.5) in groups "development, test" ``` to ``` activesupport (newest 3.0, installed 2.3.5, requested = 2.3.5)" ``` and removes the extraneous output relating to fetching gem metadata, version metadata, git updates, and resolving dependencies. - Addresses bundler/bundler-features#85
* | | Merge pull request #4283 from ↵André Arko2016-02-081-0/+3
|\ \ \ | | | | | | | | | | | | | | | | RochesterinNYC/improve-error-message-invalid-gemspec-for-dependency Add helpful invalid gemspec error message for `bundle install --standalone`
| * | | Add helpful invalid gemspec error message for `bundle installJames Wen2016-02-071-0/+3
| | | | | | | | | | | | | | | | --standalone` when a gem/dependency has an invalid gemspec
* | | | [RuboCop] Update to 0.37.0Samuel Giddins2016-02-051-1/+1
|/ / /
* / / Clarify comment in `bundle gem` gemspecJosh Bodah2016-02-041-2/+2
|/ / | | | | | | | | The comment feels a bit misleading. It sounds like this allows Rubygems pushes by default which it does not