Skip to content

Commit

Permalink
chore: fix equality check for RACK_VERSION env var
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Nov 29, 2024
1 parent de22c7a commit 7ed5199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rack-reverse-proxy.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ eos
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]

if ENV["RACK_VERSION"] = "2"
if ENV['RACK_VERSION'] == '2'
spec.add_dependency 'rack', ">= 1.0.0", '< 3.0'
else
spec.add_dependency 'rack', '>= 3.0', '< 4.0'
Expand Down

0 comments on commit 7ed5199

Please sign in to comment.