technicalpickles / jeweler

Opinionated tool for creating and managing Rubygem projects
MIT License
1.48k stars 169 forks source link

Version reported by -v different from gem version #296

Open KjellMorgenstern opened 7 years ago

KjellMorgenstern commented 7 years ago

The version reported by juwelier is different from the gems version (see bash extract below). It is simply the version which is hardcoded in version.rb. Is this intended?

MM ~/git$ gem install juwelier
Fetching: juwelier-2.2.3.gem (100%)
Successfully installed juwelier-2.2.3
Parsing documentation for juwelier-2.2.3
Installing ri documentation for juwelier-2.2.3
Done installing documentation for juwelier after 1 seconds
1 gem installed
MM ~/git$ juwelier -v
Version: 2.1.0
flajann2 commented 7 years ago

This should've been reported in the Juwelier project, not Jeweler. However, I will take a look at this. I switched versioning systems, and missed that bit of code.