summaryrefslogtreecommitdiff
path: root/lib/bundler/ui
Commit message (Collapse)AuthorAgeFilesLines
* Respect color option when instantiating shellsDavid Rodríguez2019-05-241-3/+1
| | | | | | | | | | | | | Thor's base shell will be memoized the first time it is set. So if we instantiate a no-color shell first, further instantiations of a bundler shell will be initialized with a no-color shell by default. This is caused some sources specs to fail, depending on the order they run. See for example https://travis-ci.org/bundler/bundler/builds/500328994. What we do to fix it is to reset the shell unless no-color is explicitly specified. That way, further instantiations will rerun thor's internal logic to choose the default shell.
* Remove unnecessary conditionDavid Rodríguez2019-05-241-1/+1
| | | | | The builtin thor's color shell already checks this before printing, and if not a tty, prints just the string without added color codes.
* Prefer `require_relative` for internal requiresDavid Rodríguez2019-04-192-2/+2
| | | | | | | | Due to the way rubygems monkey-patched require interacts with default gems, and given that bundler is a default gem, and that bundler manipulates the LOAD_PATH in very intricated ways, we can reduce the risk of "leaking" to a different copy of `bundler` by using `require_relative` for internal requires.
* Print errors to stderr by default, and remove configuration optionGrey Baker2019-04-121-4/+2
|
* fix to stop writing to stderr if closedHrvoje Šimić2018-03-161-0/+2
|
* improve rubocop_todo.ymlKeiji Yoshimi2017-09-241-1/+1
| | | | | | | | | | | | | | - Style/EmptyLinesAroundExceptionHandlingKeywords - Style/SpaceAroundOperators - Style/SpaceInsideBlockBraces - Lint/DuplicateMethods - Lint/Void - Style/IfUnlessModifier - Style/MixinGrouping - Style/NestedParenthesizedCalls - Style/OrAssignment - Style/RedundantParentheses - Style/TernaryParentheses
* [RuboCop] Enable Layout/EmptyLineAfterMagicComment copKoichi ITO2017-07-163-0/+3
|
* [UI::Shell] Warn on STDERR in Bundler 2Samuel Giddins2017-06-231-1/+4
|
* [RuboCop] Enable Style/PercentLiteralDelimitersKoichi ITO2017-05-281-1/+1
| | | | Run `rubocop -a --only Style/PercentLiteralDelimiters` and `rubocop --auto-gen-config`.
* remove colors if printing errors to stderr without a tty availableColby Swandale2017-05-231-1/+3
|
* fix newline not being added correctly when printing to stderrColby Swandale2017-05-211-0/+3
|
* stderr feature flag is notw error_on_stderrColby Swandale2017-05-171-1/+1
|
* fix not checking error level before printing to stderrColby Swandale2017-05-171-1/+2
|
* add print error to stderr featureColby Swandale2017-05-161-0/+1
|
* [UI::Shell] Simplify level comparison logicSamuel Giddins2017-03-311-6/+9
|
* [UI::Silent] Ensure all the same methods as Shell are implementedseg-ensure-silent-shell-paritySamuel Giddins2017-02-071-0/+10
|
* fix interface of a methodSava Virtosu2017-01-241-1/+1
|
* Fallback to a temp dir when the home directory is not usableSamuel Giddins2016-09-072-0/+13
|
* Auto merge of #4831 - bundler:seg-offline-new-index, r=indirectHomu2016-08-091-1/+1
|\ | | | | | | | | | | Allow installing / updating when everything necessary is available locally This should ideally have some tests, but right now it's behind a feature flag
| * [Shell] Ensure debug? returns true or false and not nilSamuel Giddins2016-08-051-1/+1
| |
* | [Install] Print errors at the end of installation instead of inlineSamuel Giddins2016-08-041-2/+2
|/
* Clean up outdated deprecation codeSamuel Giddins2016-07-052-11/+1
|
* Migrate 1-99 deprecations to new major_deprecation machinerySamuel Giddins2016-07-051-3/+0
|
* match signatures with ui/shellAndre Arko2016-07-051-1/+1
|
* Edit config & install docs re: remembered flagsStefan Lance2016-07-051-1/+9
|
* Add Bundler.ui.deprecateStefan Lance2016-07-052-1/+11
|
* Fix spurious spec failures due to leaking Bundler.uiseg-specs-reset-uiSamuel Giddins2016-06-271-0/+1
|
* [Shell] Fix #silenceSamuel Giddins2016-06-231-2/+2
|
* Add machinery for printing major deprecationsSamuel Giddins2016-06-231-10/+9
|
* [UI] Add support for printing major deprecationsSamuel Giddins2016-06-232-0/+8
|
* Adding add_color to silent UIbronzdoc2016-03-081-0/+3
|
* Adding add_color methodbronzdoc2016-03-071-0/+4
|
* Compatibility with frozen string literalsSamuel Giddins2016-01-313-0/+3
|
* [RuboCop] Fix Style/MutableConstantSamuel Giddins2016-01-311-1/+1
|
* [RuboCop] Enable Style/ParallelAssignmentSamuel Giddins2015-11-261-1/+2
|
* Handle errors when requiring gems gracefullyAgis-2015-08-291-2/+2
| | | | Fixes #3960.
* [RuboCop] Enable Style/StringLiteralsSamuel E. Giddins2015-07-152-5/+5
|
* Merge tag 'v1.10.4'Samuel E. Giddins2015-06-161-5/+1
|\ | | | | | | Version 1.10.4
| * no more native ext message via RG outputAndre Arko2015-06-081-5/+1
| |
* | Avoid showing warning messages twicefotanus@gmail.com2015-06-031-0/+3
|/
* require thor before using itAndre Arko2015-05-181-0/+2
|
* centralized boolean question logicPatrick Metcalfe2015-04-191-0/+8
|
* indent errors in verbose mode per traditionAndre Arko2014-08-251-1/+1
|
* clean up UI#trace methodAndre Arko2014-07-231-5/+2
|
* Improved resolver significantly by trimming the search spaceSmit Shah2014-01-103-3/+3
|
* extract UI::SilentAndre Arko2014-01-093-5/+47
|
* break out UI::ShellAndre Arko2014-01-081-0/+100
|
* break out UI::RGProxyAndre Arko2014-01-081-0/+21