lib/rails/gem_version.rb in railties-7.0.2.4 vs lib/rails/gem_version.rb in railties-7.0.3
- old
+ new
@@ -1,17 +1,17 @@
# frozen_string_literal: true
module Rails
- # Returns the version of the currently loaded Rails as a <tt>Gem::Version</tt>
+ # Returns the currently loaded version of Rails as a <tt>Gem::Version</tt>.
def self.gem_version
Gem::Version.new VERSION::STRING
end
module VERSION
MAJOR = 7
MINOR = 0
- TINY = 2
- PRE = "4"
+ TINY = 3
+ PRE = nil
STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
end
end