libtcod 0.0.5 → 0.0.6

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # libtcod-ruby 0.0.5
1
+ # libtcod-ruby 0.0.6
2
2
 
3
3
  Ruby bindings for [libtcod 1.5.1](http://doryen.eptalys.net/libtcod/)
4
4
 
Binary file
Binary file
@@ -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
- ffi_lib ['libtcod', File.join(APP_ROOT, "clib/amd64/libtcod.so")]
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
- ffi_lib ['libtcod', File.join(APP_ROOT, "clib/i686/libtcod.so")]
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
@@ -1,3 +1,3 @@
1
1
  module TCOD
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
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.5
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: