From 23ca89c067b9002b682b02f355c1283aa8a642a9 Mon Sep 17 00:00:00 2001 From: Jorge Najera Date: Wed, 28 Dec 2022 22:04:32 -0600 Subject: [PATCH] Fix deprecated File.exists? on ruby 3.2.0 --- by_star.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/by_star.gemspec b/by_star.gemspec index fcf11f9..cba45b9 100644 --- a/by_star.gemspec +++ b/by_star.gemspec @@ -12,7 +12,7 @@ Gem::Specification.new do |s| s.required_ruby_version = '>= 2.0.0' - s.post_install_message = File.read('UPGRADING') if File.exists?('UPGRADING') + s.post_install_message = File.read('UPGRADING') if File.exist?('UPGRADING') s.add_dependency "activesupport", ">= 3.2.0"