1
0
Fork 0
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:
Andy Brody 2017-07-05 04:29:59 -04:00
parent d6c971a804
commit d9cb98b4b7

View file

@ -1,6 +1,6 @@
module RestClient module RestClient
VERSION_INFO = [2, 1, 0, 'rc1'] unless defined?(self::VERSION_INFO) VERSION_INFO = [2, 1, 0, 'rc1'].freeze
VERSION = VERSION_INFO.map(&:to_s).join('.') unless defined?(self::VERSION) VERSION = VERSION_INFO.map(&:to_s).join('.').freeze
def self.version def self.version
VERSION VERSION