Merge pull request #5995 from consuldemocracy/remove-spring-gem
Remove Spring from the project
This commit is contained in:
1
Gemfile
1
Gemfile
@@ -109,7 +109,6 @@ group :development do
|
|||||||
gem "rubocop-rspec", "~> 3.4.0", require: false
|
gem "rubocop-rspec", "~> 3.4.0", require: false
|
||||||
gem "rubocop-rspec_rails", "~> 2.30.0", require: false
|
gem "rubocop-rspec_rails", "~> 2.30.0", require: false
|
||||||
gem "rvm1-capistrano3", "~> 1.4.0", require: false
|
gem "rvm1-capistrano3", "~> 1.4.0", require: false
|
||||||
gem "spring", "~> 4.2.1"
|
|
||||||
gem "web-console", "~> 4.2.1"
|
gem "web-console", "~> 4.2.1"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -661,7 +661,6 @@ GEM
|
|||||||
version_gem (>= 1.1.8, < 3)
|
version_gem (>= 1.1.8, < 3)
|
||||||
social-share-button (1.2.4)
|
social-share-button (1.2.4)
|
||||||
coffee-rails
|
coffee-rails
|
||||||
spring (4.2.1)
|
|
||||||
sprockets (4.2.1)
|
sprockets (4.2.1)
|
||||||
concurrent-ruby (~> 1.0)
|
concurrent-ruby (~> 1.0)
|
||||||
rack (>= 2.2.4, < 4)
|
rack (>= 2.2.4, < 4)
|
||||||
@@ -828,7 +827,6 @@ DEPENDENCIES
|
|||||||
simplecov-lcov (~> 0.8.0)
|
simplecov-lcov (~> 0.8.0)
|
||||||
sitemap_generator (~> 6.3.0)
|
sitemap_generator (~> 6.3.0)
|
||||||
social-share-button (~> 1.2.4)
|
social-share-button (~> 1.2.4)
|
||||||
spring (~> 4.2.1)
|
|
||||||
sprockets (~> 4.2.1)
|
sprockets (~> 4.2.1)
|
||||||
sprockets-rails (~> 3.5.2)
|
sprockets-rails (~> 3.5.2)
|
||||||
turbolinks (~> 5.2.1)
|
turbolinks (~> 5.2.1)
|
||||||
|
|||||||
17
bin/spring
17
bin/spring
@@ -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.find { |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
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
%w[
|
|
||||||
.ruby-version
|
|
||||||
.rbenv-vars
|
|
||||||
tmp/restart.txt
|
|
||||||
tmp/caching-dev.txt
|
|
||||||
].each { |path| Spring.watch(path) }
|
|
||||||
Reference in New Issue
Block a user