Support comparing versions of packages.
Merge pull request #315 from ryotarai/compare-versions-of-packages

Support comparing versions of packages.