diff --git a/features/support/rails_template b/features/support/rails_template index 6b085b7..92ddaca 100644 --- a/features/support/rails_template +++ b/features/support/rails_template @@ -2,4 +2,4 @@ if Rails.gem_version < Gem::Version.new('6') gsub_file "Gemfile", /^gem 'sqlite3'$/, 'gem "sqlite3", "~> 1.3.6"' end -gsub_file "Gemfile", /^ gem 'spring'$/, ' gem "spring", "!= 2.1.1"' +gsub_file "Gemfile", /gem 'spring'$/, 'gem "spring", github: "composerinteralia/spring", branch: "factory_bot_rails_debugging"' diff --git a/gemfiles/rails6.1.gemfile b/gemfiles/rails6.1.gemfile index 551080f..d972418 100644 --- a/gemfiles/rails6.1.gemfile +++ b/gemfiles/rails6.1.gemfile @@ -1,6 +1,7 @@ # This file was generated by Appraisal source "https://rubygems.org" +git_source(:github) { |repo| "https://github.com/#{repo}.git" } gem "appraisal" gem "aruba" @@ -12,7 +13,7 @@ gem "byebug" gem "listen", "~> 3.2" gem "puma", "~> 5.0" gem "rails", "~> 6.1.0", ">= 6.1.0.0" -gem "spring", "!= 2.1.1" +gem "spring", github: "composerinteralia/spring", branch: "factory_bot_rails_debugging" gem "spring-watcher-listen", "~> 2.0.0" gem "sqlite3", "~> 1.4" diff --git a/gemfiles/rails6.1.gemfile.lock b/gemfiles/rails6.1.gemfile.lock index 9a3b548..a0b33e2 100644 --- a/gemfiles/rails6.1.gemfile.lock +++ b/gemfiles/rails6.1.gemfile.lock @@ -1,3 +1,10 @@ +GIT + remote: https://github.com/composerinteralia/spring.git + revision: 6922516237d39b1c82a5a651a948ae535a0c22f6 + branch: factory_bot_rails_debugging + specs: + spring (2.1.0) + PATH remote: .. specs: @@ -218,7 +225,6 @@ GEM rubocop (>= 1.7.0, < 2.0) rubocop-ast (>= 0.4.0) ruby-progressbar (1.11.0) - spring (2.1.0) spring-watcher-listen (2.0.1) listen (>= 2.7, < 4.0) spring (>= 1.2, < 3.0) @@ -258,7 +264,7 @@ DEPENDENCIES rails (~> 6.1.0, >= 6.1.0.0) rake rspec-rails - spring (!= 2.1.1) + spring! spring-watcher-listen (~> 2.0.0) sqlite3 (~> 1.4) standard