From 620fddcfc0cfc33948de992474437b4a685d358f Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Wed, 11 Dec 2024 13:02:32 +0900 Subject: [PATCH] Spring has gone --- Gemfile | 2 -- Gemfile.lock | 5 ----- bin/spring | 15 --------------- config/spring.rb | 6 ------ 4 files changed, 28 deletions(-) delete mode 100755 bin/spring delete mode 100644 config/spring.rb diff --git a/Gemfile b/Gemfile index 54af4afb8..ccfd0d111 100644 --- a/Gemfile +++ b/Gemfile @@ -79,7 +79,6 @@ group :development do gem 'html2haml', '~> 2.2' gem 'launchy' gem 'rack-mini-profiler' - gem 'spring-commands-rspec', require: false gem 'web-console' end @@ -100,6 +99,5 @@ group :development, :test do gem 'rspec' gem 'rspec-rails' gem 'selenium-webdriver' - gem 'spring' gem 'timecop' end diff --git a/Gemfile.lock b/Gemfile.lock index aaac7fe48..fd4254d17 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -493,9 +493,6 @@ GEM snaky_hash (2.0.1) hashie version_gem (~> 1.1, >= 1.1.1) - spring (4.2.1) - spring-commands-rspec (1.0.4) - spring (>= 0.9.1) sprockets (4.2.0) concurrent-ruby (~> 1.0) rack (>= 2.2.4, < 4) @@ -611,8 +608,6 @@ DEPENDENCIES shakapacker (~> 6.6) sidekiq simple_form - spring - spring-commands-rspec timecop tinymce-rails uglifier (>= 1.3.0) diff --git a/bin/spring b/bin/spring deleted file mode 100755 index 7fe232c3a..000000000 --- a/bin/spring +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env ruby - -# This file loads spring without using Bundler, in order to be fast. -# It gets overwritten when you run the `spring binstub` command. - -unless defined?(Spring) - require 'rubygems' - require 'bundler' - - if (match = Bundler.default_lockfile.read.match(/^GEM$.*?^ (?: )*spring \((.*?)\)$.*?^$/m)) - Gem.paths = { 'GEM_PATH' => [Bundler.bundle_path.to_s, *Gem.path].uniq.join(Gem.path_separator) } - gem 'spring', match[1] - require 'spring/binstub' - end -end diff --git a/config/spring.rb b/config/spring.rb deleted file mode 100644 index db5bf1307..000000000 --- a/config/spring.rb +++ /dev/null @@ -1,6 +0,0 @@ -Spring.watch( - ".ruby-version", - ".rbenv-vars", - "tmp/restart.txt", - "tmp/caching-dev.txt" -)