From 3d10479ed0d212192965898280353f9834d4a13a Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Sun, 10 Mar 2024 07:53:33 +1300 Subject: [PATCH] feat!: remove `verify_file_existance` method --- CHANGELOG.md | 2 ++ lib/tasks/shakapacker/check_binstubs.rake | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 59969ce00..c840c7421 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,8 @@ Changes since the last non-beta release. - Remove `https` option for `webpack-dev-server` [PR 414](https://github.com/shakacode/shakapacker/pull/414) by [G-Rath](https://github.com/g-rath). +- Remove `verify_file_existance` method [PR 446](https://github.com/shakacode/shakapacker/pull/446) by [G-Rath](https://github.com/g-rath). + - Drop support for Ruby 2.6 [PR 415](https://github.com/shakacode/shakapacker/pull/415) by [G-Rath](https://github.com/g-rath). - Drop support for Node v12 [PR 431](https://github.com/shakacode/shakapacker/pull/431) by [G-Rath](https://github.com/g-rath). diff --git a/lib/tasks/shakapacker/check_binstubs.rake b/lib/tasks/shakapacker/check_binstubs.rake index 3dbe65bc6..b90629a12 100644 --- a/lib/tasks/shakapacker/check_binstubs.rake +++ b/lib/tasks/shakapacker/check_binstubs.rake @@ -6,11 +6,6 @@ namespace :shakapacker do end end -def verify_file_existance(binstub_file) - puts "verify_file_existance is deprecated - use verify_file_existence instead" - verify_file_existence(binstub_file) -end - def verify_file_existence(binstub_file) unless File.exist?(Rails.root.join(binstub_file)) puts <<~MSG