Rename 'spec' param to 'version' to match implementations

Fixes #90
Merge pull request #91 from po1/fix-checkout-base

Rename 'spec' param to 'version' to match implementations