Skip to content

Commit

Permalink
dep: require nokogiri >= 1.12.0
Browse files Browse the repository at this point in the history
which in turn requires ruby >= 2.5.0, so let's be explicit about that
requirement in the gemspec as well.
  • Loading branch information
flavorjones committed May 11, 2023
1 parent bb6653d commit 0fc8515
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,11 @@ These are not required automatically. You must require `loofah/helpers` to use t

Unsurprisingly:

* gem install loofah
> gem install loofah
Requirements:

* Ruby >= 2.5


## Support
Expand Down
4 changes: 3 additions & 1 deletion loofah.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ Gem::Specification.new do |spec|
] + Dir.glob("lib/**/*.*")
end

spec.required_ruby_version = ">= 2.5.0"

spec.add_runtime_dependency("crass", ["~> 1.0.2"])
spec.add_runtime_dependency("nokogiri", [">= 1.5.9"])
spec.add_runtime_dependency("nokogiri", [">= 1.12.0"])
end

0 comments on commit 0fc8515

Please sign in to comment.