lib/dead_end/version.rb in dead_end-3.1.2 vs lib/dead_end/version.rb in dead_end-4.0.0
- old
+ new
@@ -1,5 +1,9 @@
# frozen_string_literal: true
-module DeadEnd
- VERSION = "3.1.2"
+# Calling `DeadEnd::VERSION` forces an eager load due to
+# an `autoload` on the `DeadEnd` constant.
+#
+# This is used for gemspec access in tests
+module UnloadedDeadEnd
+ VERSION = "4.0.0"
end