Skip to content

Commit

Permalink
Pin loofah for <= ruby 2.4 since they removed support in a patch release
Browse files Browse the repository at this point in the history
  • Loading branch information
sl0thentr0py committed May 15, 2023
1 parent bd28bf6 commit 33fa6d7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sentry-rails/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ gem 'simplecov'
gem "simplecov-cobertura", "~> 1.4"
gem "rexml"

# https://github.com/flavorjones/loofah/pull/267
# loofah changed the required ruby version in a patch so we need to explicitly pin it
gem "loofah", "2.20.0" if RUBY_VERSION.to_f < 2.5

gem "rake", "~> 12.0"

gem "object_tracer"
Expand Down
4 changes: 4 additions & 0 deletions sentry-sidekiq/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ sidekiq_version = "6.0" if sidekiq_version.nil?
gem "rails", "< 7.0"
gem "sidekiq", "~> #{sidekiq_version}"

# https://github.com/flavorjones/loofah/pull/267
# loofah changed the required ruby version in a patch so we need to explicitly pin it
gem "loofah", "2.20.0" if RUBY_VERSION.to_f < 2.5

gem "sentry-ruby", path: "../sentry-ruby"
gem "sentry-rails", path: "../sentry-rails"

Expand Down

0 comments on commit 33fa6d7

Please sign in to comment.