Skip to content

Commit f8f6b5f

Browse files
committed
Guard rack with < 2 for Ruby < 2.2.2
1 parent 8d902e9 commit f8f6b5f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

omniauth-oauth2.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ 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 "rack", "< 2" if RUBY_VERSION < '2.2.2'
89

910
gem.add_development_dependency "bundler", "~> 1.0"
1011

0 commit comments

Comments
 (0)