Skip to content

Commit

Permalink
possible fix for #148
Browse files Browse the repository at this point in the history
  • Loading branch information
boazsegev committed Sep 3, 2023
1 parent c5719a4 commit 5bea4f0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ Please notice that this change log contains changes for upcoming releases as wel

## Changes:

#### Change log v.0.7.57 (2023-09-04)

**Fix**: Fixes possible name collision when loading gem (`.rb` vs. `.so` loading). Credit to @noraj (Alexandre ZANNI) for opening issue #148. Credit to @janbiedermann (Jan Biedermann) for discovering the root cause and offering a solution.

#### Change log v.0.7.56 (2023-07-07)

**Support**: Adds teapot support (HTTP code 418). Credit to Aleksandar N. Kostadinov (@akostadinov) for issue #144 and PR #145.
Expand Down
2 changes: 1 addition & 1 deletion ext/iodine/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,4 @@ def iodine_test_polling_support
end
end

create_makefile 'iodine/iodine'
create_makefile 'iodine/iodine_ext'
2 changes: 1 addition & 1 deletion ext/iodine/iodine.c
Original file line number Diff line number Diff line change
Expand Up @@ -1325,7 +1325,7 @@ Ruby loads the library and invokes the Init_<lib_name> function...
Here we connect all the C code to the Ruby interface, completing the bridge
between Lib-Server and Ruby.
***************************************************************************** */
void Init_iodine(void) {
void Init_iodine_ext(void) {
/* common Symbol objects in use by Iodine */
#define IODINE_MAKE_SYM(name) \
do { \
Expand Down
2 changes: 1 addition & 1 deletion lib/iodine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# require 'openssl' # For SSL/TLS support using OpenSSL

require_relative './iodine/version'
require_relative './iodine/iodine' # loading a binary C extension
require_relative './iodine/iodine_ext' # loading a binary C extension

# Iodine is an HTTP / WebSocket server as well as an Evented Network Tool Library. In essense, Iodine is a Ruby port for the [facil.io](http://facil.io) C library.
#
Expand Down

0 comments on commit 5bea4f0

Please sign in to comment.