Fix rspec deprecation warnings mock->double, stub()->double
Rubies that now support Ripper might now support some hard-coded mri_only_metrics