gosu 0.12.0-x64-mingw32 → 0.12.1-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: 504b4250e6307b71343f62cec238621e9ab3f471
4
- data.tar.gz: 9d490c2333d793446fd4579d2b44217346ef1b8e
3
+ metadata.gz: d64fbde65941592664ada6f5f73af54d19f6140e
4
+ data.tar.gz: ec025c337aa866dbecd50fcb21c28af462c7ea9c
5
5
  SHA512:
6
- metadata.gz: c17c55de0777c6e4f6cc1225b5bb5c0f8d1a4a237db46527359c1bd95274944994d464c74f69b99d0a824b030ef60085843c512efe8d24e0d686aa4ab1d5e3ff
7
- data.tar.gz: 155fdae8c98350f74c29b405a93c4dce2f133553ddad338289483d876bbb04eb56d0fd22be78e879ff5af8bedbf42e97f9741d7b4aa9cc9b176f0591616d3829
6
+ metadata.gz: ffb00dd378b6c10d114e91b0ede75b1db0927cdba3f191d54c4393777323d92e310882c8283511d84fae38765d1491d2fd94b04b5183a2bd0da0a47e64d6e51d
7
+ data.tar.gz: 82cbd3f4c9088b844534cb30f723b01c86e562d2e4e24a65ab9384c4026164f50dcad5db435b51cf3094ebd146fd926bd900a4975a0ed989ebf9d333663f58d2
@@ -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+/])
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.0
4
+ version: 0.12.1
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-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.
@@ -31,6 +31,7 @@ files:
31
31
  - lib64/2.1/gosu.so
32
32
  - lib64/2.2/gosu.so
33
33
  - lib64/2.3/gosu.so
34
+ - lib64/2.4/gosu.so
34
35
  - lib64/OpenAL32.dll
35
36
  - lib64/SDL2.dll
36
37
  - lib64/libmpg123.dll
@@ -55,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
55
56
  version: '0'
56
57
  requirements: []
57
58
  rubyforge_project:
58
- rubygems_version: 2.6.6
59
+ rubygems_version: 2.6.11
59
60
  signing_key:
60
61
  specification_version: 4
61
62
  summary: 2D game development library.