summaryrefslogtreecommitdiff
path: root/gem-version-patch.rb
blob: 83aead2bca19b7d5ae71982288c5871f9f46c6e7 (plain) (blame)
1
2
3
4
5
6
7
# Overrides Gem::Version.new to restore the hyphen in the version number
Gem::Version.prepend (Module.new do
  def initialize _version
    super
    @version = @version.sub '.pre.', '-'
  end
end)