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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 695a6772205636d5d2a7b08be73972048cbe194fa9c8f71464008cfa304f1a79
4
- data.tar.gz: '09e4b7fa510bd3143ba22a634782a049b4eac52e514d1333f49e5ad3c47d55e1'
3
+ metadata.gz: fd55a781a911b24e3385704fddb292c97a3a2222ebc15600b4238161b8dd3779
4
+ data.tar.gz: 22fd863b4dcacb51c5b8f000d5032e1a1565d3e03c6ca4261f2bba33ec861e76
5
5
  SHA512:
6
- metadata.gz: ef70a65e21c60578346c9dfcd571efd73addbc60ee353796f30ddad560aaddb24d451b27284c91f9ab7f3ee2aa13c997244ec3b8fee69ad00611feef2791a9d8
7
- data.tar.gz: fb09c67f5cdb8945ba1d20aa62cd839ba2f70180d40c00ee4b7316d980fb1f2b8b6adc2f0d3c17d7b56b00fd2dcf2e74bd3bc6f7d11e428a2a66054eb9fbb999
6
+ metadata.gz: e4020d88688452eff5c214f34010203eaf040d12349f0106a34e9d7f44681f90712b6a5b6a4572a271f7a84746bed3f480871ec0e2b9bf8f80361f2467642c9a
7
+ data.tar.gz: 333a614f415da47b047e38bb764c57caeecd0c4227c0996a4649cfb0ee10f0332b4d4c49dd7568c5d992f1db0d0d6913f4dc70ddb3c86c0b2d5af41f4fa74cad
Binary file
Binary file
Binary file
@@ -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
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: x86-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-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: 1.3.1
55
+ version: '0'
56
56
  requirements: []
57
57
  rubyforge_project:
58
58
  rubygems_version: 2.7.3