Skip to content

Commit

Permalink
http_parser.rb versions after 0.6 do not build on JRuby
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoglan committed Sep 6, 2023
1 parent 6e3ca6a commit 71ebd14
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion faye-websocket.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ Gem::Specification.new do |s|
s.add_development_dependency 'public_suffix', '< 1.5.0'
end

unless jruby
if jruby
s.add_development_dependency 'http_parser.rb', '~> 0.6.0'
else
thin_version = (RUBY_VERSION < '2.0.0') ? '< 1.8.0' : '> 0'
s.add_development_dependency 'thin', '>= 1.2.0', thin_version

Expand Down

0 comments on commit 71ebd14

Please sign in to comment.