summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [Index] Don’t return a LazySpecification when searching if a local spec ↵seg-implicitly-lock-rubySamuel Giddins2016-10-201-26/+50
| | | | matches
* [Definition] Improve the warning when implicit locked ruby does not matchSamuel Giddins2016-10-201-1/+5
| | | | This should help people who run into version conflicts
* [Definition] Ensure the system ruby version is always resolved forSamuel Giddins2016-10-201-2/+2
|
* Update specs for implicitly locking the ruby versionSamuel Giddins2016-10-209-4/+175
|
* [Definition] Implicitly lock to running ruby version when there is none in ↵Samuel Giddins2016-10-203-29/+171
| | | | the gemfile
* Auto merge of #5104 - hmistry:lock-install-error, r=segiddinsHomu2016-10-202-1/+30
|\ | | | | | | | | | | Fixed bundler incorrectly printing "the gem may have been yanked" in local installs Closes #5022.
| * Fixed bundler incorrectly printing the following error message when ↵hiren mistry2016-10-202-1/+30
|/ | | | attempting to use a gem from the bundle before running the first bundle install. The gem version does exist in the remote gem server. Incorrect error message: '... that version could not be found in any of the sources listed in your Gemfile. If you haven't changed sources, that means the author of (the gem) has removed it'.
* Merge tag 'v1.13.5'Samuel Giddins2016-10-152-1/+7
|\ | | | | | | Version 1.13.5
| * Version 1.13.5 with changelogv1.13.5Samuel Giddins2016-10-152-1/+7
| |
| * Auto merge of #5090 - bundler:aa-missing-specs, r=indirectHomu2016-10-154-5/+78
| | | | | | | | | | | | [Index] Allow pre-release versions in search when the base is pre-release Closes #5089
* | Auto merge of #5090 - bundler:aa-missing-specs, r=indirectHomu2016-10-154-5/+78
|\ \ | | | | | | | | | | | | | | | [Index] Allow pre-release versions in search when the base is pre-release Closes #5089
| * | [RuboCop] Avoid shadowing outer variableaa-missing-specsSamuel Giddins2016-10-141-3/+3
| | |
| * | [Index] Allow pre-release versions when the base is pre-releaseSamuel Giddins2016-10-141-1/+2
| | |
| * | remove extraneous bits, fix gemfilesAndre Arko2016-10-131-6/+1
| | |
| * | add a failing spec for not-found gemsAndre Arko2016-10-131-0/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a kind of weird and specific situation: If, and only if, some version of a gem is installed into system gems (e.g. rack 1.0), then trying to resolve a different version of that gem from a specific remote source (e.g. rack 2.0.1.1.forked) will fail, even though that gem is in fact available from that soure. Uninstalling the unrelated version of rack from system gems completely solves this problem. Alternately, running `bundle update rack` instead of `bundle install` also completely solves this problem. From this I speculate that we are unfairly withholding the rack 2.0.1.1.forked spec from the resolver, even though it was provided by the source.
| * | the fake dependency api should return pre gems tooAndre Arko2016-10-121-1/+5
| | |
| * | include prereleases in the compact indexAndre Arko2016-10-121-2/+4
| | |
* | | Auto merge of #5053 - hmistry:fix-clean-dry-run, r=segiddinsHomu2016-10-152-2/+32
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed the behavior of 'bundle clean --dry-run' to output the list regardless of path set or force option Changed the behavior of 'bundle clean --dry-run' to output the list of gems bundle without having the local path set or providing the '--force' option. This change does not affect the actual behavior of 'bundle clean' which requires either the path being set or use of '--force'. Closes #5027.
| * | | Changed the behavior of 'bundle clean --dry-run' to output the list of gems ↵hiren mistry2016-10-042-2/+32
| | | | | | | | | | | | | | | | bundle without having the local path set or providing the '--force' option. This change does not affect the actual behavior of 'bundle clean' which requires either the path being set or use of '--force'.
* | | | Auto merge of #5085 - bundler:aa-merge-1-13-4, r=segiddinsHomu2016-10-148-18/+36
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | Merge version 1.13.4 into master None
| * | | Merge tag 'v1.13.4'aa-merge-1-13-4Andre Arko2016-10-138-18/+36
| |\ \ \ |/ / / / | | | _ | | | Version 1.13.4
| * | initialize ivar correctly /ht @segiddinsv1.13.4Andre Arko2016-10-131-1/+1
| | |
| * | ruby 1.8 can't even give exit statusesAndre Arko2016-10-131-2/+2
| | | | | | | | | | | | how did this ever pass even once :astonished:
| * | holy crap, what a subtle bugAndre Arko2016-10-133-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | THANK YOU RSPEC BISECT also THANK YOU @SAMPHIPPEN So it turns out that the realworld specs make real life network requests to the real life rubygems.org. But we have some other “realworld” tests that spin up a webrick server to recreate specific pathological server behaviors. And those webrick servers might be able to answer requests from later realworld tests that are expecting the actual rubygems.org, but instead are getting our fake gem server because Artifice was never stopped. :O
| * | correct PR number, ht @chrismoAndre Arko2016-10-121-1/+1
| | |
| * | debug info for error on travisAndre Arko2016-10-121-0/+6
| | |
| * | use the method now that we have itAndre Arko2016-10-121-9/+1
| | |
| * | fix a bad find and replaceAndre Arko2016-10-121-1/+1
| | |
| * | setup that matches the expectationsAndre Arko2016-10-121-2/+2
| | |
| * | :cop:Andre Arko2016-10-121-1/+1
| | |
| * | initialize ivar before useAndre Arko2016-10-121-0/+1
| | |
| * | use realworld versions in realworld testsAndre Arko2016-10-121-2/+10
| | |
| * | oops, backported something that doesn't existAndre Arko2016-10-121-1/+1
| | |
| * | Auto merge of #5077 - bundler:aa-revert-4998, r=indirectHomu2016-10-121-1/+1
| | | | | | | | | | | | | | | | | | Revert "::Rake::CommandFailedError doesn't exist." This reverts commit c5a889ce865cc0314597e9de11e2bee366e797ac.
| * | Version 1.13.4 with changelogAndre Arko2016-10-112-1/+10
| | |
| * | Auto merge of #4977 - chrismo:cons_lock_shared_deps, r=segiddinsHomu2016-10-112-3/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix #4934. Make GVP _after_ eager unlock. When Definition creates the GemVersionPromoter, it needs to do so _after_ it's performed the eager_unlock so the GVP gets the correct list of unlocked gems. Prior to this fix, it had a stricter list of gems being updated with the new `--patch` or `--minor` options used with `bundle update` and in some cases would have inconsistent results when used without a conservative switch or the `--major` option. See #4934 for details.
| * | Auto merge of #5010 - ↵Homu2016-10-112-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aycabta:use-require-instead-of-autoload-for-plugin-api, r=indirect [workaround] Use `require` instead of `autoload` for bundler/plugin/api Please read https://github.com/bundler/bundler/pull/4981#issuecomment-248674155. > But it's elusive reproduction (and lack of test case) makes me think that the problem is a bit deeper and may recur. I think so. This Pull Request is just *workaround*.
| * | Auto merge of #5043 - bundler:aa-use-tmp, r=segiddinsHomu2016-10-112-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use /tmp for mktmpdir As we noticed in #4519, we need to use a temporary directory to hold compact index downloads so that multiple processes don't write to the same files at the same time and break everything. The fix for that was #4561, which added temporary directories to hold all files as they download, and then uses the (atomic) `FileUtils.cp` to move the completed downloads into place, so there is never a point where multiple processes are trying to write into the file at once. Unfortunately, using `Dir.mktmpdir` requires that the parent directory be _either_ world writable or sticky, but not both. Based on #4599, it looks like it's common for home directories to be both world writable and sticky. While that's a security problem by itself, it's not a big concern for Bundler and the compact index. So we want to let users continue to use Bundler, even with the compact index, without having to change the permissions on their home directories. This commit changes the `mktmpdir` call to create the temporary directory inside the default OS tempdir, which is typically `/tmp` or `/var/tmp` depending on distro. Since that directory is designed to hold other temporary directories, that change should (theoretically) reduce or eliminate the problem reported in #4599.
| * | Auto merge of #5064 - bundler:aa-debug-etag-mismatch, r=indirectHomu2016-10-112-13/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | change checksum warning to debug print This was super helpful when the server was continuously returning bad checksums, but it’s a scary warning to see anytime we update the versions file. And we’re going to need to update the versions file at least twice a year, so it seems like a good idea to head off users worrying about a message that is actually things working as intended.
* | | Merge tag 'v1.13.3'Samuel Giddins2016-10-102-1/+7
|\ \ \ | |/ / | | | | | | | | | | | | | | | Version 1.13.3 # Conflicts: # lib/bundler/vendor/compact_index_client/lib/compact_index_client/updater.rb
| * | Version 1.13.3 with changelogv1.13.3Samuel Giddins2016-10-102-1/+7
| | |
| * | [CompactIndexClient::Updater] Support weak etagsSamuel Giddins2016-10-101-1/+1
| | | | | | | | | | | | (cherry picked from commit ece6829c46e4768aae13f970a54017c272bf974d)
* | | Merge tag 'v1.12.6'Samuel Giddins2016-10-102-1/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Version 1.12.6 # Conflicts: # CHANGELOG.md # lib/bundler/vendor/compact_index_client/lib/compact_index_client/updater.rb # lib/bundler/version.rb
| * | | Version 1.12.6 with changelogv1.12.61-12-stableSamuel Giddins2016-10-102-1/+6
| | | |
| * | | Fix usage of select...count to use countSamuel Giddins2016-10-101-1/+1
| | | |
| * | | [CompactIndexClient::Updater] Support weak etagsSamuel Giddins2016-10-101-1/+1
| | | | | | | | | | | | | | | | (cherry picked from commit ece6829c46e4768aae13f970a54017c272bf974d)
* | | | Auto merge of #5055 - bundler:seg-sort-dep-api-gem-names, r=segiddinsHomu2016-10-102-3/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [Fetcher::Dependency] Sort gem names in query string This might slightly help the fastly hit rate? \c @indirect @dwradcliffe
| * | | | Update the dependency fetcher spec to pass in a flat array of gem namesseg-sort-dep-api-gem-namesSamuel Giddins2016-10-091-2/+2
| | | | |
| * | | | [Fetcher::Dependency] Sort gem names in query stringSamuel Giddins2016-10-091-1/+1
| | | | |
* | | | | Auto merge of #5070 - bronzdoc:add_platform_to_env, r=segiddinsHomu2016-10-101-0/+1
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | Add platform information to env Closes https://github.com/bundler/bundler/issues/5069