We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d30b71 commit c1c21f0Copy full SHA for c1c21f0
Gemfile
@@ -3,5 +3,15 @@ source 'https://rubygems.org'
3
# Specify your gem's dependencies in html-sanitizer.gemspec
4
gemspec
5
6
-gem "nokogiri", RUBY_VERSION < "2.1" ? "~> 1.6.0" : ">= 1.7"
+nokogiri_version = case
7
+ when RUBY_VERSION < "2.1"
8
+ "~> 1.6.0"
9
+ when RUBY_VERSION < "2.3"
10
+ "~> 1.9.1"
11
+ else
12
+ ">= 1.10.0"
13
+ end
14
+end
15
+
16
+gem "nokogiri", nokogiri_version
17
gem "activesupport", RUBY_VERSION < "2.2.2" ? "~> 4.2.0" : ">= 5"
0 commit comments