aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/retry.rb
Commit message (Collapse)AuthorAgeFilesLines
* [Retry] Add newline before printing the final errorSamuel Giddins2016-12-181-1/+4
|
* Removes extra if in Bundler::Retry interpolationNick LaMuro2016-07-251-1/+1
| | | | | | This particular if statement will never return false because it always preceded by `return true unless name`, so it will always be true if we reach that line.
* Update Bundler::Retry newlinesNick LaMuro2016-07-251-1/+2
| | | | | | | | | | | | | | | When using Bundler::Retry in conjunction with "dots" for regular printing, the retry messages show up inline with the dots, then the dots continue on the next line. It reads a bit better to have the retry messages show up on a new line after the dots, then allow the dots to continue on the same line, so that the dots now represent the status for the retry. When in debug, just print the retry message as we always have. The new line will assumed to not be necessary before the message, since the standard is to print newlines after everything in debug mode, and a newline will then also follow the retry message.
* Compatibility with frozen string literalsSamuel Giddins2016-01-311-0/+1
|
* Fix Style/WhileUntilModifierVictor Koronen2015-08-141-3/+1
|
* [RuboCop] Update to 0.33.0Samuel E. Giddins2015-08-071-3/+3
|
* Fix Style/AliasErick Sasse2015-07-231-1/+1
|
* Fix Style/SignalExceptionErick Sasse2015-07-191-2/+2
|
* Fix Style/SpaceInsideBlockBracesAndre Arko2015-07-181-1/+1
| | | | closes #3853
* Fix Style/SpaceInsideBlockBracesAndre Arko2015-07-181-1/+1
| | | | closes #3850
* [RuboCop] Enable Style/EmptyLinesSamuel E. Giddins2015-07-151-0/+1
|
* focuses retry on what its good atPatrick Metcalfe2015-04-221-10/+11
|
* Avoid threequals operator where possibleAntonio Scandurra2014-03-211-1/+1
|
* print the error class as well as the messageAndre Arko2013-10-031-1/+1
|
* allow exceptions to be passed to RetryAndre Arko2013-10-031-3/+4
|
* Retry git commandsschneems2013-09-281-12/+23
|
* Retry fetch specs with `--retry`schneems2013-09-281-0/+48
This PR adds a general purpose Retry class that can be re-used where-ever retry code is needed! It also allows you to call `bundle install --retry 3` which will attempt to connect to ruby gems 3 times before failing, and emit a warning message each time