gosu 0.12.1-x64-mingw32 → 0.13.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
  SHA1:
3
- metadata.gz: d64fbde65941592664ada6f5f73af54d19f6140e
4
- data.tar.gz: ec025c337aa866dbecd50fcb21c28af462c7ea9c
3
+ metadata.gz: defb2a150852baf6efec3d3bbbbdd361416100cb
4
+ data.tar.gz: a8680b1d578d31aa8b379ca4401498f181bc8c15
5
5
  SHA512:
6
- metadata.gz: ffb00dd378b6c10d114e91b0ede75b1db0927cdba3f191d54c4393777323d92e310882c8283511d84fae38765d1491d2fd94b04b5183a2bd0da0a47e64d6e51d
7
- data.tar.gz: 82cbd3f4c9088b844534cb30f723b01c86e562d2e4e24a65ab9384c4026164f50dcad5db435b51cf3094ebd146fd926bd900a4975a0ed989ebf9d333663f58d2
6
+ metadata.gz: af963487374dc4bc5960526f29e766616a8e77db47f11104ef298d85a90321e8bf419297604e0ad5161ceb993b63a238988458b55ec60402b32963a4f230f768
7
+ data.tar.gz: 0b1dd240faf052a21fa136f5896738925802f6e8d117f36a7764c6e974c2856f7fbcf955f6c6e97939effe52f6250074d4a007f00230e3e149644a76bc4bcf4d
@@ -7,14 +7,14 @@ if RUBY_PLATFORM =~ /mswin$|mingw32|mingw64|win32\-|\-win32/
7
7
 
8
8
  begin
9
9
  # Make DLLs available as shown here:
10
- # https://github.com/oneclick/rubyinstaller2/wiki/For-gem-developers
10
+ # https://github.com/oneclick/rubyinstaller2/wiki/For-gem-developers
11
11
  require 'ruby_installer'
12
12
  RubyInstaller::Runtime.add_dll_directory(binary_path)
13
13
  rescue LoadError
14
14
  # Add this gem to the PATH on Windows so that bundled DLLs can be found.
15
15
  # When running through Ocra on Windows, we need to be careful to preserve the ENV["PATH"]
16
16
  # encoding (see #385).
17
- path_encoding = ENV["PATH"].encoding
17
+ path_encoding = ENV["PATH"].encoding
18
18
  ENV["PATH"] = "#{binary_path.encode(path_encoding)};#{ENV["PATH"]}"
19
19
  end
20
20
 
@@ -143,7 +143,7 @@ class Gosu::Window
143
143
  end
144
144
 
145
145
  # Instance methods that have been turned into module methods.
146
- %w(draw_line draw_triangle draw_quad
146
+ %w(draw_line draw_triangle draw_quad draw_rect
147
147
  flush gl clip_to record
148
148
  transform translate rotate scale
149
149
  button_id_to_char char_to_button_id button_down?).each do |method|
@@ -45,6 +45,11 @@ module Gosu
45
45
  end
46
46
  end
47
47
 
48
+ module Gosu
49
+ # Backwards compatibility: Channel was called SampleInstance before Gosu 0.13.0.
50
+ SampleInstance = Channel
51
+ end
52
+
48
53
  class Gosu::Window
49
54
  # Call Thread.pass every tick, which may or may not be necessary for friendly co-existence with
50
55
  # Ruby's Thread class.
@@ -30,7 +30,7 @@ class Gosu::Window
30
30
  rescue Exception => e
31
31
  # Exit the message loop naturally, then re-throw during the next tick.
32
32
  @_exception = e
33
- close
33
+ close!
34
34
  false
35
35
  end
36
36
  end
Binary file
Binary file
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.12.1
4
+ version: 0.13.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: 2017-06-19 00:00:00.000000000 Z
11
+ date: 2017-11-25 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |2
14
14
  2D game development library.