libtcod 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/clib/amd64/libtcod.dylib +0 -0
- data/clib/i686/libtcod.dylib +0 -0
- data/lib/libtcod/bindings.rb +10 -4
- data/lib/libtcod/version.rb +1 -1
- metadata +3 -1
data/README.md
CHANGED
data/clib/amd64/libtcod.dylib
CHANGED
Binary file
|
Binary file
|
data/lib/libtcod/bindings.rb
CHANGED
@@ -5,12 +5,18 @@ module TCOD
|
|
5
5
|
|
6
6
|
if RUBY_PLATFORM.include?('mingw32')
|
7
7
|
ffi_lib ['libtcod-mingw', File.join(APP_ROOT, "clib/i686/libtcod-mingw.dll").gsub('/', '\\')]
|
8
|
-
elsif RUBY_PLATFORM.include?('darwin')
|
9
|
-
ffi_lib ['libtcod', File.join(APP_ROOT, "clib/amd64/libtcod.dylib")]
|
10
8
|
elsif RUBY_PLATFORM.include?('x86_64')
|
11
|
-
|
9
|
+
if RUBY_PLATFORM.include?('darwin')
|
10
|
+
ffi_lib ['libtcod', File.join(APP_ROOT, "clib/amd64/libtcod.dylib")]
|
11
|
+
else
|
12
|
+
ffi_lib ['libtcod', File.join(APP_ROOT, "clib/amd64/libtcod.so")]
|
13
|
+
end
|
12
14
|
else
|
13
|
-
|
15
|
+
if RUBY_PLATFORM.include?('darwin')
|
16
|
+
ffi_lib ['libtcod', File.join(APP_ROOT, "clib/i686/libtcod.dylib")]
|
17
|
+
else
|
18
|
+
ffi_lib ['libtcod', File.join(APP_ROOT, "clib/i686/libtcod.so")]
|
19
|
+
end
|
14
20
|
end
|
15
21
|
|
16
22
|
# Remove redundant namespacing
|
data/lib/libtcod/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libtcod
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -65,6 +65,7 @@ files:
|
|
65
65
|
- clib/i686/SDL.dll
|
66
66
|
- clib/i686/libSDL.so
|
67
67
|
- clib/i686/libtcod-mingw.dll
|
68
|
+
- clib/i686/libtcod.dylib
|
68
69
|
- clib/i686/libtcod.so
|
69
70
|
- examples/python_tutorial_part_1/arial10x10.png
|
70
71
|
- examples/python_tutorial_part_1/main.rb
|
@@ -113,3 +114,4 @@ test_files:
|
|
113
114
|
- test/color.rb
|
114
115
|
- test/console.rb
|
115
116
|
- test/helpers.rb
|
117
|
+
has_rdoc:
|