diff options
| author | Daniel Niknam <mhmd.niknam@gmail.com> | 2021-08-22 01:40:21 +1000 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-08-31 19:06:14 +0900 |
| commit | 3adc141a79cdab83671b7f68301901dd7726e7c4 (patch) | |
| tree | f54b06d49939b7fe03358acdca0f5b178a583a12 /spec/ruby/core | |
| parent | 19e1d3cdce96b9e58a0947b6fcbabd6da06cbd11 (diff) | |
[rubygems/rubygems] Refactor `Gem::RemoteFetcher::FetchError` initializer to `build` method
The `initialize` method is already doing a lot and by adding the `Gem::PrintableUri` to redact sensitive information, things are getting complicated and hard to read here. For the start, I have refactored the `initialize` method into a class method called `build`.
https://github.com/rubygems/rubygems/commit/4312e8fdf5
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4789
Diffstat (limited to 'spec/ruby/core')
0 files changed, 0 insertions, 0 deletions
