renet 0.1.0-universal-darwin → 0.1.1-universal-darwin
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/examples/Console-Server.rb +2 -1
- data/examples/Gosu-Client.rb +2 -1
- data/ext/renet/extconf.rb +1 -7
- data/ext/renet/renet.c +1 -1
- metadata +1 -1
data/examples/Console-Server.rb
CHANGED
data/examples/Gosu-Client.rb
CHANGED
data/ext/renet/extconf.rb
CHANGED
@@ -1,15 +1,9 @@
|
|
1
|
-
# Loads mkmf which is used to make makefiles for Ruby extensions
|
2
1
|
require 'mkmf'
|
2
|
+
require 'fileutils'
|
3
3
|
|
4
4
|
extension_name = 'renet'
|
5
|
-
|
6
|
-
# Add the Enet library dependency
|
7
5
|
#have_library('enet')
|
8
|
-
|
9
|
-
# The destination
|
10
6
|
dir_config(extension_name)
|
11
|
-
|
12
|
-
# Do the work
|
13
7
|
create_makefile(extension_name)
|
14
8
|
|
15
9
|
sh "make"
|
data/ext/renet/renet.c
CHANGED
@@ -30,7 +30,7 @@ void Init_renet()
|
|
30
30
|
init_renet_connection();
|
31
31
|
init_renet_server();
|
32
32
|
rb_define_const(mENet, "ENET_VERSION", rb_str_new2("1.3.0"));
|
33
|
-
rb_define_const(mENet, "RENET_VERSION", rb_str_new2("0.1"));
|
33
|
+
rb_define_const(mENet, "RENET_VERSION", rb_str_new2("0.1.1"));
|
34
34
|
}
|
35
35
|
|
36
36
|
VALUE renet_main_initialize(VALUE self)
|