summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add a setting for disable_exec_loadseg-disable-exec-loadSamuel Giddins2016-08-103-1/+13
|
* Auto merge of #4842 - bundler:seg-setup-trampoline, r=indirectHomu2016-08-092-6/+9
|\ | | | | | | | | | | [Setup] Only add bundler to the load path if we havent trampolined @indirect this should fix the stack overflow bug!
| * [Setup] Only add bundler to the load path if we havent trampolinedseg-setup-trampolineSamuel Giddins2016-08-052-6/+9
| |
* | Auto merge of #4831 - bundler:seg-offline-new-index, r=indirectHomu2016-08-098-10/+141
|\ \ | | | | | | | | | | | | | | | Allow installing / updating when everything necessary is available locally This should ideally have some tests, but right now it's behind a feature flag
| * | Fix network fail simulation on Ruby < 2.0seg-offline-new-indexSamuel Giddins2016-08-081-1/+3
| | |
| * | Add specs for allow_offline_installSamuel Giddins2016-08-052-0/+113
| | |
| * | Allow updating a git repo at a custom pathSamuel Giddins2016-08-051-1/+2
| | |
| * | [Shell] Ensure debug? returns true or false and not nilSamuel Giddins2016-08-051-1/+1
| | |
| * | Allow installing / updating when everything necessary is available locallySamuel Giddins2016-08-053-7/+22
| | |
| * | [GitProxy] Wrap retry command name in backticksSamuel Giddins2016-08-051-1/+1
| |/
* | Auto merge of #4840 - bundler:seg-unlock-locals, r=indirectHomu2016-08-093-3/+25
|\ \ | | | | | | | | | | | | | | | | | | Unlock sources when a local override leads to changes Closes #4838. Requires tests
| * | Add a spec for unlocking when adding a dep & switching to a local sourceseg-unlock-localsSamuel Giddins2016-08-051-0/+21
| | |
| * | Unlock sources when a local override leads to changesSamuel Giddins2016-08-052-3/+4
| |/
* | Auto merge of #4834 - bundler:seg-installation-errors, r=indirectHomu2016-08-096-34/+57
|\ \ | | | | | | | | | | | | | | | [Install] Print errors at the end of installation instead of inline This needs test coverage
| * | [ParallelInstaller] Account for lines returning an Enumerator in old rubiesseg-installation-errorsSamuel Giddins2016-08-051-1/+1
| | |
| * | [ParallelInstaller] Check for proper exception classSamuel Giddins2016-08-041-1/+1
| | |
| * | [Installer] Move post-install messages to be an instance attributeSamuel Giddins2016-08-044-15/+14
| | |
| * | [ParallelInstaller] Only raise when there is an errorSamuel Giddins2016-08-041-1/+9
| | |
| * | [Install] Print errors at the end of installation instead of inlineSamuel Giddins2016-08-043-25/+41
| | |
* | | Auto merge of #4847 - Zorbash:binstubs-manpage, r=indirectHomu2016-08-091-0/+29
|\ \ \ | |_|/ |/| | | | | | | | | | | Add manpage for bundle-binstubs This PR is intended to resolve https://github.com/bundler/bundler/issues/4000.
| * | Add manpage for bundle-binstubsDimitris Zorbas2016-08-061-0/+29
|/ /
* | Auto merge of #4839 - bundler:seg-travis-output, r=indirectHomu2016-08-054-12/+14
|\ \ | |/ |/| | | Clean up spec output on Travis
| * Clean up spec output on Travisseg-travis-outputSamuel Giddins2016-08-042-2/+5
| |
| * Silence gem helper spec outputSamuel Giddins2016-08-041-4/+4
| |
| * [CompactIndex] Avoid initialized variable warningSamuel Giddins2016-08-041-6/+5
| |
* | Auto merge of #4824 - spk:optionable-annotate-tag, r=indirectHomu2016-08-051-1/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | Allow signed tags on rake release Removing `--annotate` option does not change default behaviour Since git 2.9.0 its possible to configure signed tag with `tag.forceSignAnnotated` to true Cheers
| * Allow signed tags on rake releaseLaurent Arnoud2016-07-301-1/+1
| | | | | | | | | | | | | | Removing `--annotate` option does not change default behaviour Since git 2.9.0 its possible to configure signed tag with `tag.forceSignAnnotated` to true
* | Auto merge of #4765 - mistydemeo:linkage, r=indirectHomu2016-08-044-0/+174
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WIP: add command to check dynamic library linkage This new command, linkage, checks for broken dynamic library links in C extensions. I'd heard there was some interest in adding this functionality, so I thought I'd submit a preliminary PR for discussion. In my experience, broken dylib linkage is a common issue with C extensions, so I think having a good way to diagnose it would be valuable. This command scans all of the specifications in the bundle for .bundle files in C extensions. If any of the dynamic libraries linked against no longer exist, bundler will report a message to the console and exit non-0. TODOs: * Add support for non-Darwin OSs * Improve tests A few questions: * Is there a good way to mock functionality in the tests? Doing it in the standard rspec way isn't working since `bundle :command` runs in a subprocess. I'd like to be able to stub out stuff that actually checks dylibs and the like. * Is making this a new command the right approach? I assumed this wouldn't be ideal to include in, say, `check` because it would slow it down.
| * | doctor: use Bundler::NULLMisty De Meo2016-08-021-2/+2
| | |
| * | doctor: gems not being installed isn't fatalMisty De Meo2016-08-022-5/+2
| | |
| * | bundle.ronn: add doctorMisty De Meo2016-08-021-0/+3
| | |
| * | doctor: return stub result if no dylib tool installedMisty De Meo2016-08-021-0/+10
| | | | | | | | | | | | | | | This will eventually support other tests, so the dylib test needs to be able to to meaningfully return an empty result
| * | Add command to diagnose common issuesMisty De Meo2016-08-023-0/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This new command, doctor, checks for common problems. Currently, it looks for broken dynamic library links in C extensions. It scans all of the specifications in the bundle for .bundle files in C extensions. If any of the dynamic libraries linked against no longer exist, bundler will report a message to the console.
* | | Auto merge of #4832 - bundler:seg-remove-environment, r=indirectHomu2016-08-048-97/+48
|\ \ \ | | | | | | | | | | | | | | | | | | | | Remove Bundler::Environment Pretty straightforward refactoring
| * | | Remove 0.9 upgrade compatibilityseg-remove-environmentSamuel Giddins2016-08-034-50/+0
| | | |
| * | | [Binstubs] Update for Installer not inheriting from EnvironmentSamuel Giddins2016-08-031-1/+1
| | | |
| * | | Remove Bundler::EnvironmentSamuel Giddins2016-08-035-53/+54
|/ / /
* | | Auto merge of #4828 - bundler:seg-expect-err, r=indirectHomu2016-08-0328-141/+145
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove expect_err from the specs & print all output on a spec failure This now also appends all executed commands to failed examples, meaning we don't have to scroll up to see the output from a failing test: ``` Failures: 1) The library itself does not contain any warnings Failure/Error: sys_exec!("ruby -w -I.") do |input, _, _| lib_files.each do |f| input.puts "require '#{f}'" end input.puts "abort 'fdsfds'" end RuntimeError: Invoking sys_exec!("ruby -w -I.") failed: fdsfds Commands: $ ruby -w -I. fdsfds # $? => 1 # ./spec/quality_spec.rb:205:in `block (3 levels) in <top (required)>' # ./spec/quality_spec.rb:196:in `chdir' # ./spec/quality_spec.rb:196:in `block (2 levels) in <top (required)>' ```
| * | | Update resolving specs for not printing errors immediatelyseg-expect-errSamuel Giddins2016-08-032-11/+7
| | | |
| * | | Ensure all output is printed at the end of failure/error message tooSamuel Giddins2016-08-031-1/+7
| | | |
| * | | Remove expect_err from the specs & print all output on a spec failureSamuel Giddins2016-08-0327-131/+133
|/ / /
* | | Auto merge of #4816 - bundler:seg-unhack-viz, r=indirectHomu2016-08-0365-509/+672
|\ \ \ | | | | | | | | | | | | [Graph] Remove monkey-patching of Gem::Dependency
| * | | Fix precondition negated matchingseg-unhack-vizSamuel Giddins2016-08-022-4/+12
| | | |
| * | | Use `include_gem` as the matcher nameSamuel Giddins2016-08-0250-397/+398
| | | |
| * | | [CodeClimate] Ignore RakefileSamuel Giddins2016-08-021-0/+1
| | | |
| * | | Only expect no gemspec warnings on 2.4+Samuel Giddins2016-08-021-1/+5
| | | |
| * | | Remove focus from the lockfile specSamuel Giddins2016-08-021-1/+1
| | | |
| * | | Move the gem_command helper to existing execution infrastructureSamuel Giddins2016-08-024-16/+18
| | | |
| * | | [Gemspec] Address warning for rdiscount dependencySamuel Giddins2016-08-021-1/+1
| | | |
| * | | Allow the binstubs to work with multi-part requirementsSamuel Giddins2016-08-023-3/+3
| | | |