gosu 0.12.1-x86-mingw32 → 0.13.0-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
  SHA1:
3
- metadata.gz: 40ee729183733a139b7efd945871d007cbb9a32f
4
- data.tar.gz: 8d68a85506718bca9f0bd5841872f38c8c2cd5a7
3
+ metadata.gz: 5f347ea9d77fe3089dc12fe3f2edcaa666e05967
4
+ data.tar.gz: 6cf471cdbf8d1175fbedc57b4d8983dc997b69ce
5
5
  SHA512:
6
- metadata.gz: bca24ef0b8ff0a61e503a362193ef0e7487b73a82e1bcc66dfdbae3d3e084d0eb89605657f05282e4f6c78d05b166eb0dca0e3b0ea065ce82646d805ffe1537e
7
- data.tar.gz: d72bb6542ad066dcfbcfa7db04879a84dc9eedbbaf6d8e5bae028dd4429f7eb87536bcf184a69a1efebd255c6ee289d72bdc5cd951b11b97fdb76c79d8e060e5
6
+ metadata.gz: 257ee285d28f5437a819eecf051f5d67995fa9ad4081476cd705acadfd70dd365b111d527ab4f38869e5bdac97fe4f0aba6db866bc765263853bfe4e26c16d3d
7
+ data.tar.gz: c79859de9cabfcd71206804493713d2af5c4e8fd1ac9448d44fce3885241263e049eee13b82a7e69082e6c5c33026d5d9726c108265b68e3d18f64a326195e9e
data/lib/1.8/gosu.so CHANGED
Binary file
data/lib/1.9/gosu.so CHANGED
Binary file
data/lib/2.0/gosu.so CHANGED
Binary file
data/lib/2.1/gosu.so CHANGED
Binary file
data/lib/2.2/gosu.so CHANGED
Binary file
data/lib/2.3/gosu.so CHANGED
Binary file
data/lib/2.4/gosu.so CHANGED
Binary file
data/lib/SDL2.dll CHANGED
Binary file
data/lib/gosu.rb CHANGED
@@ -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
 
data/lib/gosu/compat.rb CHANGED
@@ -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|
data/lib/gosu/patches.rb CHANGED
@@ -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
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: x86-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.