rubysdl-mswin32-1.9 2.1.0 → 2.1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,14 @@
1
+ #! ruby
2
+
3
+ require 'rubygems'
4
+ require 'rbconfig'
5
+ require 'fileutils'
6
+
7
+ ps = Gem::GemPathSearcher.new
8
+ spec = ps.init_gemspecs.select{|sp| sp.name.match(/rubysdl\-mswin32/)}.max_by{|sp| sp.version.to_s}
9
+ full_path = spec.installation_path + "/gems/" + spec.full_name
10
+
11
+ dlldir = Config::CONFIG["bindir"]
12
+ FileUtils.mkpath(dlldir)
13
+
14
+ Dir.glob(full_path+"/dll/*.dll"){|fname| FileUtils.install(fname, dlldir)}
@@ -1,4 +1,4 @@
1
- require 'rubysdl'
1
+ require 'sdl'
2
2
 
3
3
  printf "%d \n" , SDL::INIT_TIMER | SDL::INIT_VIDEO
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubysdl-mswin32-1.9
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cyross Makoto
@@ -10,19 +10,20 @@ autorequire:
10
10
  bindir: dll
11
11
  cert_chain: []
12
12
 
13
- date: 2009-04-27 00:00:00 +09:00
13
+ date: 2009-05-24 00:00:00 +09:00
14
14
  default_executable:
15
15
  dependencies: []
16
16
 
17
17
  description: Ruby/SDL is Ruby library to use SDL
18
18
  email: cyross@po.twin.ne.jp
19
- executables: []
20
-
19
+ executables:
20
+ - install_rubysdl
21
21
  extensions: []
22
22
 
23
23
  extra_rdoc_files: []
24
24
 
25
25
  files:
26
+ - ./dll/install_rubysdl
26
27
  - ./dll/jpeg.dll
27
28
  - ./dll/libcharset-1.dll
28
29
  - ./dll/libfreetype-6.dll
@@ -95,8 +96,8 @@ files:
95
96
  - ./sample/plaympeg.rb
96
97
  - ./sample/playwave.rb
97
98
  - ./sample/randrect.rb
99
+ - ./sample/rubysdl.rb
98
100
  - ./sample/sample.ttf
99
- - ./sample/sdl.rb
100
101
  - ./sample/sdlskk.rb
101
102
  - ./sample/sgetest.rb
102
103
  - ./sample/stetris.rb
@@ -105,7 +106,7 @@ files:
105
106
  - ./sample/transformblit.rb
106
107
  has_rdoc: true
107
108
  homepage: http://www.kmc.gr.jp/~ohai/rubysdl.html
108
- post_install_message:
109
+ post_install_message: Please input "install_rubysdl.bat" at command line once for copy dll files.
109
110
  rdoc_options:
110
111
  - -c utf-8
111
112
  require_paths: