Permalink
Browse files

Use Rack.release instead of two separate strings

  • Loading branch information...
1 parent 609a041 commit 8d290b1677002a34d42d61b98157fd319302bb09 @raggi raggi committed Feb 10, 2011
Showing with 5 additions and 2 deletions.
  1. +1 −1 lib/rack.rb
  2. +4 −1 rack.gemspec
View
@@ -20,7 +20,7 @@ def self.version
# Return the Rack release as a dotted string.
def self.release
- "1.1.1"
+ "1.1.1.pre"
end
autoload :Builder, "rack/builder"
View
@@ -1,6 +1,9 @@
+$:.unshift(File.expand_path('../lib', __FILE__))
+require 'rack' # For Rack.release
+
Gem::Specification.new do |s|
s.name = "rack"
- s.version = "1.1.1.pre"
+ s.version = Rack.release
s.platform = Gem::Platform::RUBY
s.summary = "a modular Ruby webserver interface"

0 comments on commit 8d290b1

Please sign in to comment.