1
0
Fork 0
mirror of https://github.com/endofunky/sidetiq.git synced 2022-11-09 13:53:30 -05:00

Prep versioning for 0.4.0.rc1.

This commit is contained in:
Tobias Svensson 2013-09-16 13:04:13 +01:00
parent 194605a6bd
commit 1896af87bd
3 changed files with 7 additions and 3 deletions

View file

@ -1,4 +1,4 @@
0.3.8
0.4.0
-----
- Fix to work with workers with one optional argument [nata79]

View file

@ -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

View file

@ -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