Drop spring

Same as in https://github.com/diaspora/diaspora/pull/8133
This commit is contained in:
Benjamin Neff 2020-09-09 02:22:21 +02:00
parent 56385a14c1
commit f221b04262
No known key found for this signature in database
GPG key ID: 971464C3F1A90194
7 changed files with 0 additions and 60 deletions

View file

@ -28,11 +28,6 @@ group :development do
gem "guard-rspec", require: false
gem "guard-rubocop", require: false
# preloading environment
gem "spring"
gem "spring-commands-rspec"
gem "spring-watcher-listen"
# debugging
gem "pry"
gem "pry-byebug"

View file

@ -210,12 +210,6 @@ GEM
simplecov-html (0.10.2)
simplecov-rcov (0.2.3)
simplecov (>= 0.4.1)
spring (2.1.0)
spring-commands-rspec (1.0.4)
spring (>= 0.9.1)
spring-watcher-listen (2.0.1)
listen (>= 2.7, < 4.0)
spring (>= 1.2, < 3.0)
systemu (2.6.5)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
@ -262,9 +256,6 @@ DEPENDENCIES
rubocop-rails (= 2.3.2)
simplecov (= 0.17.1)
simplecov-rcov (= 0.2.3)
spring
spring-commands-rspec
spring-watcher-listen
webmock (~> 3.0)
yard

View file

@ -1,12 +1,6 @@
#!/usr/bin/env ruby
# This command will automatically be run when you run "rails" with Rails 4 gems installed from the root of your application.
begin
load File.expand_path('../spring', __FILE__)
rescue LoadError => e
raise unless e.message.include?('spring')
end
ENGINE_ROOT = File.expand_path('../..', __FILE__)
ENGINE_PATH = File.expand_path('../../lib/diaspora_federation/engine', __FILE__)

View file

@ -7,12 +7,6 @@
# this file is here to facilitate running it.
#
begin
load File.expand_path('../spring', __FILE__)
rescue LoadError => e
raise unless e.message.include?('spring')
end
require "pathname"
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)

View file

@ -7,12 +7,6 @@
# this file is here to facilitate running it.
#
begin
load File.expand_path('../spring', __FILE__)
rescue LoadError => e
raise unless e.message.include?('spring')
end
require "pathname"
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)

View file

@ -1,17 +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)
spring = lockfile.specs.detect { |spec| spec.name == "spring" }
if 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,11 +0,0 @@
# frozen_string_literal: true
Spring.application_root = "./test/dummy"
root_path = Pathname.new(File.expand_path("."))
Spring.watcher = Spring::Watcher::Listen.new(root_path, 0.2)
Spring.watch(
"./lib/",
".ruby-version"
)