summaryrefslogtreecommitdiff
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Limit edgecases spec to what as 4.2.7 is compatible withseg-resolver-consider-locked-deps-firstSamuel Giddins2017-01-141-1/+1
|
* Add a realworld spec for partial updates failing on locked, shared, ↵Samuel Giddins2017-01-141-0/+136
| | | | transitive children
* [GitProxy] Use shellwords to escape user inputseg-git-branch-hashSamuel Giddins2017-01-052-4/+63
|
* [GitProxy] Support branches containing shell metacharactersSamuel Giddins2017-01-042-4/+35
|
* Auto merge of #5298 - bundler:seg-cli-gem-override, r=indirectThe Bundler Bot2017-01-041-0/+8
|\ | | | | | | | | | | | | | | [CLI] Dont override Kernel#gem for bundle gem Should fix #5296 Since `Kernel#require` calls into `Kernel#gem` as an instance method on `self`, overriding the `gem` method can lead to bad things happening
| * [CLI] Fail gracefully when multiple names are passed to `bundle gem`seg-cli-gem-overrideSamuel Giddins2017-01-021-0/+8
| |
* | [CLI::Open] Support exiting when selecting gemseg-open-exitSamuel Giddins2017-01-021-0/+7
|/
* Auto merge of #5284 - amatsuda:mri_25, r=segiddinsThe Bundler Bot2016-12-271-2/+2
|\ | | | | | | | | | | | | | | Support :mri_25 platform and its variations The next ruby version is decided to be 2.5 🎉 https://github.com/ruby/ruby/commit/1a47fcadd675601c5b9c4e69d49def28fc3b61af I'm not requesting you the bundler team to rush for a new release for this, but I guess it's not too early to have this definition in master.
| * Support :mri_25 platform and its variationsAkira Matsuda2016-12-261-2/+2
| |
* | Auto merge of #5278 - bundler:seg-worker-thread-creation-failure, r=indirectThe Bundler Bot2016-12-271-0/+22
|\ \ | | | | | | | | | [Worker] Fail gracefully when creating threads fails
| * | [Worker] Fail gracefully when creating threads failsseg-worker-thread-creation-failureSamuel Giddins2016-12-251-0/+22
| | |
* | | Auto merge of #5276 - bundler:seg-platform-docs, r=indirectThe Bundler Bot2016-12-274-5/+66
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Document 1.14 platform changes See https://github.com/bundler/bundler/issues/4853 @indirect feel free to add any other docs you think might be helpful to this branch
| * | | [PostitTrampoline] Rename env varsseg-platform-docsSamuel Giddins2016-12-262-5/+5
| | | |
| * | | Also check for docs of number & bool keys in the quality specSamuel Giddins2016-12-261-2/+10
| | | |
| * | | Ensure the quality spec is runnable on 1.8.7Samuel Giddins2016-12-261-1/+1
| | | |
| * | | Add a spec for BUNDLE_IGNORE_CONFIGSamuel Giddins2016-12-261-0/+9
| | | |
| * | | [Docs] Document disable_checksum_validationSamuel Giddins2016-12-261-1/+0
| | | |
| * | | [Docs] Document specific_platformSamuel Giddins2016-12-261-1/+0
| | | |
| * | | [Quality] Add a spec for documentation of settingsSamuel Giddins2016-12-261-0/+46
| | |/ | |/|
* | | Auto merge of #5277 - bundler:Paxa-master, r=segiddinsThe Bundler Bot2016-12-273-7/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | Don't include dev deps in Index#dependency_names See #5256
| * | | Remove unecessary hack in the specsPaxa-masterSamuel Giddins2016-12-251-7/+0
| | | |
| * | | Add a spec for Index#dependency_names not include dev depsSamuel Giddins2016-12-242-0/+12
| | |/ | |/|
* | | Add specs for falling back to 1 thread when the lockfile is corruptseg-parallel-installer-missing-specs-warningSamuel Giddins2016-12-262-15/+47
| |/ |/|
* | Auto merge of #5023 - renuo:4854-gemnotfound-error, r=segiddinsThe Bundler Bot2016-12-243-3/+18
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | 4854 gemnotfound error Fixes broken test Wanting to help out, I was on the outlook for something easy to fix in bundler. I stumbled upon this issue #4854, which was already tackled by @b-ggs but somehow not merged yet. I went on to check whether I could do something. Here's what I've come up with: @b-ggs' PR included everything to solve the issue, but introduced the use of `Bundler.app_cache` in the resolver. This works out just fine until you run `bundle plugin install`, which does not seem to require a Gemfile. `Bundler.app_cache` however calls `root`, which then again tries to find a Gemfile. This obviously fails and raises a `GemfileNotFound` exception. The error message "Could not locate Gemfile or .bundle/ directory" starts very similar to the one expected in the failing test ("Could not find"). This however, is a completely different error. The solution is now is to rescue the GemfileNotFound error when it comes up to here. All credit for solving the issue goes to @b-ggs and his PR here: https://github.com/bundler/bundler/pull/4865
| * Merge remote-tracking branch 'origin/master' into 4854-gemnotfound-errorDiego Steiner2016-09-2738-136/+744
| |\
| * | Update failing specBoggs2016-08-171-1/+1
| | |
| * | Update specsBoggs2016-08-172-2/+17
| | |
* | | Auto merge of #5273 - chrismo:new-pr-4734, r=segiddinsThe Bundler Bot2016-12-231-0/+27
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specs for multiple platform bug fix in outdated. This supersedes PR #4734, which fixed a bug but didn't have proper spec coverage. Since that PR was submitted, a different commit (291a807c in PR #5176) fixed a similar bug at the same time. That caused a merge conflict in #4734. It was unknown if the same fix fixed both bugs, since there were no successfully implemented specs. These specs show that the bug was properly fixed. These specs were mostly already implemented by @b-ggs, just needed a little additional guidance.
| * | | Specs for multiple platform bug fix in outdated.chrismo2016-12-231-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This supersedes PR #4734, which fixed a bug but didn't have proper spec coverage. Since that PR was submitted, a different commit (291a807c in PR #5176) fixed a similar bug at the same time. That caused a merge conflict in #4734. It was unknown if the same fix fixed both bugs, since there were no successfully implemented specs. These specs show that the bug was properly fixed. These specs were mostly already implemented by @b-ggs, just needed a little additional guidance.
* | | | Auto merge of #5209 - bundler:seg-spec-improvements, r=indirectThe Bundler Bot2016-12-223-26/+37
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Random spec improvements Called "sam has a flight and forgot to run `rake spec:deps`"
| * | | | Define the artifice module in fail.rbseg-spec-improvementsSamuel Giddins2016-12-221-0/+2
| | | | | | | | | | | | | | | | | | | | This is so persistent will use our override class
| * | | | Also load net/https before stubbing Net::HTTPSamuel Giddins2016-12-211-1/+11
| | | | |
| * | | | Avoid using the Fail endpoint when we want to request against localhostSamuel Giddins2016-12-211-2/+2
| | | | |
| * | | | Don’t use Artifice for the fail endpointSamuel Giddins2016-12-211-10/+17
| | | | | | | | | | | | | | | | | | | | This avoids loading rack, which conflicts with some specs
| * | | | Verify no un-mocked requests are being made in the specsSamuel Giddins2016-12-211-1/+3
| | | | |
| * | | | Use the bundle helper when calling bundle_rubySamuel Giddins2016-12-211-12/+2
| | | | |
| * | | | Use a regexp instead of a convoluted start_with? method callSamuel Giddins2016-12-211-1/+1
| | | | |
* | | | | Auto merge of #5261 - bundler:seg-specs-2.4-fix, r=segiddinsThe Bundler Bot2016-12-212-4/+6
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | Fix the specs on Ruby 2.4
| * | | | Fix the specs on Ruby 2.4seg-specs-2.4-fixSamuel Giddins2016-12-201-0/+2
| | | | |
| * | | | Remove rubygems.org from gemfiles in the specsSamuel Giddins2016-12-182-4/+4
| |/ / /
* | | | Auto merge of #5247 - colby-swandale:missing-new-line-on-fetch, r=segiddinsThe Bundler Bot2016-12-192-2/+18
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new line for before priring BundlerError errors This PR is fixing a problem where the warnings and errors on a `bundle install` using an invalid source are not being put on a newline correctly. ``` › bundle install Fetching source index from https://www.google.com/ Retrying fetcher due to error (2/4): Bundler::HTTPError Could not fetch specs from https://www.google.com/ Retrying fetcher due to error (3/4): Bundler::HTTPError Could not fetch specs from https://www.google.com/ Retrying fetcher due to error (4/4): Bundler::HTTPError Could not fetch specs from https://www.google.com/Could not fetch specs from https://www.google.com/ ``` This is happening because the new lines for the warnings are being printed before the error itself. This behaviour is happening due to another UI problem, see https://github.com/bundler/bundler/commit/2ac26bc88ba30b28aba6e11c9b2d04cdb0276a25. Maybe a better way of fixing this problem is to add a new line to the exception message itself rather then what i have submitted. Its a bit of a weird one. Let me know.
| * | | [Retry] Add newline before printing the final errorSamuel Giddins2016-12-182-3/+2
| | | |
| * | | remove old heredoc terminatorColby Swandale2016-12-171-1/+0
| | | |
| * | | add missing slashColby Swandale2016-12-171-1/+1
| | | |
| * | | add failing spec for error not being printed on a new lineColby Swandale2016-12-171-0/+18
| | | |
* | | | Auto merge of #5240 - smathy:update_post_install_messages, r=segiddinsThe Bundler Bot2016-12-171-0/+77
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | `bundle update` post install messages Currently post install messages are only displayed for `bundle install` not for `bundle update`. This PR fixes that so they're displayed for both, and includes a small refactor of some duplicated functionality between `install` and `update`
| * | | | Use `bundle!` in specsJason King2016-12-091-4/+4
| | | | |
| * | | | Specs for update post-install messagesJason King2016-12-081-0/+77
| | | | |
* | | | | Auto merge of #5231 - bundler:seg-lock-add-platform-ruby, r=indirectThe Bundler Bot2016-12-171-0/+6
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | [Lock] Fix --add-platform ruby Necessary since the ruby platform is a string instead of a platform object Closes #5230
| * | | | [Lock] Fix --add-platform rubyseg-lock-add-platform-rubySamuel Giddins2016-12-051-0/+6
| |/ / / | | | | | | | | | | | | Necessary since the ruby platform is a string instead of a platform object