-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #702 from ruby-amqp/bunny-701
Drop JRuby support
- Loading branch information
Showing
11 changed files
with
64 additions
and
339 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,6 @@ Gemfile.lock | |
.tags | ||
.tags_sorted_by_file | ||
.Apple* | ||
/bin/* | ||
.bundle/* | ||
vendor/* | ||
playground/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,9 @@ | ||
# frozen_string_literal: true | ||
|
||
# See #165. MK. | ||
if defined?(JRUBY_VERSION) | ||
require "bunny/jruby/socket" | ||
require "bunny/cruby/socket" | ||
|
||
module Bunny | ||
SocketImpl = JRuby::Socket | ||
end | ||
else | ||
require "bunny/cruby/socket" | ||
|
||
module Bunny | ||
SocketImpl = Socket | ||
end | ||
end | ||
module Bunny | ||
# An alias for the standard MRI Socket, | ||
# exists from the days of JRuby support. | ||
SocketImpl = Socket | ||
end |
Oops, something went wrong.