Module: Rack::Contrib

Defined in:
lib/rack/contrib.rb,
lib/rack/contrib/version.rb

Constant Summary collapse

VERSION =
'2.5.0'

Class Method Summary collapse

Class Method Details

.releaseObject



7
8
9
10
11
12
13
14
15
16
# File 'lib/rack/contrib.rb', line 7

def self.release
  require "git-version-bump"
  GVB.version
rescue LoadError
  begin
    Gem::Specification.find_by_name("rack-contrib").version.to_s
  rescue Gem::LoadError
    "0.0.0.1.ENOGEM"
  end
end