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:
parent
194605a6bd
commit
1896af87bd
3 changed files with 7 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
0.3.8
|
||||
0.4.0
|
||||
-----
|
||||
|
||||
- Fix to work with workers with one optional argument [nata79]
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue