Fix whitespace
Fix whitespace
Test Dependency#matches_spec? name checking
Test Dependency#matches_spec? requirement checking
Test Dependency#matches_spec? prerelease checking
Add Resolver::DependencyRequest#match?

This new method only matches prerelease versions when this is a
prerelease dependency.

Part of #853
Test Resolver::DependencyRequest#matches_spec?
Document Dependency#match? vs #matches_spec?
Fix whitespace
Respect prerelease version requirements

Previously RubyGems would install prerelease versions when they were not
desired because #match? and #matches_spec? are not the same.

Since we depend on #matches_spec? elsewhere switching all the resolver
sets to #match? is the easier course with minimal added bugs.

Fixes #853
Thank @benmoss and @zzak for help on #853
You should not have .gemspec lying around