kana/vim-flavor

Update vim-flavor on rubygems.org

bruno- opened this issue · 2 comments

Hi,
my vim plugin runs on travis ci (thanks Kana for providing the gems/plugins and tutorials).

Today travis ci specs are failing, here's the excerpt from the build:

 Use kana/vim-vspec ... failed
/home/travis/build/bruno-/vim-paragraph-extended/vendor/bundle/ruby/1.9.1/gems/vim-flavor-1.1.2/lib/vim-flavor/version.rb:14:in `normalize_tag_name': undefined method `sub' for #<Gem::Version "1.1.2"> (NoMethodError)
    from /home/travis/build/bruno-/vim-paragraph-extended/vendor/bundle/ruby/1.9.1/gems/vim-flavor-1.1.2/lib/vim-flavor/version.rb:10:in `initialize'

Locally, everything is working fine and specs are passing.

I downloaded the gem from ruby-gems.org, and there really is an error on line 14 of version.rb. I see this error is fixed in the repo.

Can you please update the gem on ruby-gems.org. I don't want to specify github repo as a source for the gem.

Thank you!

kana commented

Oops, I forgot to push the fixed version to rubygems.org. I've push it. Please check it out. Thank you for reporting.

I had to bundle update the gems, but yes, specs are now green again on travis.
Thank you!