Skip to content

Commit

Permalink
Lock loofah on Rails <= 5.2
Browse files Browse the repository at this point in the history
There's some incompatibility issue with loofah there since it uses an
older version of nokogiri, so I'm locking it on those older versions to
try to get a green build again there.
  • Loading branch information
carlosantoniodasilva committed Oct 10, 2023
1 parent 373d83c commit 501ae58
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gemfiles/Gemfile-rails-4-1
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,6 @@ if RUBY_VERSION < "2.3.0"
# `Object.deprecate_constant` which isn't available.
gem "multipart-post", "2.1.1"
end

# There's a build incompatibility issue with nokogiri and loofah
gem "loofah", "~> 2.20.0"
3 changes: 3 additions & 0 deletions gemfiles/Gemfile-rails-4-2
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,6 @@ if RUBY_VERSION < "2.3.0"
# `Object.deprecate_constant` which isn't available.
gem "multipart-post", "2.1.1"
end

# There's a build incompatibility issue with nokogiri and loofah
gem "loofah", "~> 2.20.0"
3 changes: 3 additions & 0 deletions gemfiles/Gemfile-rails-5-0
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ if RUBY_VERSION < "2.3.0"
# `Object.deprecate_constant` which isn't available.
gem "multipart-post", "2.1.1"
end

# There's a build incompatibility issue with nokogiri and loofah
gem "loofah", "~> 2.20.0"
3 changes: 3 additions & 0 deletions gemfiles/Gemfile-rails-5-1
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ if RUBY_VERSION < "2.3.0"
# `Object.deprecate_constant` which isn't available.
gem "multipart-post", "2.1.1"
end

# There's a build incompatibility issue with nokogiri and loofah
gem "loofah", "~> 2.20.0"
3 changes: 3 additions & 0 deletions gemfiles/Gemfile-rails-5-2
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ end
platforms :ruby do
gem "sqlite3", "~> 1.3.6"
end

# There's a build incompatibility issue with nokogiri and loofah
gem "loofah", "~> 2.20.0"

0 comments on commit 501ae58

Please sign in to comment.