From a6e65666bf0b631dcaec30ca10728de6449f6d9f Mon Sep 17 00:00:00 2001 From: Daniel Colson Date: Sat, 25 Apr 2020 22:45:31 -0400 Subject: [PATCH] Bump to rails 5 in gemspec factory_bot_rails 6 will not support rails 4.2 --- Gemfile.lock | 2 +- factory_bot_rails.gemspec | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 8a2d42d..46cfdcb 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -3,7 +3,7 @@ PATH specs: factory_bot_rails (5.1.1) factory_bot (~> 5.1.0) - railties (>= 4.2.0) + railties (>= 5.0.0) GEM remote: https://rubygems.org/ diff --git a/factory_bot_rails.gemspec b/factory_bot_rails.gemspec index 646381e..ca0e7fc 100644 --- a/factory_bot_rails.gemspec +++ b/factory_bot_rails.gemspec @@ -5,9 +5,9 @@ Gem::Specification.new do |s| s.email = "jferris@thoughtbot.com" s.homepage = "https://github.com/thoughtbot/factory_bot_rails" s.summary = "factory_bot_rails provides integration between "\ - "factory_bot and rails 4.2 or newer" + "factory_bot and rails 5.0 or newer" s.description = "factory_bot_rails provides integration between "\ - "factory_bot and rails 4.2 or newer" + "factory_bot and rails 5.0 or newer" s.files = Dir["lib/**/*"] + %w[CONTRIBUTING.md LICENSE NEWS.md README.md] s.require_paths = ["lib"] @@ -15,5 +15,5 @@ Gem::Specification.new do |s| s.license = "MIT" s.add_runtime_dependency("factory_bot", "~> 5.1.0") - s.add_runtime_dependency("railties", ">= 4.2.0") + s.add_runtime_dependency("railties", ">= 5.0.0") end