diff --git a/Gemfile b/Gemfile index 39e22f23aa..6f3b6a8aab 100644 --- a/Gemfile +++ b/Gemfile @@ -112,8 +112,6 @@ group :development do gem 'rspec-rails', '~> 3.1' gem 'rspec-html-matchers', '~> 0.7' gem 'shoulda-matchers' - gem 'spring', '~> 1.3.0' - gem 'spring-commands-rspec' gem 'vcr' gem 'webmock', '~> 1.17.4', require: false end diff --git a/Gemfile.lock b/Gemfile.lock index 1130f966f8..485acc0870 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -413,9 +413,6 @@ GEM slop (3.6.0) spectrum-rails (1.3.4) railties (>= 3.1) - spring (1.3.6) - spring-commands-rspec (1.0.4) - spring (>= 0.9.1) sprockets (3.2.0) rack (~> 1.0) sprockets-rails (2.3.1) @@ -562,8 +559,6 @@ DEPENDENCIES shoulda-matchers slack-notifier (~> 1.0.0) spectrum-rails - spring (~> 1.3.0) - spring-commands-rspec string-scrub therubyracer (~> 0.12.2) tumblr_client @@ -582,4 +577,4 @@ DEPENDENCIES xmpp4r (~> 0.5.6) BUNDLED WITH - 1.10.5 + 1.10.6 diff --git a/Guardfile b/Guardfile index 4e114775a0..8cd006f846 100644 --- a/Guardfile +++ b/Guardfile @@ -8,7 +8,7 @@ guard 'livereload' do watch(%r{(app|vendor)(/assets/\w+/(.+\.(css|js|html|png|jpg))).*}) { |m| "/assets/#{m[3]}" } end -guard :rspec, cmd: 'bundle exec spring rspec' do +guard :rspec, cmd: 'bundle exec rspec' do watch(%r{^spec/.+_spec\.rb$}) watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" } watch('spec/spec_helper.rb') { "spec" } diff --git a/bin/spring b/bin/spring deleted file mode 100755 index e09182495f..0000000000 --- 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 "spring", match[1] - require "spring/binstub" - end -end