Drop spring

it does more harm than good at this point

closes #8133
This commit is contained in:
Jonne Haß 2020-07-10 14:03:07 +02:00
parent 2acdc8e095
commit ce82ba3dde
8 changed files with 0 additions and 56 deletions

View file

@ -260,10 +260,6 @@ group :development do
# Preloading environment # Preloading environment
gem "spring", "2.1.0"
gem "spring-commands-rspec", "1.0.4"
gem "spring-commands-cucumber", "1.0.1"
# Debugging # Debugging
gem "pry" gem "pry"
gem "pry-byebug" gem "pry-byebug"

View file

@ -699,11 +699,6 @@ GEM
simplecov-html (0.10.2) simplecov-html (0.10.2)
sinon-rails (1.15.0) sinon-rails (1.15.0)
railties (>= 3.1) railties (>= 3.1)
spring (2.1.0)
spring-commands-cucumber (1.0.1)
spring (>= 0.9.1)
spring-commands-rspec (1.0.4)
spring (>= 0.9.1)
sprockets (3.7.2) sprockets (3.7.2)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
rack (> 1, < 3) rack (> 1, < 3)
@ -923,9 +918,6 @@ DEPENDENCIES
simple_captcha2 (= 0.5.0) simple_captcha2 (= 0.5.0)
simplecov (= 0.16.1) simplecov (= 0.16.1)
sinon-rails (= 1.15.0) sinon-rails (= 1.15.0)
spring (= 2.1.0)
spring-commands-cucumber (= 1.0.1)
spring-commands-rspec (= 1.0.4)
sprockets-rails (= 3.2.1) sprockets-rails (= 3.2.1)
string-direction (= 1.2.2) string-direction (= 1.2.2)
timecop (= 0.9.1) timecop (= 0.9.1)

View file

@ -1,8 +1,3 @@
#!/usr/bin/env ruby #!/usr/bin/env ruby
begin
load File.expand_path('../spring', __FILE__)
rescue LoadError => e
raise unless e.message.include?('spring')
end
require 'bundler/setup' require 'bundler/setup'
load Gem.bin_path('cucumber', 'cucumber') load Gem.bin_path('cucumber', 'cucumber')

View file

@ -1,9 +1,4 @@
#!/usr/bin/env ruby #!/usr/bin/env ruby
begin
load File.expand_path('../spring', __FILE__)
rescue LoadError => e
raise unless e.message.include?('spring')
end
APP_PATH = File.expand_path('../config/application', __dir__) APP_PATH = File.expand_path('../config/application', __dir__)
require_relative '../config/boot' require_relative '../config/boot'
require 'rails/commands' require 'rails/commands'

View file

@ -1,9 +1,4 @@
#!/usr/bin/env ruby #!/usr/bin/env ruby
begin
load File.expand_path('../spring', __FILE__)
rescue LoadError => e
raise unless e.message.include?('spring')
end
require_relative '../config/boot' require_relative '../config/boot'
require 'rake' require 'rake'
Rake.application.run Rake.application.run

View file

@ -1,8 +1,3 @@
#!/usr/bin/env ruby #!/usr/bin/env ruby
begin
load File.expand_path('../spring', __FILE__)
rescue LoadError => e
raise unless e.message.include?('spring')
end
require 'bundler/setup' require 'bundler/setup'
load Gem.bin_path('rspec-core', 'rspec') load Gem.bin_path('rspec-core', 'rspec')

View file

@ -1,16 +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'
lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
if spring = lockfile.specs.detect { |spec| spec.name == "spring" }
Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
gem 'spring', spring.version
require 'spring/binstub'
end
end

View file

@ -1,8 +0,0 @@
# frozen_string_literal: true
%w[
.ruby-version
.rbenv-vars
tmp/restart.txt
tmp/caching-dev.txt
].each {|path| Spring.watch(path) }