gosu 0.11.1-x86-mingw32 → 0.11.2-x86-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: f334da6acb5abe3c6a3315908a69a7b6c448a21d
4
- data.tar.gz: 7d4be3ab665b2e151f1e005a9af7daea477b2181
3
+ metadata.gz: a5cce2123fbc80fcacc531a3b251de79c59b6c98
4
+ data.tar.gz: 04d187898fb6334855e90fff6be5b618bc45591b
5
5
  SHA512:
6
- metadata.gz: c7c3c136c299d52d81f4bcdfaf92e7daa67a2939d46d455f48816a2d55a2f7180b16f060e7a742f4ae7a708623cb4d16c791790eda3eee24dea872312d49550e
7
- data.tar.gz: 190b07dc1d90a49be825ff029f826aae844ead64007006de1652295de35191fbc591738681d18783dc5986d75240071e06eed53f7fd126e64f5f326c63ab3b10
6
+ metadata.gz: a22022a8d48056143c2918412ed1b228ab8152a01e89a074b7680930c65d1d6443865dae18f03158a640f7329ef9e442e926b8cdbc7becd44567480d8d94ea5c
7
+ data.tar.gz: 0dcb5c22c435c612acb113e7775b49212a527fe84d1689de451b48ac6b978336e7a358bf67075905ea3d188f3ad762643c3fdfd96b0aed26b30668c2dd2a959c
data/lib/1.8/gosu.so CHANGED
Binary file
data/lib/1.9/gosu.so CHANGED
Binary file
data/lib/2.0/gosu.so CHANGED
Binary file
data/lib/2.1/gosu.so CHANGED
Binary file
data/lib/2.2/gosu.so CHANGED
Binary file
data/lib/2.3/gosu.so CHANGED
Binary file
data/lib/gosu.rb CHANGED
@@ -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-/
data/lib/gosu/patches.rb CHANGED
@@ -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
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: x86-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.