rroonga 0.9.3-x86-mingw32 → 0.9.4-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. data/NEWS.ja.rdoc +13 -0
  2. data/NEWS.rdoc +13 -0
  3. data/Rakefile +1 -1
  4. data/ext/groonga/extconf.rb +4 -3
  5. data/ext/groonga/rb-grn.h +698 -0
  6. data/html/developer.html +10 -7
  7. data/html/index.html +1 -1
  8. data/lib/1.8/groonga.so +0 -0
  9. data/lib/1.9/groonga.so +0 -0
  10. data/pkg-config.rb +1 -1
  11. data/test/run-test.rb +9 -3
  12. data/vendor/local/bin/libgroonga-0.dll +0 -0
  13. data/vendor/local/include/groonga.h +2285 -0
  14. data/vendor/local/lib/libgroonga.la +41 -0
  15. metadata +37 -85
  16. data/ext/groonga/mkmf.log +0 -99
  17. data/test-unit/Rakefile +0 -40
  18. data/test-unit/TODO +0 -5
  19. data/test-unit/bin/testrb +0 -5
  20. data/test-unit/html/classic.html +0 -15
  21. data/test-unit/html/index.html +0 -25
  22. data/test-unit/html/index.html.ja +0 -27
  23. data/test-unit/lib/test/unit/assertionfailederror.rb +0 -25
  24. data/test-unit/lib/test/unit/assertions.rb +0 -1230
  25. data/test-unit/lib/test/unit/attribute.rb +0 -125
  26. data/test-unit/lib/test/unit/autorunner.rb +0 -360
  27. data/test-unit/lib/test/unit/collector/descendant.rb +0 -23
  28. data/test-unit/lib/test/unit/collector/dir.rb +0 -108
  29. data/test-unit/lib/test/unit/collector/load.rb +0 -144
  30. data/test-unit/lib/test/unit/collector/objectspace.rb +0 -34
  31. data/test-unit/lib/test/unit/collector.rb +0 -36
  32. data/test-unit/lib/test/unit/color-scheme.rb +0 -102
  33. data/test-unit/lib/test/unit/color.rb +0 -96
  34. data/test-unit/lib/test/unit/diff.rb +0 -724
  35. data/test-unit/lib/test/unit/error.rb +0 -130
  36. data/test-unit/lib/test/unit/exceptionhandler.rb +0 -39
  37. data/test-unit/lib/test/unit/failure.rb +0 -136
  38. data/test-unit/lib/test/unit/fixture.rb +0 -176
  39. data/test-unit/lib/test/unit/notification.rb +0 -129
  40. data/test-unit/lib/test/unit/omission.rb +0 -191
  41. data/test-unit/lib/test/unit/pending.rb +0 -150
  42. data/test-unit/lib/test/unit/priority.rb +0 -180
  43. data/test-unit/lib/test/unit/runner/console.rb +0 -52
  44. data/test-unit/lib/test/unit/runner/emacs.rb +0 -8
  45. data/test-unit/lib/test/unit/runner/tap.rb +0 -8
  46. data/test-unit/lib/test/unit/testcase.rb +0 -476
  47. data/test-unit/lib/test/unit/testresult.rb +0 -89
  48. data/test-unit/lib/test/unit/testsuite.rb +0 -110
  49. data/test-unit/lib/test/unit/ui/console/outputlevel.rb +0 -14
  50. data/test-unit/lib/test/unit/ui/console/testrunner.rb +0 -466
  51. data/test-unit/lib/test/unit/ui/emacs/testrunner.rb +0 -63
  52. data/test-unit/lib/test/unit/ui/tap/testrunner.rb +0 -92
  53. data/test-unit/lib/test/unit/ui/testrunner.rb +0 -28
  54. data/test-unit/lib/test/unit/ui/testrunnermediator.rb +0 -77
  55. data/test-unit/lib/test/unit/ui/testrunnerutilities.rb +0 -41
  56. data/test-unit/lib/test/unit/util/backtracefilter.rb +0 -41
  57. data/test-unit/lib/test/unit/util/method-owner-finder.rb +0 -28
  58. data/test-unit/lib/test/unit/util/observable.rb +0 -90
  59. data/test-unit/lib/test/unit/util/procwrapper.rb +0 -48
  60. data/test-unit/lib/test/unit/version.rb +0 -7
  61. data/test-unit/lib/test/unit.rb +0 -323
  62. data/test-unit/sample/adder.rb +0 -13
  63. data/test-unit/sample/subtracter.rb +0 -12
  64. data/test-unit/sample/test_adder.rb +0 -20
  65. data/test-unit/sample/test_subtracter.rb +0 -20
  66. data/test-unit/sample/test_user.rb +0 -23
  67. data/test-unit/test/collector/test-descendant.rb +0 -133
  68. data/test-unit/test/collector/test-load.rb +0 -442
  69. data/test-unit/test/collector/test_dir.rb +0 -406
  70. data/test-unit/test/collector/test_objectspace.rb +0 -100
  71. data/test-unit/test/run-test.rb +0 -15
  72. data/test-unit/test/test-attribute.rb +0 -86
  73. data/test-unit/test/test-color-scheme.rb +0 -67
  74. data/test-unit/test/test-color.rb +0 -47
  75. data/test-unit/test/test-diff.rb +0 -518
  76. data/test-unit/test/test-emacs-runner.rb +0 -60
  77. data/test-unit/test/test-fixture.rb +0 -287
  78. data/test-unit/test/test-notification.rb +0 -33
  79. data/test-unit/test/test-omission.rb +0 -81
  80. data/test-unit/test/test-pending.rb +0 -70
  81. data/test-unit/test/test-priority.rb +0 -119
  82. data/test-unit/test/test-testcase.rb +0 -544
  83. data/test-unit/test/test_assertions.rb +0 -1151
  84. data/test-unit/test/test_error.rb +0 -26
  85. data/test-unit/test/test_failure.rb +0 -33
  86. data/test-unit/test/test_testresult.rb +0 -113
  87. data/test-unit/test/test_testsuite.rb +0 -129
  88. data/test-unit/test/testunit-test-util.rb +0 -14
  89. data/test-unit/test/ui/test_testrunmediator.rb +0 -20
  90. data/test-unit/test/util/test-method-owner-finder.rb +0 -38
  91. data/test-unit/test/util/test_backtracefilter.rb +0 -41
  92. data/test-unit/test/util/test_observable.rb +0 -102
  93. data/test-unit/test/util/test_procwrapper.rb +0 -36
data/html/developer.html CHANGED
@@ -37,21 +37,24 @@
37
37
 
38
38
  <h2>リポジトリ</h2>
39
39
  <p>
40
- rroongaとActiveGroongaのリポジトリはRubyForge上にあります。
41
- Subversionを利用しており、それぞれ以下のようにチェックアウトできます。
40
+ rroongaとActiveGroongaのリポジトリはGitHub上にあります。
41
+ gitを利用しており、それぞれ以下のようにチェックアウトできます。
42
42
  </p>
43
43
  <dl>
44
- <dt>rroonga</dt>
45
- <dd><pre class="command">% svn co http://groonga.rubyforge.org/svn/rroonga/trunk rroonga</pre></dd>
46
- <dt>ActiveGroonga</dt>
47
- <dd><pre class="command">% svn co http://groonga.rubyforge.org/svn/activegroonga/trunk activegroonga</pre></dd>
44
+ <dt><a href="http://github.com/ranguba/rroonga/">rroonga</a></dt>
45
+ <dd><pre class="command">% git clone git://github.com/ranguba/rroonga.git</pre></dd>
46
+ <dt><a href="http://github.com/ranguba/activegroonga/">ActiveGroonga</a></dt>
47
+ <dd><pre class="command">% git clone git://github.com/ranguba/activegroonga.git</pre></dd>
48
48
  </dl>
49
49
 
50
50
  <p>
51
51
  rroongaおよびActiveGroongaを利用したサンプルプログラムもリポジトリにあります。
52
52
  サンプルプログラムは以下のようにチェックアウトできます。
53
53
  </p>
54
- <pre class="command">% svn co http://groonga.rubyforge.org/svn/examples ranguba-examples</pre>
54
+ <dl>
55
+ <dt><a href="http://github.com/ranguba/examples/">サンプル</a></dt>
56
+ <dd><pre class="command">% git clone git://github.com/ranguba/examples.git</pre></dd>
57
+ </dl>
55
58
 
56
59
  <h2>バグ報告・メーリングリスト</h2>
57
60
  <p>
data/html/index.html CHANGED
@@ -42,7 +42,7 @@
42
42
 
43
43
  <h3>rroongaの最新リリース</h3>
44
44
  <p>
45
- 2010-04-20にリリースされた0.9.2が最新です。
45
+ 2010-04-22にリリースされた0.9.4が最新です。
46
46
  </p>
47
47
 
48
48
  <h3 id="install-rroonga">rroongaのインストール</h3>
data/lib/1.8/groonga.so CHANGED
Binary file
data/lib/1.9/groonga.so CHANGED
Binary file
data/pkg-config.rb CHANGED
@@ -220,7 +220,7 @@ class PackageConfig
220
220
  extern "const char *dln_find_exe(const char *, const char *)"
221
221
  end
222
222
  path = dln.dln_find_exe(pkg_config.to_s, nil)
223
- if path.size.zero?
223
+ if path and path.size.zero?
224
224
  nil
225
225
  else
226
226
  Pathname(path.to_s)
data/test/run-test.rb CHANGED
@@ -20,7 +20,8 @@ $VERBOSE = true
20
20
  $KCODE = "u" if RUBY_VERSION < "1.9"
21
21
 
22
22
  base_dir = File.expand_path(File.join(File.dirname(__FILE__), ".."))
23
- test_unit_dir = File.join(base_dir, "test-unit", "lib")
23
+ test_unit_dir = File.join(base_dir, "test-unit")
24
+ test_unit_lib_dir = File.join(test_unit_dir, "lib")
24
25
  ext_dir = File.join(base_dir, "ext", "groonga")
25
26
  lib_dir = File.join(base_dir, "lib")
26
27
  test_dir = File.join(base_dir, "test")
@@ -32,10 +33,15 @@ elsif system("which make > /dev/null")
32
33
  make = "make"
33
34
  end
34
35
  if make
35
- system("cd #{base_dir.dump} && #{make} > /dev/null") or exit(1)
36
+ system("cd #{base_dir.dump} && #{make} > /dev/null") or exit(false)
36
37
  end
37
38
 
38
- $LOAD_PATH.unshift(test_unit_dir)
39
+ unless File.exist?(test_unit_dir)
40
+ test_unit_repository = "http://test-unit.rubyforge.org/svn/trunk/"
41
+ system("svn co #{test_unit_repository} #{test_unit_dir}") or exit(false)
42
+ end
43
+
44
+ $LOAD_PATH.unshift(test_unit_lib_dir)
39
45
 
40
46
  require 'test/unit'
41
47
 
Binary file