renet 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/renet/extconf.rb +1 -2
- data/ext/renet/renet.c +1 -1
- metadata +1 -1
data/ext/renet/extconf.rb
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
require 'mkmf'
|
2
|
-
require 'fileutils'
|
3
2
|
|
4
3
|
extension_name = 'renet'
|
5
4
|
#have_library('enet')
|
6
5
|
dir_config(extension_name)
|
7
6
|
create_makefile(extension_name)
|
8
7
|
|
9
|
-
|
8
|
+
system("make")
|
10
9
|
|
11
10
|
if `uname`.chomp == 'Darwin'
|
12
11
|
`ln -s renet.bundle ../../lib/renet.bundle`
|
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.2"));
|
34
34
|
}
|
35
35
|
|
36
36
|
VALUE renet_main_initialize(VALUE self)
|