gosu 0.11.1-x64-mingw32 → 0.11.2-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6e5ab116051126921168d1d2c58220fcf3ab3db1
4
- data.tar.gz: 95c734372e6d23194d5c53779c7241b7589805d3
3
+ metadata.gz: 48b581572b6d0810c122762d21cf4eb18e327317
4
+ data.tar.gz: a4ea44e54d2a482e74cd1ac5ccb47e13011a2552
5
5
  SHA512:
6
- metadata.gz: ddf1c0fc2751163d1c648695783167cf414d6fef9891501c363e3298a0fdefd858f7b275b536c751aaf9ea0d5aeeeade5955bd4c464f9cd8b945f8d5bdf86f71
7
- data.tar.gz: 8d0879f76b0b45e5e6596d9662c0c0349b739bbd08e974712f392f089513e4595f39f6ee93f380e02457b59c4ecd9769f651cf2ef0396f062ea3038fb42eeb8c
6
+ metadata.gz: 8dd91a265c4cac248c718bd19b9a09e856a99c4dabdc5515a00f75a06a8dfac42d7b89d593b289b32253d678096a0f564668e52025323ee6d98b4fec6fdd29af
7
+ data.tar.gz: 8cf20e07942a5dc343562118060c4724f3ec787f5bef53cbec7358b708f94c74ba8d967c5bc39ccb4638e59021df64781501118ccb0862fd23f8fa6ce8cde247
@@ -1,6 +1,6 @@
1
1
  require 'rbconfig'
2
2
 
3
- if RUBY_PLATFORM =~ /mswin$|mingw32|mingw64|win32\-|\-win32/ then
3
+ if RUBY_PLATFORM =~ /mswin$|mingw32|mingw64|win32\-|\-win32/
4
4
  binary_path = File.dirname(__FILE__)
5
5
  # 64-bit builds of Windows use "x64-mingw32" as RUBY_PLATFORM
6
6
  binary_path += '64' if RUBY_PLATFORM =~ /^x64-/
@@ -42,8 +42,8 @@ class Gosu::Image
42
42
  alias initialize_without_window initialize
43
43
 
44
44
  def initialize(*args)
45
- if args[0].is_a? Gosu::Window then
46
- if args.size == 7 then
45
+ if args[0].is_a? Gosu::Window
46
+ if args.size == 7
47
47
  initialize_without_window args[1], :tileable => args[2], :rect => args[3..-1]
48
48
  else
49
49
  initialize_without_window args[1], :tileable => args[2]
@@ -9,13 +9,14 @@ class Gosu::Window
9
9
  alias initialize_without_hash initialize
10
10
 
11
11
  def initialize width, height, *args
12
- if args.empty? or args.first.is_a? Hash then
12
+ if args.empty? or args.first.is_a? Hash
13
13
  options = args.first || {}
14
14
  fullscreen = options[:fullscreen]
15
15
  update_interval = options[:update_interval]
16
16
  else
17
17
  fullscreen, update_interval = *args
18
18
  end
19
+ $gosu_gl_blocks = nil
19
20
  initialize_without_hash width, height, !!fullscreen, update_interval || 16.666666
20
21
  end
21
22
 
@@ -30,6 +31,7 @@ class Gosu::Window
30
31
  # Exit the message loop naturally, then re-throw
31
32
  @_exception = e
32
33
  close
34
+ false
33
35
  end
34
36
  end
35
37
  end
@@ -45,8 +47,8 @@ class Gosu::Window
45
47
  show_internal
46
48
  # Try to format the message nicely, without any useless patching that we are
47
49
  # doing here.
48
- if defined? @_exception then
49
- if @_exception.backtrace.is_a? Array and not @_exception.backtrace.frozen? then
50
+ if defined? @_exception
51
+ if @_exception.backtrace.is_a? Array and not @_exception.backtrace.frozen?
50
52
  @_exception.backtrace.reject! { |line| line.include? 'lib/gosu/swig_patches.rb' }
51
53
  end
52
54
  raise @_exception
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gosu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
4
+ version: 0.11.2
5
5
  platform: x64-mingw32
6
6
  authors:
7
7
  - Julian Raschke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-18 00:00:00.000000000 Z
11
+ date: 2017-02-26 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |2
14
14
  2D game development library.