gosu 0.12.0-x86-mingw32 → 0.12.1-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
  SHA1:
3
- metadata.gz: b9b01644151f25bb048b002530d934d897080d6e
4
- data.tar.gz: cc680e0950c336e4ab146fe29ab7ed14a8519637
3
+ metadata.gz: 40ee729183733a139b7efd945871d007cbb9a32f
4
+ data.tar.gz: 8d68a85506718bca9f0bd5841872f38c8c2cd5a7
5
5
  SHA512:
6
- metadata.gz: bf968abdd6ab5851e91cad2593a66a1f169d7b93f0668966ecd44b926edfabdf888d2e0a3505331f228c514b7ed01fe2eed3027bbcb8728dac91902c7a647974
7
- data.tar.gz: 46d23f29663e7baf7fd860a5a56fea7d71cefb01cd804fe5958788847495ecb600df9657fa3b1882015d28e8a311193309399ddabcb6cf9d4fbc205795ac91c6
6
+ metadata.gz: bca24ef0b8ff0a61e503a362193ef0e7487b73a82e1bcc66dfdbae3d3e084d0eb89605657f05282e4f6c78d05b166eb0dca0e3b0ea065ce82646d805ffe1537e
7
+ data.tar.gz: d72bb6542ad066dcfbcfa7db04879a84dc9eedbbaf6d8e5bae028dd4429f7eb87536bcf184a69a1efebd255c6ee289d72bdc5cd951b11b97fdb76c79d8e060e5
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 ADDED
Binary file
data/lib/gosu.rb CHANGED
@@ -1,14 +1,22 @@
1
- require "rbconfig"
1
+ require 'rbconfig'
2
2
 
3
3
  if RUBY_PLATFORM =~ /mswin$|mingw32|mingw64|win32\-|\-win32/
4
4
  binary_path = File.dirname(__FILE__)
5
5
  # 64-bit builds of Windows use "x64-mingw32" as RUBY_PLATFORM
6
6
  binary_path += "64" if RUBY_PLATFORM =~ /^x64-/
7
7
 
8
- # Add this gem to the PATH on Windows so that bundled DLLs can be found.
9
- # When running through Ocra on Windows, we need to be careful to preserve the ENV["PATH"]
10
- # encoding (see #385).
11
- ENV["PATH"] = "#{binary_path.encode ENV["PATH"].encoding};#{ENV["PATH"]}"
8
+ begin
9
+ # Make DLLs available as shown here:
10
+ # https://github.com/oneclick/rubyinstaller2/wiki/For-gem-developers
11
+ require 'ruby_installer'
12
+ RubyInstaller::Runtime.add_dll_directory(binary_path)
13
+ rescue LoadError
14
+ # Add this gem to the PATH on Windows so that bundled DLLs can be found.
15
+ # When running through Ocra on Windows, we need to be careful to preserve the ENV["PATH"]
16
+ # encoding (see #385).
17
+ path_encoding = ENV["PATH"].encoding
18
+ ENV["PATH"] = "#{binary_path.encode(path_encoding)};#{ENV["PATH"]}"
19
+ end
12
20
 
13
21
  # Add the correct lib directory for the current version of Ruby (major.minor).
14
22
  $LOAD_PATH.unshift File.join(binary_path, RUBY_VERSION[/^\d+.\d+/])
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.0
4
+ version: 0.12.1
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-04-23 00:00:00.000000000 Z
11
+ date: 2017-06-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |2
14
14
  2D game development library.
@@ -27,6 +27,7 @@ files:
27
27
  - lib/2.1/gosu.so
28
28
  - lib/2.2/gosu.so
29
29
  - lib/2.3/gosu.so
30
+ - lib/2.4/gosu.so
30
31
  - lib/OpenAL32.dll
31
32
  - lib/SDL2.dll
32
33
  - lib/gosu.rb
@@ -58,7 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
58
59
  version: '0'
59
60
  requirements: []
60
61
  rubyforge_project:
61
- rubygems_version: 2.6.6
62
+ rubygems_version: 2.6.11
62
63
  signing_key:
63
64
  specification_version: 4
64
65
  summary: 2D game development library.