From null+ranguba at clear-code.com Sun May 1 04:46:11 2011 From: null+ranguba at clear-code.com (null+ranguba at clear-code.com) Date: Sun, 01 May 2011 08:46:11 +0000 Subject: [groonga-commit:3266] ranguba/hroonga [master] use test-unit-capybara. Message-ID: <20110501084705.ED1072C40C6@taiyaki.ru> Kouhei Sutou 2011-05-01 08:46:11 +0000 (Sun, 01 May 2011) New Revision: 05c084a20fe21b588f84e7d4f1025c2fb5b0b310 Log: use test-unit-capybara. Modified files: Gemfile Modified: Gemfile (+1 -2) =================================================================== --- Gemfile 2011-03-31 15:00:13 +0000 (8c8200d) +++ Gemfile 2011-05-01 08:46:11 +0000 (968101d) @@ -23,8 +23,7 @@ gem "passenger" group :development, :test do gem "test-unit-notify" gem "test-unit-rr" - # gem "test-unit-capybara" + gem "test-unit-capybara" gem "activegroonga-fabrication" - gem "capybara" gem "thin" end From null+ranguba at clear-code.com Sun May 1 11:16:33 2011 From: null+ranguba at clear-code.com (null+ranguba at clear-code.com) Date: Sun, 01 May 2011 15:16:33 +0000 Subject: [groonga-commit:3267] ranguba/hroonga [master] remove needless code. Message-ID: <20110501151727.4EC322C40C6@taiyaki.ru> Kouhei Sutou 2011-05-01 15:16:33 +0000 (Sun, 01 May 2011) New Revision: 4a3ee7ec1e280d54dfbf03e3d24de495fe012fe7 Log: remove needless code. Modified files: test/run-test.rb Modified: test/run-test.rb (+0 -2) =================================================================== --- test/run-test.rb 2011-05-01 08:46:11 +0000 (d715d35) +++ test/run-test.rb 2011-05-01 15:16:33 +0000 (207e747) @@ -30,8 +30,6 @@ require "bundler/setup" require 'test/unit' require 'test/unit/notify' -Test::Unit::Notify.enable = true - $LOAD_PATH.unshift(lib_dir.to_s) $LOAD_PATH.unshift(test_dir.to_s) From null+ranguba at clear-code.com Tue May 3 04:23:54 2011 From: null+ranguba at clear-code.com (null+ranguba at clear-code.com) Date: Tue, 03 May 2011 08:23:54 +0000 Subject: [groonga-commit:3268] ranguba/rroonga [master] use GitHub logo in reference manual page. Message-ID: <20110503082501.C87062C422E@taiyaki.ru> Kouhei Sutou 2011-05-03 08:23:54 +0000 (Tue, 03 May 2011) New Revision: ca8a4192ec4292e5ebd4ee1680c7125ffe77442e Log: use GitHub logo in reference manual page. Modified files: html/footer.html.erb Modified: html/footer.html.erb (+2 -2) =================================================================== --- html/footer.html.erb 2011-05-03 05:49:34 +0000 (61fbf57) +++ html/footer.html.erb 2011-05-03 08:23:54 +0000 (f5c06a5) @@ -3,12 +3,12 @@
- ???????????GitHub?????????????????
+
From null+ranguba at clear-code.com Sun May 1 11:14:05 2011
From: null+ranguba at clear-code.com (null+ranguba at clear-code.com)
Date: Sun, 01 May 2011 15:14:05 +0000
Subject: [groonga-commit:3269] ranguba/rroonga [master] use RubyGems for
test-unit libraries.
Message-ID: <20110503082501.B424B2C402D@taiyaki.ru>
Kouhei Sutou 2011-05-01 15:14:05 +0000 (Sun, 01 May 2011)
New Revision: 9bd9a180286a356fac3007ade07d59946b26190d
Log:
use RubyGems for test-unit libraries.
Modified files:
test/groonga-test-utils.rb
test/run-test.rb
Modified: test/groonga-test-utils.rb (+1 -6)
===================================================================
--- test/groonga-test-utils.rb 2011-04-29 15:03:02 +0000 (e252f3d)
+++ test/groonga-test-utils.rb 2011-05-01 15:14:05 +0000 (d1c019c)
@@ -18,12 +18,7 @@ require 'pathname'
require 'time'
require 'erb'
require 'stringio'
-begin
- require 'json'
-rescue LoadError
- require 'rubygems'
- require 'json'
-end
+require 'json'
require 'pkg-config'
require 'groonga'
Modified: test/run-test.rb (+5 -24)
===================================================================
--- test/run-test.rb 2011-04-29 15:03:02 +0000 (a87b48d)
+++ test/run-test.rb 2011-05-01 15:14:05 +0000 (937cdd4)
@@ -20,10 +20,6 @@ $VERBOSE = true
$KCODE = "u" if RUBY_VERSION < "1.9"
base_dir = File.expand_path(File.join(File.dirname(__FILE__), ".."))
-test_unit_dir = File.join(base_dir, "test-unit")
-test_unit_lib_dir = File.join(test_unit_dir, "lib")
-test_unit_notify_dir = File.join(base_dir, "test-unit-notify")
-test_unit_notify_lib_dir = File.join(test_unit_notify_dir, "lib")
ext_dir = File.join(base_dir, "ext", "groonga")
lib_dir = File.join(base_dir, "lib")
test_dir = File.join(base_dir, "test")
@@ -38,26 +34,11 @@ if make
system("cd #{base_dir.dump} && #{make} > /dev/null") or exit(false)
end
-test_unit_repository_base = "http://test-unit.rubyforge.org/svn/"
-unless File.exist?(test_unit_dir)
- test_unit_repository = "#{test_unit_repository_base}trunk/"
- system("svn", "co", test_unit_repository, test_unit_dir) or exit(false)
-end
-
-unless File.exist?(test_unit_notify_dir)
- test_unit_notify_repository = "#{test_unit_repository_base}/extensions/test-unit-notify/trunk/"
- system("svn", "co", test_unit_notify_repository, test_unit_notify_dir) or exit(false)
- system("svn", "up", test_unit_dir) or exit(false)
-end
-
-$LOAD_PATH.unshift(test_unit_lib_dir)
-$LOAD_PATH.unshift(test_unit_notify_lib_dir)
-
-require 'test/unit'
-require 'test/unit/notify'
+require "rubygems"
+gem "test-unit-notify"
+require "test/unit/notify"
-ARGV.unshift("--priority-mode")
-ARGV.unshift("--notify")
+Test::Unit::Priority.enable
$LOAD_PATH.unshift(ext_dir)
$LOAD_PATH.unshift(lib_dir)
@@ -73,4 +54,4 @@ Dir.glob("#{base_dir}/test/**/test{_,-}*.rb") do |file|
require file.sub(/\.rb$/, '')
end
-exit Test::Unit::AutoRunner.run(false)
+exit Test::Unit::AutoRunner.run
From null+ranguba at clear-code.com Tue May 3 01:49:34 2011
From: null+ranguba at clear-code.com (null+ranguba at clear-code.com)
Date: Tue, 03 May 2011 05:49:34 +0000
Subject: [groonga-commit:3270] ranguba/rroonga [master] remove needless
arguments.
Message-ID: <20110503082501.BECEB2C422D@taiyaki.ru>
Kouhei Sutou 2011-05-03 05:49:34 +0000 (Tue, 03 May 2011)
New Revision: 30fe26962fa40a864a5b496a6db92c8d7de2115a
Log:
remove needless arguments.
Modified files:
lib/groonga/expression-builder.rb
Modified: lib/groonga/expression-builder.rb (+1 -1)
===================================================================
--- lib/groonga/expression-builder.rb 2011-05-01 15:14:05 +0000 (556320d)
+++ lib/groonga/expression-builder.rb 2011-05-03 05:49:34 +0000 (8152751)
@@ -27,7 +27,7 @@ module Groonga
VALID_COLUMN_NAME_RE = /\A[a-zA-Z\d_]+\z/
- def initialize(*args)
+ def initialize
@table = nil
@name = nil
@query = nil
From null+ranguba at clear-code.com Tue May 3 05:48:07 2011
From: null+ranguba at clear-code.com (null+ranguba at clear-code.com)
Date: Tue, 03 May 2011 09:48:07 +0000
Subject: [groonga-commit:3271] ranguba/rroonga [master] add Groonga::Posting.
Message-ID: <20110503131342.6E9252C40C1@taiyaki.ru>
Kouhei Sutou 2011-05-03 09:48:07 +0000 (Tue, 03 May 2011)
New Revision: 2e384d490a49e7b9a3b04e574d272dcd713ab9b1
Log:
add Groonga::Posting.
Added files:
lib/groonga/posting.rb
Modified files:
lib/groonga.rb
Modified: lib/groonga.rb (+1 -0)
===================================================================
--- lib/groonga.rb 2011-05-03 08:23:54 +0000 (5538e7a)
+++ lib/groonga.rb 2011-05-03 09:48:07 +0000 (6e41163)
@@ -37,6 +37,7 @@ end
require 'groonga/view-record'
require 'groonga/record'
require 'groonga/expression-builder'
+require 'groonga/posting'
begin
major, minor, micro, = RUBY_VERSION.split(/\./)
require "#{major}.#{minor}/groonga.so"
Added: lib/groonga/posting.rb (+74 -0) 100644
===================================================================
--- /dev/null
+++ lib/groonga/posting.rb 2011-05-03 09:48:07 +0000 (645be07)
@@ -0,0 +1,74 @@
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2011 Kouhei Sutou
+!!!command_line
+% sudo gem install rroonga
+
-== Documents
+h2. Documents
-Japanese only. Sorry.
+"Reference manual":http://groonga.rubyforge.org/rroonga/
-http://groonga.rubyforge.org/rroonga/
+h2. Mailing list
-== Mailing list
+"groonga-users-en":http://rubyforge.org/mailman/listinfo/groonga-users-en
-http://rubyforge.org/mailman/listinfo/groonga-users-en
-
-== Thanks
+h2. Thanks
* mori: sent patches to support the latest groonga.
* Tasuku SUENAGA: sent bug reports.
* niku: sent bug reports.
* dara:
- * wrote tests.
- * fixed bugs.
+** wrote tests.
+** fixed bugs.
* id:mat_aki: sent bug reports.
* @yune_kotomi: sent a bug report.
* m_seki: sent bug reports.
From null+ranguba at clear-code.com Tue May 3 09:12:13 2011
From: null+ranguba at clear-code.com (null+ranguba at clear-code.com)
Date: Tue, 03 May 2011 13:12:13 +0000
Subject: [groonga-commit:3273] ranguba/rroonga [master] [doc] use YARD.
Message-ID: <20110503131342.78FE32C422E@taiyaki.ru>
Kouhei Sutou 2011-05-03 13:12:13 +0000 (Tue, 03 May 2011)
New Revision: 95b4b5b493265762b78c1775dfac9cdc10ef53f9
Log:
[doc] use YARD.
Added files:
po/ja.po
Modified files:
.gitignore
Rakefile
Modified: .gitignore (+5 -3)
===================================================================
--- .gitignore 2011-05-03 09:48:07 +0000 (cd68bdc)
+++ .gitignore 2011-05-03 13:12:13 +0000 (eb9b7d6)
@@ -1,11 +1,10 @@
-/
/.gdb_history
/.test-result
/Makefile
-/doc
+/doc/
/email.txt
/mkmf.log
-/pkg
+/pkg/
/test-unit/
/test-unit-notify/
/ext/groonga/Makefile
@@ -15,3 +14,6 @@
/vendor
*.so
/*.gemspec
+/po/rroonga.pot
+/.yardoc/
+/references/
Modified: Rakefile (+131 -79)
===================================================================
--- Rakefile 2011-05-03 09:48:07 +0000 (b6722ce)
+++ Rakefile 2011-05-03 13:12:13 +0000 (d12a629)
@@ -1,6 +1,6 @@
# -*- coding: utf-8; mode: ruby -*-
#
-# Copyright (C) 2009-2010 Kouhei Sutou
"
+msgstr ""
+
+#: doc/index.html:92(li) doc/file.README.html:92(li)
+msgid "id:mat_aki: sent bug reports."
+msgstr ""
+
+#: doc/index.html:93(li) doc/file.README.html:93(li)
+msgid "@yune_kotomi: sent a bug report."
+msgstr ""
+
+#: doc/index.html:94(li) doc/file.README.html:94(li)
+msgid "m_seki: sent bug reports."
+msgstr ""
+
+#: doc/index.html:95(li) doc/file.README.html:95(li)
+msgid "ono matope: sent bug reports."
+msgstr ""
+
+#: doc/index.html:96(li) doc/file.README.html:96(li)
+msgid "@kamipo: send a bug report."
+msgstr ""
+
+#: doc/index.html:97(li) doc/file.README.html:97(li)
+msgid "ongaeshi: sent a patch to build gem on Windows."
+msgstr ""
+
+#: doc/index.html:100(div) doc/file.README.html:100(div) doc/_index.html:1469(div) doc/Groonga/SchemaDumper/RubySyntax.html:122(div) doc/Grn/VariableSizeColumn.html:93(div) doc/Grn/TooManyOpenFiles.html:104(div) doc/Grn/TokenizerError.html:104(div) doc/Grn/SyntaxError.html:104(div) doc/Grn/SocketNotInitialized.html:104(div) doc/Grn/NotEnoughSpace.html:104(div) doc/Grn/InvalidFormat.html:104(div) doc/Grn/InvalidArgument.html:104(div) doc/Grn/BadAddress.html:104(div) doc/Grn/AddressIsNotAvailable.html:104(div)
+msgid "Generated on Tue May 3 20:45:22 2011 by
???????????????????????????????????????????????????????????????????????????"
+msgstr ""
+
+#: doc/Groonga/Schema.html:96(span) doc/Groonga/Schema.html:97(span) doc/Groonga/Schema.html:101(span) doc/Groonga/Schema.html:105(span) doc/Groonga/Schema.html:865(span) doc/Groonga/Schema.html:866(span) doc/Groonga/Schema.html:908(span) doc/Groonga/Schema.html:909(span) doc/Groonga/Schema.html:937(span) doc/Groonga/Schema.html:938(span) doc/Groonga/Schema.html:980(span) doc/Groonga/Schema.html:981(span) doc/Groonga/Schema.html:1009(span) doc/Groonga/Schema.html:1010(span) doc/Groonga/Schema.html:1141(span) doc/Groonga/Schema.html:1142(span) doc/Groonga/Schema.html:1170(span) doc/Groonga/Schema.html:1171(span) doc/Groonga/Schema.html:1229(span) doc/Groonga/Schema.html:1230(span) doc/Groonga/Schema.html:1252(span) doc/Groonga/Schema.html:1260(span) doc/Groonga/Schema.html:1262(span) doc/Groonga/Schema.html:1284(tt) doc/Groonga/Schema.html:1309(span) doc/Groonga/Schema.html:1310(span) doc/Groonga/Schema.html:1311(span) doc/Groonga/Schema.html:1337(span) doc/Groonga/Schema.htm
l:1352(span) doc/Groonga/Schema.html:1356(span) doc/Groonga/Schema.html:1405(span) doc/Groonga/Schema.html:1407(span) doc/Groonga/Schema.html:1562(span) doc/Groonga/Schema.html:1563(span) doc/Groonga/Schema.html:1616(span) doc/Groonga/Schema.html:1617(span) doc/Groonga/Schema.html:1660(span) doc/Groonga/Schema.html:1661(span) doc/Groonga/Schema.html:1689(span) doc/Groonga/Schema.html:1768(span) doc/Groonga/Schema.html:1887(span) doc/Groonga/Schema.html:2052(span) doc/Groonga/Schema.html:2236(span) doc/Groonga/Schema.html:2242(span)
+msgid "schema"
+msgstr ""
+
+#: doc/Groonga/Schema.html:97(span) doc/Groonga/Schema.html:106(span)
+msgid "\"Items\""
+msgstr ""
+
+#: doc/Groonga/Schema.html:98(span)
+msgid "\"title\""
+msgstr ""
+
+#: doc/Groonga/Schema.html:101(span) doc/Groonga/Schema.html:107(span)
+msgid "\"Users\""
+msgstr ""
+
+#: doc/Groonga/Schema.html:102(span)
+msgid "\"name\""
+msgstr ""
+
+#: doc/Groonga/Schema.html:105(span)
+msgid "\"comments\""
+msgstr ""
+
+#: doc/Groonga/Schema.html:106(span)
+msgid "\"item\""
+msgstr ""
+
+#: doc/Groonga/Schema.html:107(span)
+msgid "\"author\""
+msgstr ""
+
+#: doc/Groonga/Schema.html:108(span)
+msgid "\"content\""
+msgstr ""
+
+#: doc/Groonga/Schema.html:109(span)
+msgid "\"issued\""
+msgstr ""
+
+#: doc/Groonga/Schema.html:120(p)
+msgid "
lib/groonga/schema.rb,
lib/groonga/dumper.rb,
lib/groonga/record.rb,
lib/groonga/context.rb,
lib/groonga/posting.rb,
ext/groonga/rb-groonga.c,
lib/groonga/pagination.rb,
lib/groonga/view-record.rb,
lib/groonga/patricia-trie.rb,
lib/groonga/expression-builder.rb"
+msgstr ""
+
+#: doc/Groonga.html:62(dd)
+msgid "lib/groonga.rb
ext/groonga/rb-grn-index-cursor.c"
+msgstr ""
+
+#: doc/Grn/TableCursor.html:81(dd)
+msgid "ext/groonga/rb-grn-table-cursor.c