Skip to content

Commit

Permalink
Bump dependencies and supported Ruby version range
Browse files Browse the repository at this point in the history
to keep up with the times.

This also swaps File.exists? which was
removed in Ruby 3.2? in favor of a grammatically
incorrect File.exist? :facepalm

(cherry picked from commit ea0555c)
  • Loading branch information
michaelklishin committed Aug 26, 2024
1 parent 7f0db03 commit a38c331
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
source 'https://rubygems.org'

ruby '>= 2.6.0'
# because we use an anscient version of ddtrace

This comment has been minimized.

Copy link
@michaelklishin

michaelklishin Aug 26, 2024

Author Member

This was a local master branch artifact that was later corrected in main.

ruby '>= 2.7.0', '< 3.2'

gemspec

group :development do
gem "rake"
gem "guard", "~> 2.18"
gem "guard-rspec", "~> 4.7", platform: :mri_23
gem "guard", "~> 2.14", platform: :mri
gem "guard-rspec", "~> 4.7", platform: :mri

gem "yard", "~> 0.9"
gem 'kramdown', "> 0", platform: :jruby
Expand Down
4 changes: 2 additions & 2 deletions hutch.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ require File.expand_path('../lib/hutch/version', __FILE__)
Gem::Specification.new do |gem|
if defined?(JRUBY_VERSION)
gem.platform = 'java'
gem.add_runtime_dependency 'march_hare', '>= 3.0.0'
gem.add_runtime_dependency 'march_hare', '>= 4.5.0'
else
gem.platform = Gem::Platform::RUBY
gem.add_runtime_dependency 'bunny', '>= 2.20', '< 3.0'
gem.add_runtime_dependency 'bunny', '>= 2.23', '< 3.0'
end
gem.add_runtime_dependency 'carrot-top', '~> 0.0.7'
gem.add_runtime_dependency 'multi_json', '~> 1.15'
Expand Down

0 comments on commit a38c331

Please sign in to comment.