From dee9d23b0b58ae035ed308c71443942f316ade29 Mon Sep 17 00:00:00 2001 From: Jonathan Rochkind Date: Thu, 13 Jul 2023 11:29:14 -0400 Subject: [PATCH] better comment --- attr_json.gemspec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/attr_json.gemspec b/attr_json.gemspec index 2890544..7421cd6 100644 --- a/attr_json.gemspec +++ b/attr_json.gemspec @@ -42,8 +42,10 @@ attributes use as much of the existing ActiveRecord architecture as we can.} spec.required_ruby_version = '>= 2.6.0' - # Only to get CI to work on versions of Rails other than we release with, - # should never release a gem with RAILS_GEM set! + # This conditional is only to get CI to work on versions of Rails other than + # we release with. The gem should never be released without the activerecord + # dependency included just as it is here, should never be released + # from an env tht has any of these variables set. unless ENV['APPRAISAL_INITIALIZED'] || ENV["TRAVIS"] || ENV['CI'] spec.add_runtime_dependency "activerecord", ">= 6.0.0", "< 7.1" end