From 7edc507100d769543c5b3c3791cf78915c7f7e2f Mon Sep 17 00:00:00 2001
From: Ernesto Tagwerker <ernesto+github@ombulabs.com>
Date: Fri, 10 Mar 2023 12:55:15 -0500
Subject: [PATCH] Relax dependency on database_cleaner-active_record

Also, bump version to 2.0.2
---
 History.rdoc                    | 2 +-
 database_cleaner.gemspec        | 2 +-
 lib/database_cleaner/version.rb | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/History.rdoc b/History.rdoc
index a21e44dd..2358052f 100644
--- a/History.rdoc
+++ b/History.rdoc
@@ -3,7 +3,7 @@
 == 2.0.2 2023-03-10
 
 == Bugfixes
-  * Dependency configuration -- relax dependencies with database_cleaner-active_record:
+  * Dependency configuration -- relax dependencies with database_cleaner-active_record: https://github.com/DatabaseCleaner/database_cleaner/pull/699
 
 == 2.0.1 2021-02-04
 
diff --git a/database_cleaner.gemspec b/database_cleaner.gemspec
index 46133200..73b77101 100644
--- a/database_cleaner.gemspec
+++ b/database_cleaner.gemspec
@@ -16,5 +16,5 @@ Gem::Specification.new do |spec|
   spec.files       = ["lib/database_cleaner.rb"]
   spec.require_paths = ["lib"]
 
-  spec.add_dependency "database_cleaner-active_record", "~>2.0.0"
+  spec.add_dependency "database_cleaner-active_record", ">= 2", "< 3"
 end
diff --git a/lib/database_cleaner/version.rb b/lib/database_cleaner/version.rb
index b5992365..1ff258b7 100644
--- a/lib/database_cleaner/version.rb
+++ b/lib/database_cleaner/version.rb
@@ -1,3 +1,3 @@
 module DatabaseCleaner
-  VERSION = "2.0.1"
+  VERSION = "2.0.2"
 end