Bug 1051 (platforms mistook for versions)

Fix bug PUP-1051 by stripping out the extraneous platform info from the individual versions of the gems.
(PUP-1051) Add rspec test to verify fix
Merge pull request #2186 from pedrocr/master

Fix Bug PUP-1051 (platforms mistook for versions)