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 +4 -4
- data/lib/gosu.rb +13 -5
- data/lib64/2.1/gosu.so +0 -0
- data/lib64/2.2/gosu.so +0 -0
- data/lib64/2.3/gosu.so +0 -0
- data/lib64/2.4/gosu.so +0 -0
- data/lib64/libmpg123.dll +0 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d64fbde65941592664ada6f5f73af54d19f6140e
|
4
|
+
data.tar.gz: ec025c337aa866dbecd50fcb21c28af462c7ea9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffb00dd378b6c10d114e91b0ede75b1db0927cdba3f191d54c4393777323d92e310882c8283511d84fae38765d1491d2fd94b04b5183a2bd0da0a47e64d6e51d
|
7
|
+
data.tar.gz: 82cbd3f4c9088b844534cb30f723b01c86e562d2e4e24a65ab9384c4026164f50dcad5db435b51cf3094ebd146fd926bd900a4975a0ed989ebf9d333663f58d2
|
data/lib/gosu.rb
CHANGED
@@ -1,14 +1,22 @@
|
|
1
|
-
require
|
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
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
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+/])
|
data/lib64/2.1/gosu.so
CHANGED
Binary file
|
data/lib64/2.2/gosu.so
CHANGED
Binary file
|
data/lib64/2.3/gosu.so
CHANGED
Binary file
|
data/lib64/2.4/gosu.so
ADDED
Binary file
|
data/lib64/libmpg123.dll
CHANGED
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.
|
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-
|
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.
|
59
|
+
rubygems_version: 2.6.11
|
59
60
|
signing_key:
|
60
61
|
specification_version: 4
|
61
62
|
summary: 2D game development library.
|