Skip to content
This repository has been archived by the owner on Dec 7, 2018. It is now read-only.

Commit

Permalink
Be clearer about the condition.
Browse files Browse the repository at this point in the history
  • Loading branch information
//de committed Mar 24, 2015
1 parent 3bfa4f7 commit 3996ee4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/reel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
require 'reel/server'
require 'reel/server/http'
require 'reel/server/https'
require 'reel/server/unix' if !defined? JRUBY_VERSION
require 'reel/server/unix' unless defined? JRUBY_VERSION

require 'reel/websocket'
require 'reel/stream'
Expand Down
2 changes: 1 addition & 1 deletion spec/reel/unix_server_spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'spec_helper'
require 'net/http'

return unless !defined? JRUBY_VERSION
return if defined? JRUBY_VERSION

RSpec.describe Reel::Server::UNIX do
let(:endpoint) { URI(example_url) }
Expand Down

0 comments on commit 3996ee4

Please sign in to comment.