From 1896af87bd3918515ab666a62544f89deb3380d2 Mon Sep 17 00:00:00 2001 From: Tobias Svensson Date: Mon, 16 Sep 2013 13:04:13 +0100 Subject: [PATCH] Prep versioning for 0.4.0.rc1. --- CHANGELOG.md | 2 +- lib/sidetiq/version.rb | 5 ++++- test/test_version.rb | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 19a7808..f4442c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -0.3.8 +0.4.0 ----- - Fix to work with workers with one optional argument [nata79] diff --git a/lib/sidetiq/version.rb b/lib/sidetiq/version.rb index 3e5c4a3..be64a55 100644 --- a/lib/sidetiq/version.rb +++ b/lib/sidetiq/version.rb @@ -10,8 +10,11 @@ module Sidetiq # Public: Sidetiq patch level. PATCH = 7 + # Public: Sidetiq version suffix. + SUFFIX = 'rc1' + # Public: String representation of the current Sidetiq version. - STRING = [MAJOR, MINOR, PATCH].compact.join('.') + STRING = [MAJOR, MINOR, PATCH, SUFFIX].compact.join('.') end end diff --git a/test/test_version.rb b/test/test_version.rb index 7d8d33b..e78dc58 100644 --- a/test/test_version.rb +++ b/test/test_version.rb @@ -15,7 +15,8 @@ class TestVersion < Sidetiq::TestCase def test_string assert_equal Sidetiq::VERSION::STRING, [Sidetiq::VERSION::MAJOR, - Sidetiq::VERSION::MINOR, Sidetiq::VERSION::PATCH].compact.join('.') + Sidetiq::VERSION::MINOR, Sidetiq::VERSION::PATCH, + Sidetiq::VERSION::SUFFIX].compact.join('.') end end