gosu 0.7.32-i386-mingw32 → 0.7.33-i386-mingw32

Sign up to get free protection for your applications and to get access to all the features.
data/Gosu/Version.hpp CHANGED
@@ -3,8 +3,8 @@
3
3
 
4
4
  #define GOSU_MAJOR_VERSION 0
5
5
  #define GOSU_MINOR_VERSION 7
6
- #define GOSU_POINT_VERSION 32
7
- #define GOSU_VERSION "0.7.32"
6
+ #define GOSU_POINT_VERSION 33
7
+ #define GOSU_VERSION "0.7.33"
8
8
 
9
9
  #define GOSU_COPYRIGHT_NOTICE \
10
10
  "May contain `ogg', `vorbis' libraries (c) 2002-2008 Xiph.org Foundation" \
data/lib/gosu.for_1_8.so CHANGED
Binary file
data/lib/gosu.for_1_9.so CHANGED
Binary file
@@ -11,7 +11,8 @@ class Gosu::Window
11
11
  define_method "protected_#{callback}" do |*args|
12
12
  begin
13
13
  # Turn into a boolean result for needs_cursor? etc while we are at it.
14
- !!send(callback, *args) unless @_exception
14
+ # If there has been an exception, don't do anything as to not make matters worse.
15
+ defined?(@_exception) ? false : !!send(callback, *args)
15
16
  rescue Exception => e
16
17
  # Exit the message loop naturally, then re-throw
17
18
  @_exception = e
@@ -25,7 +26,7 @@ class Gosu::Window
25
26
  show_internal
26
27
  # Try to format the message nicely, without any useless patching that we are
27
28
  # doing here.
28
- if @_exception then
29
+ if defined? @_exception then
29
30
  if @_exception.backtrace.is_a? Array and not @_exception.backtrace.frozen? then
30
31
  @_exception.backtrace.reject! { |line| line.include? 'lib/gosu/swig_patches.rb' }
31
32
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gosu
3
3
  version: !ruby/object:Gem::Version
4
- hash: 67
4
+ hash: 65
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
- - 32
10
- version: 0.7.32
9
+ - 33
10
+ version: 0.7.33
11
11
  platform: i386-mingw32
12
12
  authors:
13
13
  - Julian Raschke
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-06-05 00:00:00 Z
19
+ date: 2011-06-13 00:00:00 Z
20
20
  dependencies: []
21
21
 
22
22
  description: " 2D game development library.\n\n Gosu features easy to use and game-friendly interfaces to 2D graphics\n and text (accelerated by 3D hardware), sound samples and music as well as\n keyboard, mouse and gamepad/joystick input.\n\n Also includes demos for integration with RMagick, Chipmunk and Ruby-OpenGL.\n"