Skip to content
Snippets Groups Projects
Commit 5836b3b9 authored by Tank Tang's avatar Tank Tang
Browse files

Update gemspecs to resolve dependency hell for nokogiri.

parent 72968786
Branches
No related tags found
No related merge requests found
......@@ -46,6 +46,8 @@ Gem::Specification.new do |s|
s.add_runtime_dependency("net-http-persistent", '~> 4.0')
if RUBY_VERSION < "2.4.0"
s.add_runtime_dependency("nokogiri", "~> 1.10.4")
elsif RUBY_VERSION < "2.5.0"
s.add_runtime_dependency("nokogiri", "~> 1.11.0.rc2")
else
s.add_runtime_dependency("nokogiri", "~> 1", ">= 1.12.5")
end
......
......@@ -43,6 +43,8 @@ Gem::Specification.new do |s|
s.add_runtime_dependency("azure-storage-common", "~> 2.0")
if RUBY_VERSION < "2.4.0"
s.add_runtime_dependency("nokogiri", "~> 1.10.4")
elsif RUBY_VERSION < "2.5.0"
s.add_runtime_dependency("nokogiri", "~> 1.11.0.rc2")
else
s.add_runtime_dependency("nokogiri", "~> 1", ">= 1.12.5")
end
......
......@@ -43,6 +43,8 @@ Gem::Specification.new do |s|
s.add_runtime_dependency("azure-storage-common", "~> 2.0")
if RUBY_VERSION < "2.4.0"
s.add_runtime_dependency("nokogiri", "~> 1.10.4")
elsif RUBY_VERSION < "2.5.0"
s.add_runtime_dependency("nokogiri", "~> 1.11.0.rc2")
else
s.add_runtime_dependency("nokogiri", "~> 1", ">= 1.12.5")
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment