about summary refs log tree commit homepage
path: root/lib/unicorn/const.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-02-08 18:50:07 +0000
committerEric Wong <normalperson@yhbt.net>2013-02-08 18:51:40 +0000
commitcb0623f25db7f06660e563e8e746bfe0ae5ba9c5 (patch)
treef796b3c1cb733c0ea5b00a58da6e670deb4a88ca /lib/unicorn/const.rb
parent1b3352ec9b5c9eeb58cf330d6b9ce8753af4ec16 (diff)
downloadunicorn-cb0623f25db7f06660e563e8e746bfe0ae5ba9c5.tar.gz
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 <m.desantis@morganspa.com>
Diffstat (limited to 'lib/unicorn/const.rb')
-rw-r--r--lib/unicorn/const.rb4
1 files changed, 1 insertions, 3 deletions
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'