summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | gemspec allow conflictsSamuel Giddins2016-06-047-11/+34
|/ / /
* | | [Inline] Install when necessaryseg-inline-install-when-neededSamuel Giddins2016-05-312-4/+14
| | | | | | | | | | | | The RubyGems change just means setting remote! will always cause specs to be fetched remotely
* | | Auto merge of #4606 - allenzhao:handle-yanked, r=RochesterinNYCHomu2016-05-301-2/+17
|\ \ \ | | | | | | | | | | | | | | | | | | | | Handle yanked gems Close #4344
| * | | Fix specAllen Zhao2016-05-291-1/+1
| | | |
| * | | Handle yanked gemsAllen Zhao2016-05-241-2/+17
| | | |
* | | | Auto merge of #4610 - b-ggs:binstub-standalone, r=RochesterinNYCHomu2016-05-292-0/+4
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add standalone flag to binstubs Add `--standalone` flag to `binstubs` Fix #4594 @RochesterinNYC @segiddins
| * | | Make spec context more specific, modify standalone option descriptionBoggs2016-05-261-1/+1
| | | |
| * | | Add standalone flag to binstubs, fix #4594Boggs2016-05-252-0/+4
| | |/ | |/|
* | | Merge tag 'v1.12.5'Samuel Giddins2016-05-251-1/+1
|\ \ \ | | | | | | | | | | | | Version 1.12.5
| * | | Version 1.12.5 with changelogv1.12.5Samuel Giddins2016-05-251-1/+1
| | | |
| * | | Auto merge of #4607 - will-in-wi:clean_up_workers, r=segiddinsHomu2016-05-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up worker threads once done with them Right now, the thread pools created by CompactIndex are not cleaned up once they are done. I assume that over time, they would be garbage collected, but in the meantime there could be 200+ threads running. Many shared hosts have fork bomb protection set up which kills Bundler. This patch will clean up the threads as soon as they are done, keeping the total number of active threads at any one time to a minimum. Fixes https://github.com/bundler/bundler/issues/4367
| * | | Auto merge of #4611 - BrianHawley:fix_20160524_require_env, r=segiddinsHomu2016-05-251-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Fix the combination of gem :require and env or install_if If you guard the installation of a gem with `env` or `install_if`, and that gem declaration has a `:require` option specified, it tried to require the gem even though it hadn't been installed. It looks like a spot was missed when the `env` command was added in the first place.
| * | | Auto merge of #4598 - bundler:seg-exec-help-with-dash, r=RochesterinNYCHomu2016-05-252-24/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [CLI] Only redirect to help when first two args are help and exec Closes #4596. \c @RochesterinNYC @b-ggs
* | | | Auto merge of #4607 - will-in-wi:clean_up_workers, r=segiddinsHomu2016-05-261-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up worker threads once done with them Right now, the thread pools created by CompactIndex are not cleaned up once they are done. I assume that over time, they would be garbage collected, but in the meantime there could be 200+ threads running. Many shared hosts have fork bomb protection set up which kills Bundler. This patch will clean up the threads as soon as they are done, keeping the total number of active threads at any one time to a minimum. Fixes https://github.com/bundler/bundler/issues/4367
| * | | | Switch to tapWilliam Johnston2016-05-241-4/+1
| | | | |
| * | | | Clean up worker threads once done with them.William Johnston2016-05-241-1/+4
| | |/ / | |/| |
* | | | Fix the combination of gem :require and env or install_ifBrian Hawley2016-05-241-3/+3
|/ / / | | | | | | | | | | | | | | | | | | If you guard the installation of a gem with env or install_if, and that gem declaration has a :require option specified, it tried to require the gem even though it hadn't been installed. It looks like a spot was missed when the env command was added in the first place.
* | | [CLI] Only redirect to help whel first two args are help and execseg-exec-help-with-dashSamuel Giddins2016-05-232-24/+9
| |/ |/|
* | Auto merge of #4585 - RochesterinNYC:eval-gemfile-expanded-pathing, r=segiddinsHomu2016-05-211-1/+5
|\ \ | | | | | | | | | | | | | | | Use the full expanded path of passed `Gemfile` during `eval_gemfile` - fixes #4584
| * | Add integration spec for restoring `@gemfile` after `eval_gemfile`James Wen2016-05-181-1/+1
| | |
| * | Restore original gemfile to `@gemfile` after nested `eval_gemfile`James Wen2016-05-181-1/+5
| | |
| * | Use the full expanded path of passed Gemfile during `eval_gemfile`James Wen2016-05-181-1/+1
| | |
* | | Merge tag 'v1.12.4'Samuel Giddins2016-05-161-1/+1
|\ \ \ | | |/ | |/| | | | Version 1.12.4
| * | Version 1.12.4 with changelogv1.12.4Samuel Giddins2016-05-161-1/+1
| | |
| * | Auto merge of #4558 - bundler:seg-index-platform-ruby-default, r=segiddinsHomu2016-05-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | [Index] Ensure nil and "ruby" platforms are treated identically Fixes #4557. @indirect @RochesterinNYC ideas on how to test this?
| * | Auto merge of #4446 - Cohen-Carlisle:non-rubygem-push, r=segiddinsHomu2016-05-161-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | don't error on missing rubygem cred if custom host only raise error asking user to set rubygem credentials during gem push if `allowed_push_host` is not set. Fixes https://github.com/bundler/bundler/issues/4437 Apologies if this is a half baked PR. - I looked around to add tests for this, but there is little test coverage over this area I simply wasn't sure how to add a test around this particular change. - I also wasn't sure where to put this in the `CHANGELOG` as the latest entry there is already released.
| * | Auto merge of #4386 - bundler:seg-fix-dash-pre, r=segiddinsHomu2016-05-161-1/+1
| | | | | | | | | | | | | | | | | | [Git] Fix checking for equality when a version includes a - Closes #4385.
| * | Auto merge of #4561 - domcleal:4519-concurrent-ci-updater, r=indirectHomu2016-05-161-22/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Safely store concurrent compact index downloads When bundler is run concurrently using the same bundle dir in $HOME, the versions file can be updated from two processes at once. The download has been changed to a temporary file, which is securely moved into place over the original. If retrying the update operation, the original file is no longer immediately deleted and instead a full download is performed, later overwriting the original file if successful. If two processes are updating in parallel, this should ensure the original file isn't corrupted and that both processes succeed. - Fixes #4519 --- This would be useful on 1.12.x if possible, since the new caching behaviour with a shared home directory is causing the errors described in #4519.
* | | Auto merge of #4558 - bundler:seg-index-platform-ruby-default, r=segiddinsHomu2016-05-161-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | [Index] Ensure nil and "ruby" platforms are treated identically Fixes #4557. @indirect @RochesterinNYC ideas on how to test this?
| * | | [Index] Use spec.full_name as hash keyseg-index-platform-ruby-defaultSamuel Giddins2016-05-161-2/+2
| | | |
| * | | [Index] Ensure nil and "ruby" platforms are treated identicallySamuel Giddins2016-05-091-2/+2
| | | |
* | | | Auto merge of #4471 - grzuy:remove_unused_method, r=indirectHomu2016-05-161-8/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleans up unused Runtime#dependencies_for method Hi! I was checking out things in the code and couldn't find any existent usage of this method. I might be missing something but opening the PR just in case. The method seems to be publicly accessible if someone goes `Bundler.load.dependencies_for(...)` e.g., but i am assuming that's not something "officially supported" anyways?
| * | | | Removes unused Runtime#dependencies_for methodGonzalo2016-04-271-8/+0
| | | | |
* | | | | Auto merge of #4386 - bundler:seg-fix-dash-pre, r=segiddinsHomu2016-05-161-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [Git] Fix checking for equality when a version includes a - Closes #4385.
| * | | | | [Git] Normalize gem versions in a manner compatible with old rubygemsSamuel Giddins2016-03-281-1/+1
| | | | | |
| * | | | | [Git] Fix checking for equality when a version includes a -Samuel Giddins2016-03-281-1/+1
| | | | | |
* | | | | | Auto merge of #4561 - domcleal:4519-concurrent-ci-updater, r=indirectHomu2016-05-161-22/+32
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Safely store concurrent compact index downloads When bundler is run concurrently using the same bundle dir in $HOME, the versions file can be updated from two processes at once. The download has been changed to a temporary file, which is securely moved into place over the original. If retrying the update operation, the original file is no longer immediately deleted and instead a full download is performed, later overwriting the original file if successful. If two processes are updating in parallel, this should ensure the original file isn't corrupted and that both processes succeed. - Fixes #4519 --- This would be useful on 1.12.x if possible, since the new caching behaviour with a shared home directory is causing the errors described in #4519.
| * | | | | | Safely store concurrent compact index downloadsDominic Cleal2016-05-101-22/+32
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When bundler is run concurrently using the same bundle dir in $HOME, the versions file can be updated from two processes at once. The download has been changed to a temporary file, which is securely moved into place over the original. If retrying the update operation, the original file is no longer immediately deleted and instead a full download is performed, later overwriting the original file if successful. If two processes are updating in parallel, this should ensure the original file isn't corrupted and that both processes succeed. - Fixes #4519
* | | | | | Auto merge of #4446 - Cohen-Carlisle:non-rubygem-push, r=segiddinsHomu2016-05-161-3/+3
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | don't error on missing rubygem cred if custom host only raise error asking user to set rubygem credentials during gem push if `allowed_push_host` is not set. Fixes https://github.com/bundler/bundler/issues/4437 Apologies if this is a half baked PR. - I looked around to add tests for this, but there is little test coverage over this area I simply wasn't sure how to add a test around this particular change. - I also wasn't sure where to put this in the `CHANGELOG` as the latest entry there is already released.
| * | | | | don't error on missing rubygem cred if custom hostCohen Carlisle2016-04-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | only raise error asking user to set rubygem credentials during gem push if `allowed_push_host` is not set.
* | | | | | Auto merge of #4465 - ↵Homu2016-05-101-5/+5
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RochesterinNYC:only-show-potential-updates-on-same-platform, r=RochesterinNYC Only show potential updates on same platform for `bundle outdated` This fixes the following behavior: Say you're using a gem `laduradura` on platform `java` with version `v1.0.1`. The latest `java` platform version of this gem is `v1.0.1` but the latest `ruby` platform version of this gem is `v1.0.2`. Running `bundle outdated` will currently tell you that you can update `laduradura` to `v1.0.2`. This is a bad user experience as the user is given the suggestion to update `laduradura` to `v1.0.2`, despite this version being on a completely different platform than the one that the user is currently using `laduradura` on. With this PR, `bundle outdated` will only report potential version updates to gems for the same platforms those gems are being used on. - Fixes #4450
| * | | | | Only report same platform gem updates for `bundle outdated`James Wen2016-04-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - `bundle outdated` will now only show updates for a gem if there are available updates for that gem on the same platform - ex. gem `laduradura` is being used on ruby platform but updates are available on gem `laduradura` for java platform = do not display potential update versions for java
| * | | | | Rename `active_spec` to `active_specs` for points in execution where itJames Wen2016-04-251-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | is an array of specs
* | | | | | Merge tag 'v1.12.3'Samuel Giddins2016-05-061-1/+1
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | Version 1.12.3
| * | | | | Version 1.12.3 with changelogv1.12.3Samuel Giddins2016-05-061-1/+1
| | | | | |
| * | | | | Auto merge of #4531 - bundler:seg-compact-index-fallback-no-home, r=indirectHomu2016-05-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | [CompactIndex] Fall back when the user's home directory is not writable
| * | | | | Auto merge of #4530 - bundler:seg-install-no-no-install, r=indirectHomu2016-05-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | [Install] Don't set :no_install unecessarily
* | | | | | Auto merge of #4531 - bundler:seg-compact-index-fallback-no-home, r=indirectHomu2016-05-071-0/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | [CompactIndex] Fall back when the user's home directory is not writable
| * | | | | | [CompactIndex] Fall back when the user's home directory is not writableseg-compact-index-fallback-no-homeSamuel Giddins2016-05-061-0/+2
| | | | | | |
* | | | | | | [Install] Don't set :no_install unecessarilyseg-install-no-no-installSamuel Giddins2016-05-061-2/+2
|/ / / / / /