From 2d7c63c7b276fedce2206776111e522d4535e702 Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Thu, 22 Dec 2011 12:36:40 +0100 Subject: [PATCH] Use all-caps notation for the version constant. --- lib/resque/scheduler.rb | 2 +- lib/resque_scheduler/version.rb | 2 +- resque-scheduler.gemspec | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/resque/scheduler.rb b/lib/resque/scheduler.rb index e9277a51..47f06e55 100644 --- a/lib/resque/scheduler.rb +++ b/lib/resque/scheduler.rb @@ -279,7 +279,7 @@ def log(msg) def procline(string) log! string - $0 = "resque-scheduler-#{ResqueScheduler::Version}: #{string}" + $0 = "resque-scheduler-#{ResqueScheduler::VERSION}: #{string}" end end diff --git a/lib/resque_scheduler/version.rb b/lib/resque_scheduler/version.rb index 7afca45d..53a6c3e5 100644 --- a/lib/resque_scheduler/version.rb +++ b/lib/resque_scheduler/version.rb @@ -1,3 +1,3 @@ module ResqueScheduler - Version = '2.0.0.f' + VERSION = '2.0.0.f' end diff --git a/resque-scheduler.gemspec b/resque-scheduler.gemspec index 0d78bd05..7ac52a13 100644 --- a/resque-scheduler.gemspec +++ b/resque-scheduler.gemspec @@ -3,7 +3,7 @@ require File.expand_path("../lib/resque_scheduler/version", __FILE__) Gem::Specification.new do |s| s.name = "resque-scheduler" - s.version = ResqueScheduler::Version + s.version = ResqueScheduler::VERSION s.platform = Gem::Platform::RUBY s.authors = ['Ben VandenBos'] s.email = ['bvandenbos@gmail.com']