From cb0623f25db7f06660e563e8e746bfe0ae5ba9c5 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 8 Feb 2013 18:50:07 +0000 Subject: auto-generate Unicorn::Const::UNICORN_VERSION This DRYs out our code and prevents snafus like the 4.6.0 release where UNICORN_VERSION stayed at 4.5.0 Reported-by: Maurizio De Santis --- lib/unicorn/const.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/unicorn/const.rb b/lib/unicorn/const.rb index fcc30c0..51d7394 100644 --- a/lib/unicorn/const.rb +++ b/lib/unicorn/const.rb @@ -7,9 +7,6 @@ # improvement over using the strings directly. Symbols did not really # improve things much compared to constants. module Unicorn::Const - - UNICORN_VERSION = "4.5.0" - # default TCP listen host address (0.0.0.0, all interfaces) DEFAULT_HOST = "0.0.0.0" @@ -44,3 +41,4 @@ module Unicorn::Const # :startdoc: end +require 'unicorn/version' -- cgit v1.2.3-24-ge0c7