Adding a new ssl option to bundle doctor will make the Doctor
command quite bloated. The "diagnose ssl" option will also have
children option to allow passing which host or which tls version
you want to diagnose and I feel these options don't belong in the
doctor command.
So my intention in this commit is to prepare to have a new Doctor
subcommand and allow for better organisation of the code:
The command will be:
bundle doctor -> Run exactly the same as before. bundle doctor --ssl -> Run the doctor command and diagnose SSL
with default options (rubygems.org as the host and verify peer as
the verify mode) bundle doctor ssl --host github.com -> Run the ssl subcommand and
pass a specific host.
This commit just renames a file in order to avoid big diff chunks.
Move the doctor command into a subfolder:
Adding a new
ssl
option to bundle doctor will make theDoctor
command quite bloated. The "diagnose ssl" option will also have
children option to allow passing which host or which tls version
you want to diagnose and I feel these options don't belong in the
doctor command.
So my intention in this commit is to prepare to have a new
Doctor
subcommand and allow for better organisation of the code:
The command will be:
bundle doctor
-> Run exactly the same as before.bundle doctor --ssl
-> Run the doctor command and diagnose SSLwith default options (rubygems.org as the host and verify peer as
the verify mode)
bundle doctor ssl --host github.com
-> Run the ssl subcommand andpass a specific host.
This commit just renames a file in order to avoid big diff chunks.