mirror of
https://github.com/rest-client/rest-client.git
synced 2022-11-09 13:49:40 -05:00
d9cb98b4b7
Freeze the version constants, and don't bother checking whether they're already defined (that usually indicates a problem with requires).
8 lines
155 B
Ruby
8 lines
155 B
Ruby
module RestClient
|
|
VERSION_INFO = [2, 1, 0, 'rc1'].freeze
|
|
VERSION = VERSION_INFO.map(&:to_s).join('.').freeze
|
|
|
|
def self.version
|
|
VERSION
|
|
end
|
|
end
|