gosu 0.14.0.pre2-x86-mingw32 → 0.14.0.pre3-x86-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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 45d9cc0aa69193cc62302b4e1cf067f02673e171daab63b0c251e57ceff846da
4
- data.tar.gz: 6c3a99e93ad518938422e1886957a4c276090e4959dbd19a3e78434ab7724857
3
+ metadata.gz: 695a6772205636d5d2a7b08be73972048cbe194fa9c8f71464008cfa304f1a79
4
+ data.tar.gz: '09e4b7fa510bd3143ba22a634782a049b4eac52e514d1333f49e5ad3c47d55e1'
5
5
  SHA512:
6
- metadata.gz: 5fd446be3d73eff10f9291d86a6dd7dee63f355abe3bf1b5ce6745585fc3d1e9240ffb31e22c883147b9b4df03ae9696ed900383791bb98f0216e443c1cf387d
7
- data.tar.gz: ad410aebd38abe6a72e92ff89e67c756125b2ba0635f3b243715ab9c706659fd3f7eb140bbc3d0faef9363806be06ed23e7be1176667b6176ad1f1d1ce7910e8
6
+ metadata.gz: ef70a65e21c60578346c9dfcd571efd73addbc60ee353796f30ddad560aaddb24d451b27284c91f9ab7f3ee2aa13c997244ec3b8fee69ad00611feef2791a9d8
7
+ data.tar.gz: fb09c67f5cdb8945ba1d20aa62cd839ba2f70180d40c00ee4b7316d980fb1f2b8b6adc2f0d3c17d7b56b00fd2dcf2e74bd3bc6f7d11e428a2a66054eb9fbb999
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
@@ -129,7 +129,15 @@ class Gosu::Song
129
129
  end
130
130
  end
131
131
 
132
- # Moved some Window-methods to the Gosu::Module
132
+ class Gosu::Font
133
+ def draw_rot(markup, x, y, z, angle, scale_x = 1, scale_y = 1, c = 0xff_ffffff, mode = :default)
134
+ Gosu.rotate(angle, x, y) { draw_markup(markup, x, y, z, scale_x, scale_y, c, mode) }
135
+ end
136
+
137
+ Gosu.deprecate Gosu::Font, :draw_rot, "Font#draw with Gosu.rotate"
138
+ end
139
+
140
+ # Moved some Window methods to the Gosu module.
133
141
  class Gosu::Window
134
142
  # Class methods that have been turned into module methods.
135
143
  class << self
@@ -151,13 +159,12 @@ class Gosu::Window
151
159
  Gosu.send method, *args, &block
152
160
  end
153
161
  end
162
+
163
+ Gosu.deprecate Gosu::Window, :set_mouse_position, "Window#mouse_x= and Window#mouse_y="
154
164
  end
155
165
 
156
166
  # Constants
157
167
  module Gosu
158
- Gosu.deprecate Window, :set_mouse_position, "Window#mouse_x= and Window#mouse_y="
159
- Gosu.deprecate Font, :draw_rot, "Font#draw with Gosu.rotate"
160
-
161
168
  # This was renamed because it's not actually a "copyright notice".
162
169
  # (https://en.wikipedia.org/wiki/Copyright_notice)
163
170
  deprecate_const :GOSU_COPYRIGHT_NOTICE, :LICENSES
data/lib/gosu/patches.rb CHANGED
@@ -18,6 +18,19 @@ class ::Numeric
18
18
  end
19
19
  end
20
20
 
21
+ class Gosu::Font
22
+ alias_method :draw, :draw_markup
23
+ # draw_text will stop parsing markup in Gosu 1.0.
24
+ alias_method :draw_text, :draw_markup
25
+ end
26
+
27
+ class Gosu::Image
28
+ # from_markup will stop parsing markup in Gosu 1.0.
29
+ def self.from_markup(*args)
30
+ self.from_text(*args)
31
+ end
32
+ end
33
+
21
34
  # Color constants.
22
35
  # This is cleaner than having SWIG define them.
23
36
  module Gosu
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.pre2
4
+ version: 0.14.0.pre3
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-08-29 00:00:00.000000000 Z
11
+ date: 2018-09-10 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |2
14
14
  2D game development library.