From b012a34972b95fc690e8d5e7505a8f4b349a255f Mon Sep 17 00:00:00 2001 From: Micah Geisel Date: Sat, 30 May 2020 10:42:40 -0700 Subject: [PATCH] release v2.0.0.beta of database_cleaner and v2.0.0.beta2 of database_cleaner-core. --- database_cleaner-core.gemspec | 4 +--- database_cleaner.gemspec | 6 ++++-- lib/database_cleaner/version.rb | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/database_cleaner-core.gemspec b/database_cleaner-core.gemspec index db8cfa7..4233f04 100644 --- a/database_cleaner-core.gemspec +++ b/database_cleaner-core.gemspec @@ -1,6 +1,4 @@ -lib = File.expand_path("../lib", __FILE__) -$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) -require "database_cleaner/version" +require_relative "./lib/database_cleaner/version" Gem::Specification.new do |spec| spec.name = "database_cleaner-core" diff --git a/database_cleaner.gemspec b/database_cleaner.gemspec index 34dd56e..6d1cd44 100644 --- a/database_cleaner.gemspec +++ b/database_cleaner.gemspec @@ -2,7 +2,9 @@ require_relative "./lib/database_cleaner/version" Gem::Specification.new do |spec| spec.name = "database_cleaner" - spec.version = DatabaseCleaner::VERSION +# FIXME temporarily hardcode to different version since core is at 2.0.0.beta2, but this gem only is at 2.0.0.beta +# spec.version = DatabaseCleaner::VERSION + spec.version = "2.0.0.beta" spec.authors = ["Ben Mabey", "Ernesto Tagwerker", "Micah Geisel"] spec.email = ["ernesto@ombulabs.com"] @@ -16,5 +18,5 @@ Gem::Specification.new do |spec| spec.files = ["lib/database_cleaner.rb"] spec.require_paths = ["lib"] - spec.add_dependency "database_cleaner-active_record" + spec.add_dependency "database_cleaner-active_record", "~>2.0.0.beta2" end diff --git a/lib/database_cleaner/version.rb b/lib/database_cleaner/version.rb index 7a328e4..695c4ae 100644 --- a/lib/database_cleaner/version.rb +++ b/lib/database_cleaner/version.rb @@ -1,3 +1,3 @@ module DatabaseCleaner - VERSION = "2.0.0.beta" + VERSION = "2.0.0.beta2" end