Permalink
Browse files

load version.rb from .gemspec.

  • Loading branch information...
1 parent 7ec4e11 commit 596c8ff970f29699f69dac06bae6f276533fbdaf @unakatsuo unakatsuo committed Mar 27, 2013
Showing with 3 additions and 2 deletions.
  1. +1 −1 lib/sinatra/contrib/version.rb
  2. +2 −1 sinatra-contrib.gemspec
@@ -4,7 +4,7 @@ def self.version
VERSION
end
- SIGNATURE = [1, 3, 1]
+ SIGNATURE = [1, 4, 0]
VERSION = SIGNATURE.join('.')
VERSION.extend Comparable
View
@@ -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

0 comments on commit 596c8ff

Please sign in to comment.