This is required for some versions of OpenSSL having trouble to establish and verify the new certificates for rubygems.org SHA-1-based signatures for trusted root certificates are not a problem because TLS clients trust them by their identity, rather than by the signature of their hash. http://blog.chromium.org/2014/09/gradually-sunsetting-sha-1.html
RubyGems found same gem but for other platforms, and failed to display the proper error message. Also corrected pluralization of platform(s). Fixes #576
This reverts commit 12f5af4. Appears this has caused any other environment than Windows to fail. Reverting this until further analysis.
Gem::Specification was aggresively caching full_name and cache_file which affected the playing with the gemspec to generate multiple variations from the same instance. This affected users doing manual build of gems and tools like rake-compiler. So far #version= and #platform= affect those. There might be others.
Srly, why on earth Ruby decided to implement the broken text mode of Windows? Life could have been waaay more easy if 'r' is binary version on every platform.