Skip to content

Commit

Permalink
Set a higher min for date
Browse files Browse the repository at this point in the history
  • Loading branch information
kaylareopelle committed Dec 11, 2024
1 parent 76f72fc commit b0186bb
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion test/multiverse/suites/config_file_loading/Envfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,23 @@ def stringio_version
end
end


def date_version
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('3.4')
"gem 'date', '~> 3.3.4'"
else
"gem 'date'"
end
end

def gem_list(psych_version = nil)
<<~RB
#{stringio_version}
#{date_version}
# stub file system so we can test that newrelic.yml can be loaded from
# various places.
gem 'fakefs', :require => false

gem 'date', '3.4.1' if Gem::Version.new(#{psych_version}) >= Gem::Version.new('5.2.1')
gem 'psych'#{psych_version}
gem 'jar-dependencies', '0.4.1' if RUBY_PLATFORM == 'java'

Expand Down

0 comments on commit b0186bb

Please sign in to comment.