gosu 0.11.1-x86-mingw32 → 0.11.2-x86-mingw32
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.
- checksums.yaml +4 -4
- data/lib/1.8/gosu.so +0 -0
- data/lib/1.9/gosu.so +0 -0
- data/lib/2.0/gosu.so +0 -0
- data/lib/2.1/gosu.so +0 -0
- data/lib/2.2/gosu.so +0 -0
- data/lib/2.3/gosu.so +0 -0
- data/lib/gosu.rb +1 -1
- data/lib/gosu/patches.rb +2 -2
- data/lib/gosu/swig_patches.rb +5 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5cce2123fbc80fcacc531a3b251de79c59b6c98
|
4
|
+
data.tar.gz: 04d187898fb6334855e90fff6be5b618bc45591b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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/
|
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
|
46
|
-
if args.size == 7
|
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]
|
data/lib/gosu/swig_patches.rb
CHANGED
@@ -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
|
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
|
49
|
-
if @_exception.backtrace.is_a? Array and not @_exception.backtrace.frozen?
|
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.
|
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-
|
11
|
+
date: 2017-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |2
|
14
14
|
2D game development library.
|