gosu 0.10.3-x64-mingw32 → 0.10.4-x64-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/gosu/patches.rb +16 -2
- data/lib64/2.1/gosu.so +0 -0
- data/lib64/2.2/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: 64059fa1b3f907091141eae0a18569ec9d7eaf84
|
4
|
+
data.tar.gz: 356c2ef588dc39ed4700989f828e1d498598cabe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a50ce0d083ff47afcd18f805ab79e7b834296ead0d7316d72b8e7c3b508de700f27c916b77e219425fe65b8a5fa0749163928905a01d53928e02c549d968d4e9
|
7
|
+
data.tar.gz: b1ed57d1e435a97d03300fc95008ad6e7f636503b14685102880b7b8bd2d1da63d4110a92813e9fbeedcb6206fdf636ee0b0e70514ed7e94df9ab062a60466d1
|
data/lib/gosu/patches.rb
CHANGED
@@ -25,8 +25,22 @@ module Gosu::Button
|
|
25
25
|
end
|
26
26
|
|
27
27
|
# Backwards compatibility:
|
28
|
-
#
|
28
|
+
# Passing a Window to initialize and from_text has been deprecated in Gosu 0.9.
|
29
29
|
class Gosu::Image
|
30
|
+
alias initialize_without_window initialize
|
31
|
+
|
32
|
+
def initialize(*args)
|
33
|
+
if args[0].is_a? Gosu::Window then
|
34
|
+
if args.size == 7 then
|
35
|
+
initialize_without_window args[1], :tileable => args[2], :rect => args[3..-1]
|
36
|
+
else
|
37
|
+
initialize_without_window args[1], :tileable => args[2]
|
38
|
+
end
|
39
|
+
else
|
40
|
+
initialize_without_window(*args)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
30
44
|
class << self
|
31
45
|
alias from_text_without_window from_text
|
32
46
|
end
|
@@ -44,7 +58,7 @@ class Gosu::Image
|
|
44
58
|
end
|
45
59
|
|
46
60
|
# Backwards compatibility:
|
47
|
-
# Passing a Window Sample#initialize has been deprecated in Gosu 0.7.17.
|
61
|
+
# Passing a Window to Sample#initialize has been deprecated in Gosu 0.7.17.
|
48
62
|
class Gosu::Sample
|
49
63
|
alias initialize_without_window initialize
|
50
64
|
|
data/lib64/2.1/gosu.so
CHANGED
Binary file
|
data/lib64/2.2/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.10.
|
4
|
+
version: 0.10.4
|
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: 2015-
|
11
|
+
date: 2015-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |2
|
14
14
|
2D game development library.
|