Skip to content

Commit 6c4ddaa

Browse files
committed
Guard rack and public_suffix for old rubies
1 parent 3a3bfa5 commit 6c4ddaa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

omniauth-oauth2.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ require "omniauth-oauth2/version"
55
Gem::Specification.new do |gem|
66
gem.add_dependency "oauth2", "~> 1.0"
77
gem.add_dependency "omniauth", "~> 1.2"
8+
gem.add_dependency "public_suffix", "< 2.0.4" if RUBY_VERSION < "2.0"
9+
gem.add_dependency "rack", "< 2" if RUBY_VERSION < "2.2.2"
810

911
gem.add_development_dependency "bundler", "~> 1.0"
1012

0 commit comments

Comments
 (0)