gosu 0.14.0.pre3-x64-mingw32 → 0.14.0-x64-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
  SHA256:
3
- metadata.gz: f1e104783e7a6d6ca2dc10224d05a497f41bd8d97bb45f72fe04d467d616427f
4
- data.tar.gz: c9a037ac5559b6cf6efe4541d294ac6d71271a1682985eea639b9310332ac46d
3
+ metadata.gz: 8791037bc64a1f893f48c64da0797b894bb4bc7de9aa8548bf77ce502e2658d3
4
+ data.tar.gz: 6a8e222a6bd1df461398362a1c23c5d349f74558a815b95da01c8ff87a784620
5
5
  SHA512:
6
- metadata.gz: f971c362e695a3a012a6f19a2c036c2850d7c52b670d3171967443a151d48e9af8da7090d2bc3cac71766d16865d1c29b06b03aafce8f2da2a41e42d58631dc8
7
- data.tar.gz: 90b620df9339c85d0568f4663c0382bbf285658a0a243a7a46da7f0a283b8a6bdb3cbefcefa11627523fca3ca393bedc8a7d6fabf0728757c1425a9b55f814d3
6
+ metadata.gz: 11dfe3220cc4bf3364ef21a03b4793b1a2637c5c5bb77d51ba05ce5a868d3b8304501485a73500f1aefebec969b3d1426a339181e2506554358ead88a643b7ed
7
+ data.tar.gz: 2bac0116ab7e0f1b76a91dfc09140b9ff596157c86ed1f98dd9a20a241167be532a916b26fe56b4f0b5a85d725ec9c141ed921287c9b969fb0f8eec073cf1a1b
@@ -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
@@ -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
Binary file
Binary file
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.14.0.pre3
4
+ version: 0.14.0
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: 2018-09-10 00:00:00.000000000 Z
11
+ date: 2018-09-17 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: 1.3.1
55
+ version: '0'
56
56
  requirements: []
57
57
  rubyforge_project:
58
58
  rubygems_version: 2.7.3