Skip to content

Commit a404aff

Browse files
author
Juanito Fatas
committed
At least on Nokogiri 1.10.0
1 parent f77dfa5 commit a404aff

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

Gemfile

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,5 @@ source 'https://rubygems.org'
33
# Specify your gem's dependencies in html-sanitizer.gemspec
44
gemspec
55

6-
nokogiri_version = begin
7-
case
8-
when RUBY_VERSION < "2.1"
9-
"~> 1.6.0"
10-
when RUBY_VERSION < "2.3"
11-
"~> 1.9.1"
12-
else
13-
">= 1.10.0"
14-
end
15-
end
16-
17-
gem "nokogiri", nokogiri_version
6+
gem "nokogiri", ">= 1.10.0"
187
gem "activesupport", RUBY_VERSION < "2.2.2" ? "~> 4.2.0" : ">= 5"

0 commit comments

Comments
 (0)