Closed gouthamvel closed 11 years ago
This bug has been fixed in the release-1.0 branch. Before merging this to master and releasing version 1.0 with this change, I'd appreciate it if you could test this out with your API and verify that this fixes the issue for you. Change the dependency on versionist in your Gemfile to the following....
gem 'versionist', :git => 'git://github.com/bploetz/versionist.git', :branch => 'release-1.0'
...and run bundle update versionist
.
Versionist 1.0.0 has been released with this change. Let me know if you run into any issues.
sure will do it soon
orig: "v1.1".include?("v1") => true mod: "v1.1".eql?("v1") => false
orig was causing the wrong version to load. The mod fixes it. Works with Accept header, custom header, defaults.