mirror of
https://github.com/rest-client/rest-client.git
synced 2022-11-09 13:49:40 -05:00
Version 2.1.0.rc1
Freeze the version constants, and don't bother checking whether they're already defined (that usually indicates a problem with requires).
This commit is contained in:
parent
d6c971a804
commit
d9cb98b4b7
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
module RestClient
|
||||
VERSION_INFO = [2, 1, 0, 'rc1'] unless defined?(self::VERSION_INFO)
|
||||
VERSION = VERSION_INFO.map(&:to_s).join('.') unless defined?(self::VERSION)
|
||||
VERSION_INFO = [2, 1, 0, 'rc1'].freeze
|
||||
VERSION = VERSION_INFO.map(&:to_s).join('.').freeze
|
||||
|
||||
def self.version
|
||||
VERSION
|
||||
|
|
Loading…
Reference in a new issue