From 9563e30ebf90d3919ae8b76405669d41d3303281 Mon Sep 17 00:00:00 2001 From: Eric Proulx Date: Sun, 21 Jun 2026 07:47:44 +0200 Subject: [PATCH] Remove Guard Drop the Guardfile and the guard/guard-rspec/guard-rubocop development dependencies from the Gemfile. Co-Authored-By: Claude Opus 4.8 (1M context) --- CHANGELOG.md | 1 + Gemfile | 3 --- Guardfile | 12 ------------ 3 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 Guardfile diff --git a/CHANGELOG.md b/CHANGELOG.md index 339d3a518..b8af2f90d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ #### Features +* [#2768](https://github.com/ruby-grape/grape/pull/2768): Remove Guard - [@ericproulx](https://github.com/ericproulx). * Your contribution here. #### Fixes diff --git a/Gemfile b/Gemfile index 468c73fd0..140cc7e71 100644 --- a/Gemfile +++ b/Gemfile @@ -16,9 +16,6 @@ end group :development do gem 'benchmark-ips' gem 'benchmark-memory' - gem 'guard' - gem 'guard-rspec' - gem 'guard-rubocop' gem 'irb' end diff --git a/Guardfile b/Guardfile deleted file mode 100644 index f771d0349..000000000 --- a/Guardfile +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -guard :rspec, all_on_start: true, cmd: 'bundle exec rspec' do - watch(%r{^spec/.+_spec\.rb$}) - watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } - watch('spec/spec_helper.rb') { 'spec' } -end - -guard :rubocop do - watch(/.+\.rb$/) - watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) } -end