diff --git a/.release-config.json b/.release-config.json index 6098e98..6f25076 100644 --- a/.release-config.json +++ b/.release-config.json @@ -31,5 +31,6 @@ "section": "Miscellaneous", "hidden": false } - ] + ], + "version-file": "lib/devise/auth0/version.rb" } \ No newline at end of file diff --git a/lib/devise/auth0/version.rb b/lib/devise/auth0/version.rb index e035f66..5a2860c 100644 --- a/lib/devise/auth0/version.rb +++ b/lib/devise/auth0/version.rb @@ -2,19 +2,12 @@ module Devise module Auth0 + VERSION = "1.0.0".freeze + class << self def gem_version - Gem::Version.new(VERSION::STRING) + Gem::Version.new(VERSION) end end - - module VERSION - MAJOR = 1 - MINOR = 0 - TINY = 0 - PRE = "rc10" - - STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".") - end end end