Skip to content

Commit a38c331

Browse files
Bump dependencies and supported Ruby version range
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)
1 parent 7f0db03 commit a38c331

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

Gemfile

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
source 'https://rubygems.org'
22

3-
ruby '>= 2.6.0'
3+
# because we use an anscient version of ddtrace
4+
ruby '>= 2.7.0', '< 3.2'
45

56
gemspec
67

78
group :development do
89
gem "rake"
9-
gem "guard", "~> 2.18"
10-
gem "guard-rspec", "~> 4.7", platform: :mri_23
10+
gem "guard", "~> 2.14", platform: :mri
11+
gem "guard-rspec", "~> 4.7", platform: :mri
1112

1213
gem "yard", "~> 0.9"
1314
gem 'kramdown', "> 0", platform: :jruby

hutch.gemspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ require File.expand_path('../lib/hutch/version', __FILE__)
33
Gem::Specification.new do |gem|
44
if defined?(JRUBY_VERSION)
55
gem.platform = 'java'
6-
gem.add_runtime_dependency 'march_hare', '>= 3.0.0'
6+
gem.add_runtime_dependency 'march_hare', '>= 4.5.0'
77
else
88
gem.platform = Gem::Platform::RUBY
9-
gem.add_runtime_dependency 'bunny', '>= 2.20', '< 3.0'
9+
gem.add_runtime_dependency 'bunny', '>= 2.23', '< 3.0'
1010
end
1111
gem.add_runtime_dependency 'carrot-top', '~> 0.0.7'
1212
gem.add_runtime_dependency 'multi_json', '~> 1.15'

0 commit comments

Comments
 (0)