gosu 0.14.0.pre3-x86-mingw32 → 0.14.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2.3/gosu.so +0 -0
- data/lib/2.4/gosu.so +0 -0
- data/lib/2.5/gosu.so +0 -0
- data/lib/gosu/compat.rb +6 -0
- data/lib/gosu/patches.rb +4 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd55a781a911b24e3385704fddb292c97a3a2222ebc15600b4238161b8dd3779
|
4
|
+
data.tar.gz: 22fd863b4dcacb51c5b8f000d5032e1a1565d3e03c6ca4261f2bba33ec861e76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4020d88688452eff5c214f34010203eaf040d12349f0106a34e9d7f44681f90712b6a5b6a4572a271f7a84746bed3f480871ec0e2b9bf8f80361f2467642c9a
|
7
|
+
data.tar.gz: 333a614f415da47b047e38bb764c57caeecd0c4227c0996a4649cfb0ee10f0332b4d4c49dd7568c5d992f1db0d0d6913f4dc70ddb3c86c0b2d5af41f4fa74cad
|
data/lib/2.3/gosu.so
CHANGED
Binary file
|
data/lib/2.4/gosu.so
CHANGED
Binary file
|
data/lib/2.5/gosu.so
CHANGED
Binary file
|
data/lib/gosu/compat.rb
CHANGED
@@ -130,6 +130,12 @@ class Gosu::Song
|
|
130
130
|
end
|
131
131
|
|
132
132
|
class Gosu::Font
|
133
|
+
alias_method :draw, :draw_markup
|
134
|
+
Gosu.deprecate Gosu::Font, :draw, "Font#draw_text or Font#draw_markup"
|
135
|
+
|
136
|
+
alias_method :draw_rel, :draw_markup_rel
|
137
|
+
Gosu.deprecate Gosu::Font, :draw_rel, "Font#draw_text_rel or Font#draw_markup_rel"
|
138
|
+
|
133
139
|
def draw_rot(markup, x, y, z, angle, scale_x = 1, scale_y = 1, c = 0xff_ffffff, mode = :default)
|
134
140
|
Gosu.rotate(angle, x, y) { draw_markup(markup, x, y, z, scale_x, scale_y, c, mode) }
|
135
141
|
end
|
data/lib/gosu/patches.rb
CHANGED
@@ -19,9 +19,12 @@ class ::Numeric
|
|
19
19
|
end
|
20
20
|
|
21
21
|
class Gosu::Font
|
22
|
-
alias_method :draw, :draw_markup
|
23
22
|
# draw_text will stop parsing markup in Gosu 1.0.
|
24
23
|
alias_method :draw_text, :draw_markup
|
24
|
+
# draw_text_rel will stop parsing markup in Gosu 1.0.
|
25
|
+
alias_method :draw_text_rel, :draw_markup_rel
|
26
|
+
# text_width will stop parsing markup in Gosu 1.0.
|
27
|
+
alias_method :text_width, :markup_width
|
25
28
|
end
|
26
29
|
|
27
30
|
class Gosu::Image
|
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.14.0
|
4
|
+
version: 0.14.0
|
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: 2018-09-
|
11
|
+
date: 2018-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |2
|
14
14
|
2D game development library.
|
@@ -50,9 +50,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
50
50
|
version: 2.3.0
|
51
51
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- - "
|
53
|
+
- - ">="
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
55
|
+
version: '0'
|
56
56
|
requirements: []
|
57
57
|
rubyforge_project:
|
58
58
|
rubygems_version: 2.7.3
|