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 d8028b1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,12 @@ These are not required automatically. You must require `loofah/helpers` to use t

Unsurprisingly:

* gem install loofah
> gem install loofah
Requirements:

- Ruby >= 2.5
- or JRuby >= 9.2.0.0


## 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 d8028b1

Please sign in to comment.