aqtk 0.1.1-mswin32 → 0.1.2-mswin32

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.
File without changes
File without changes
File without changes
data/README.txt CHANGED
@@ -74,3 +74,9 @@ AquesTalk/Ruby
74
74
  == ���ӓ_
75
75
 
76
76
  gem uninstall ���Ă�AquesTalk��DLL�͎c�����܂܂ł��B
77
+
78
+ ruby.exe�̂���f�B���N�g������ȉ��̃t�@�C�����폜���Ă��������B
79
+
80
+ * AquesTalk.dll
81
+ * AquesTalkDa.dll
82
+ * AqLicense.txt
data/ext/extconf.rb CHANGED
@@ -1,26 +1,19 @@
1
1
  $KCODE='s'
2
2
  require 'fileutils'
3
+ require 'rubypath'
3
4
 
4
- gem_bin = File.expand_path(File.dirname(__FILE__) + '/../bin')
5
- ruby_bin = nil
5
+ gem_dir = File.expand_path(File.dirname(__FILE__) + '/..')
6
+ ruby_exe = "#{RubyPath.which}".strip
7
+ exit if ruby_exe.empty?
8
+ ruby_bin = File.expand_path(File.dirname(ruby_exe))
6
9
 
7
- if ENV['_']
8
- ruby_bin = File.expand_path(File.dirname())
9
- elsif File.exist?('/WINDOWS')
10
- ruby_bin = '/WINDOWS'
11
- elsif File.exist?('/WINNT')
12
- ruby_bin = '/WINDOWS'
13
- end
14
-
15
- exit unless ruby_bin
16
-
17
- %w(AquesTalk.dll AquesTalkDa.dll).each do |dll|
18
- src = "#{gem_bin}/#{dll}"
10
+ %w(AquesTalk.dll AquesTalkDa.dll AqLicense.txt).each do |dll|
11
+ src = "#{gem_dir}/AquesTalk/#{dll}"
19
12
  dest = ruby_bin
20
13
  FileUtils.copy(src, dest)
21
14
  end
22
15
 
23
- require "#{gem_bin}/../lib/i386-mswin32/aqtk"
16
+ require "#{gem_dir}/lib/i386-mswin32/aqtk"
24
17
 
25
18
  begin
26
19
  AquesTalk::Da.play_sync('���������Ɓ[��,��с[�����񂷂Ɓ[�邵�܂����B������肵�Ă����Ă�')
data/ext/rubypath.so ADDED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aqtk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: mswin32
6
6
  authors:
7
7
  - winebarrel
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-03-12 00:00:00 +09:00
12
+ date: 2009-03-14 00:00:00 +09:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -22,19 +22,20 @@ extensions:
22
22
  extra_rdoc_files:
23
23
  - README.txt
24
24
  - LICENSE.txt
25
- - AqLicense.txt
25
+ - AquesTalk/AqLicense.txt
26
26
  - COPYING.KAKASI
27
27
  files:
28
28
  - lib/i386-mswin32/aqtk.so
29
- - bin/AquesTalk.dll
30
- - bin/AquesTalkDa.dll
29
+ - AquesTalk/AquesTalk.dll
30
+ - AquesTalk/AquesTalkDa.dll
31
31
  - README.txt
32
32
  - LICENSE.txt
33
- - AqLicense.txt
33
+ - AquesTalk/AqLicense.txt
34
34
  - COPYING.KAKASI
35
35
  - ext/extconf.rb
36
36
  - ext/nmake.exe
37
37
  - ext/Makefile
38
+ - ext/rubypath.so
38
39
  has_rdoc: true
39
40
  homepage: http://aqtk.rubyforge.org
40
41
  post_install_message: