From a97850aa3b358a42fde268ca76f5ac69f75339be Mon Sep 17 00:00:00 2001 From: Jared Beck Date: Wed, 9 Sep 2015 09:41:07 -0400 Subject: [PATCH] Temporarily constrain mysql2 gem to ~> 0.3.20 We would prefer to only constrain mysql2 to '~> 0.3', but a rails bug (https://github.com/rails/rails/issues/21544) requires us to constrain to '~> 0.3.20' for now. --- paper_trail.gemspec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/paper_trail.gemspec b/paper_trail.gemspec index c336f98f..eb1ad7f4 100644 --- a/paper_trail.gemspec +++ b/paper_trail.gemspec @@ -44,7 +44,12 @@ Gem::Specification.new do |s| # JRuby support for the test ENV unless defined?(JRUBY_VERSION) s.add_development_dependency 'sqlite3', '~> 1.2' - s.add_development_dependency 'mysql2', '~> 0.3' + + # We would prefer to only constrain mysql2 to '~> 0.3', + # but a rails bug (https://github.com/rails/rails/issues/21544) + # requires us to constrain to '~> 0.3.20' for now. + s.add_development_dependency 'mysql2', '~> 0.3.20' + s.add_development_dependency 'pg', '~> 0.17' else s.add_development_dependency 'activerecord-jdbcsqlite3-adapter', '~> 1.3'