dead_end.gemspec in dead_end-3.1.1 vs dead_end.gemspec in dead_end-3.1.2
- old
+ new
@@ -1,7 +1,11 @@
# frozen_string_literal: true
-require_relative "lib/dead_end/version"
+begin
+ require_relative "lib/dead_end/version"
+rescue LoadError # Fallback to load version file in ruby core repository
+ require_relative "version"
+end
Gem::Specification.new do |spec|
spec.name = "dead_end"
spec.version = DeadEnd::VERSION
spec.authors = ["schneems"]