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 +4 -4
- data/lib/1.8/gosu.so +0 -0
- data/lib/1.9/gosu.so +0 -0
- data/lib/2.0/gosu.so +0 -0
- data/lib/2.1/gosu.so +0 -0
- data/lib/2.2/gosu.so +0 -0
- data/lib/2.3/gosu.so +0 -0
- data/lib/2.4/gosu.so +0 -0
- data/lib/SDL2.dll +0 -0
- data/lib/gosu.rb +2 -2
- data/lib/gosu/compat.rb +1 -1
- data/lib/gosu/patches.rb +5 -0
- data/lib/gosu/swig_patches.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f347ea9d77fe3089dc12fe3f2edcaa666e05967
|
4
|
+
data.tar.gz: 6cf471cdbf8d1175fbedc57b4d8983dc997b69ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
-
|
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.
|
data/lib/gosu/swig_patches.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2017-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |2
|
14
14
|
2D game development library.
|