Sha256: 3e04fe69346940020aefe1f87f2e79bc26f24e471290fd4e9dc0c5b4b03879ee

Contents?: true

Size: 108 Bytes

Versions: 2

Compression:

Stored size: 108 Bytes

Contents

require "bumpy/version"

module Bumpy
  def self.bump_version(v)
    v.gsub(/(\d+)$/) { $1.next }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bumpy-1.0.0 lib/bumpy.rb
bumpy-0.1.5 lib/bumpy.rb