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 +4 -4
- data/lib/gosu.rb +1 -1
- data/lib/gosu/patches.rb +2 -2
- data/lib/gosu/swig_patches.rb +5 -3
- data/lib64/2.1/gosu.so +0 -0
- data/lib64/2.2/gosu.so +0 -0
- data/lib64/2.3/gosu.so +0 -0
- 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: 48b581572b6d0810c122762d21cf4eb18e327317
|
4
|
+
data.tar.gz: a4ea44e54d2a482e74cd1ac5ccb47e13011a2552
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8dd91a265c4cac248c718bd19b9a09e856a99c4dabdc5515a00f75a06a8dfac42d7b89d593b289b32253d678096a0f564668e52025323ee6d98b4fec6fdd29af
|
7
|
+
data.tar.gz: 8cf20e07942a5dc343562118060c4724f3ec787f5bef53cbec7358b708f94c74ba8d967c5bc39ccb4638e59021df64781501118ccb0862fd23f8fa6ce8cde247
|
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
|
data/lib64/2.1/gosu.so
CHANGED
Binary file
|
data/lib64/2.2/gosu.so
CHANGED
Binary file
|
data/lib64/2.3/gosu.so
CHANGED
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.
|
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-
|
11
|
+
date: 2017-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |2
|
14
14
|
2D game development library.
|