diff --git a/sinatra-contrib/lib/sinatra/contrib/version.rb b/sinatra-contrib/lib/sinatra/contrib/version.rb index f2bf1839..07df68c5 100644 --- a/sinatra-contrib/lib/sinatra/contrib/version.rb +++ b/sinatra-contrib/lib/sinatra/contrib/version.rb @@ -4,7 +4,7 @@ module Sinatra VERSION end - SIGNATURE = [1, 3, 1] + SIGNATURE = [1, 4, 0] VERSION = SIGNATURE.join('.') VERSION.extend Comparable diff --git a/sinatra-contrib/sinatra-contrib.gemspec b/sinatra-contrib/sinatra-contrib.gemspec index 91a005ed..2cde8488 100644 --- a/sinatra-contrib/sinatra-contrib.gemspec +++ b/sinatra-contrib/sinatra-contrib.gemspec @@ -1,7 +1,8 @@ # Run `rake sinatra-contrib.gemspec` to update the gemspec. +require File.expand_path('../lib/sinatra/contrib/version', __FILE__) Gem::Specification.new do |s| s.name = "sinatra-contrib" - s.version = "1.4.0" + s.version = Sinatra::Contrib::VERSION s.description = "Collection of useful Sinatra extensions" s.homepage = "http://github.com/sinatra/sinatra-contrib" s.summary = s.description