From null+ranguba at clear-code.com Wed Aug 8 10:01:13 2012 From: null+ranguba at clear-code.com (null+ranguba at clear-code.com) Date: Wed, 08 Aug 2012 19:01:13 +0900 Subject: [groonga-commit:4657] ranguba/packnga [master] reference-task: use class methods of YARD::CLI::I18n Message-ID: <20120808100200.56519940BD6@jenkins.clear-code.com> Haruka Yoshihara 2012-08-08 19:01:13 +0900 (Wed, 08 Aug 2012) New Revision: 869f42e85c68248b8f15b60f86fdb2d0d725d34a https://github.com/ranguba/packnga/commit/869f42e85c68248b8f15b60f86fdb2d0d725d34a Log: reference-task: use class methods of YARD::CLI::I18n Modified files: lib/packnga/reference-task.rb Modified: lib/packnga/reference-task.rb (+1 -2) =================================================================== --- lib/packnga/reference-task.rb 2012-08-08 18:59:07 +0900 (85c13fc) +++ lib/packnga/reference-task.rb 2012-08-08 19:01:13 +0900 (fc3800e) @@ -166,8 +166,7 @@ module Packnga options += @source_files options += ["-"] options += @extra_files - i18n_command = YARD::CLI::I18n.new - i18n_command.run(*options) + YARD::CLI::I18n.run(*options) end def define_translate_task -------------- next part -------------- An HTML attachment was scrubbed... URL: From null+ranguba at clear-code.com Wed Aug 8 09:59:07 2012 From: null+ranguba at clear-code.com (null+ranguba at clear-code.com) Date: Wed, 08 Aug 2012 18:59:07 +0900 Subject: [groonga-commit:4658] ranguba/packnga [master] reference-task: use the class method of YARD::CLI::Yardoc Message-ID: <20120808100200.414689402E8@jenkins.clear-code.com> Haruka Yoshihara 2012-08-08 18:59:07 +0900 (Wed, 08 Aug 2012) New Revision: 8c973355f44cb5909c2eaa815be493a632a8dca7 https://github.com/ranguba/packnga/commit/8c973355f44cb5909c2eaa815be493a632a8dca7 Log: reference-task: use the class method of YARD::CLI::Yardoc Modified files: lib/packnga/reference-task.rb Modified: lib/packnga/reference-task.rb (+1 -2) =================================================================== --- lib/packnga/reference-task.rb 2012-07-27 17:57:50 +0900 (1bda7e0) +++ lib/packnga/reference-task.rb 2012-08-08 18:59:07 +0900 (85c13fc) @@ -297,7 +297,6 @@ module Packnga YARD::Registry.clear YARD.parse(@source_files) - yardoc_command = YARD::CLI::Yardoc.new options = [ "--title", @spec.name, "-o", translate_doc_dir, @@ -311,7 +310,7 @@ module Packnga options += ["-"] options += @text_files - yardoc_command.run(*options) + YARD::CLI::Yardoc.run(*options) end translated_files = File.join(output_dir, translate_doc_dir, "**") FileUtils.cp_r(Dir.glob(translated_files), translate_doc_dir) -------------- next part -------------- An HTML attachment was scrubbed... URL: From null+ranguba at clear-code.com Wed Aug 8 14:20:37 2012 From: null+ranguba at clear-code.com (null+ranguba at clear-code.com) Date: Wed, 08 Aug 2012 23:20:37 +0900 Subject: [groonga-commit:4659] ranguba/rroonga [master] Add gemspec to release archive Message-ID: <20120808142124.9B1AB9402E8@jenkins.clear-code.com> Kouhei Sutou 2012-08-08 23:20:37 +0900 (Wed, 08 Aug 2012) New Revision: 8ca3e7b63e37425d26e306faddf11abf51661131 https://github.com/ranguba/rroonga/commit/8ca3e7b63e37425d26e306faddf11abf51661131 Log: Add gemspec to release archive Modified files: rroonga.gemspec Modified: rroonga.gemspec (+1 -0) =================================================================== --- rroonga.gemspec 2012-07-20 18:55:35 +0900 (b1a108c) +++ rroonga.gemspec 2012-08-08 23:20:37 +0900 (ddbbc6a) @@ -56,6 +56,7 @@ Gem::Specification.new do |s| s.summary, s.description, = description.split(/\n\n+/, 3) s.files = ["README.textile", "AUTHORS", "Rakefile", "Gemfile"] + s.files += ["#{s.name}.gemspec"] s.files += ["rroonga-build.rb", "extconf.rb"] Dir.chdir(base_dir) do s.files += Dir.glob("{lib,benchmark,misc,example}/**/*.rb") -------------- next part -------------- An HTML attachment was scrubbed... URL: From null+ranguba at clear-code.com Sun Aug 12 07:40:32 2012 From: null+ranguba at clear-code.com (Kouhei Sutou) Date: Sun, 12 Aug 2012 16:40:32 +0900 Subject: [groonga-commit:4660] ranguba/rroonga [master] travis: use groonga setup script Message-ID: <20120812074043.E57109400E6@jenkins.clear-code.com> Kouhei Sutou 2012-08-12 16:40:32 +0900 (Sun, 12 Aug 2012) New Revision: 6d06f89edf065f7605e80f2c8114d14bfcd6aadc https://github.com/ranguba/rroonga/commit/6d06f89edf065f7605e80f2c8114d14bfcd6aadc Log: travis: use groonga setup script Modified files: .travis.yml Modified: .travis.yml (+1 -6) =================================================================== --- .travis.yml 2012-08-08 23:20:37 +0900 (26feabd) +++ .travis.yml 2012-08-12 16:40:32 +0900 (040b847) @@ -5,9 +5,4 @@ rvm: - 1.8.7 - 1.9.3 before_install: - - echo "deb http://packages.groonga.org/ubuntu/ $(lsb_release --short --codename) universe" | sudo tee /etc/apt/sources.list.d/groonga.list - - sudo apt-get update - - sudo apt-get -y --allow-unauthenticated install groonga-keyring - - sudo apt-get -y purge zeromq - - sudo apt-get update - - sudo apt-get -y install groonga libgroonga-dev + - curl https://raw.github.com/groonga/groonga/master/data/travis/setup.sh | sh -------------- next part -------------- An HTML attachment was scrubbed... URL: From null+ranguba at clear-code.com Tue Aug 28 07:17:04 2012 From: null+ranguba at clear-code.com (Haruka Yoshihara) Date: Tue, 28 Aug 2012 16:17:04 +0900 Subject: [groonga-commit:4661] ranguba/packnga [master] reference-task: use Rake::Task to invoke rake tasks instead of another process Message-ID: <20120828071716.84E97940622@jenkins.clear-code.com> Haruka Yoshihara 2012-08-28 16:17:04 +0900 (Tue, 28 Aug 2012) New Revision: 14b72ea5f084c9f629d58ad69fec0a35040f37ae https://github.com/ranguba/packnga/commit/14b72ea5f084c9f629d58ad69fec0a35040f37ae Log: reference-task: use Rake::Task to invoke rake tasks instead of another process Modified files: lib/packnga/reference-task.rb Modified: lib/packnga/reference-task.rb (+3 -2) =================================================================== --- lib/packnga/reference-task.rb 2012-08-08 19:01:13 +0900 (fc3800e) +++ lib/packnga/reference-task.rb 2012-08-28 16:17:04 +0900 (0fd7b09) @@ -19,6 +19,7 @@ require "erb" require "gettext/tools" require "tempfile" require "tmpdir" +require "rake/clean" module Packnga # This class creates reference tasks. @@ -153,9 +154,9 @@ module Packnga desc "Updates po files." task :update do - ruby($0, "clobber") + Rake::Task["clobber"].invoke @translate_languages.each do |language| - ruby($0, "reference:po:update:#{language}") + Rake::Task["reference:po:update:#{language}"].invoke end end end -------------- next part -------------- An HTML attachment was scrubbed... URL: From null+ranguba at clear-code.com Tue Aug 28 08:12:08 2012 From: null+ranguba at clear-code.com (Haruka Yoshihara) Date: Tue, 28 Aug 2012 17:12:08 +0900 Subject: [groonga-commit:4662] ranguba/packnga [master] reference-task: create the po directory under @base_directory instead of "doc" Message-ID: <20120828081233.6CAA9940622@jenkins.clear-code.com> Haruka Yoshihara 2012-08-28 17:12:08 +0900 (Tue, 28 Aug 2012) New Revision: 959cdfe43b7e14f833feb20b5294d3a1c03ecdaa https://github.com/ranguba/packnga/commit/959cdfe43b7e14f833feb20b5294d3a1c03ecdaa Log: reference-task: create the po directory under @base_directory instead of "doc" Modified files: lib/packnga/reference-task.rb Modified: lib/packnga/reference-task.rb (+1 -1) =================================================================== --- lib/packnga/reference-task.rb 2012-08-28 16:17:04 +0900 (0fd7b09) +++ lib/packnga/reference-task.rb 2012-08-28 17:12:08 +0900 (a77e63a) @@ -79,7 +79,7 @@ module Packnga @translate_languages ||= [:ja] @supported_languages = [:en, *@translate_languages] @html_files = FileList[(doc_en_dir + "**/*.html").to_s].to_a - @po_dir = "doc/po" + @po_dir = "#{@base_dir}/po" @pot_file = "#{@po_dir}/#{@spec.name}.pot" @extra_files = @text_files @extra_files += [@readme] if @readme -------------- next part -------------- An HTML attachment was scrubbed... URL: From null+ranguba at clear-code.com Tue Aug 28 08:15:00 2012 From: null+ranguba at clear-code.com (Haruka Yoshihara) Date: Tue, 28 Aug 2012 17:15:00 +0900 Subject: [groonga-commit:4663] ranguba/packnga [master] rake: remove needless require Message-ID: <20120828081528.42AED940622@jenkins.clear-code.com> Haruka Yoshihara 2012-08-28 17:15:00 +0900 (Tue, 28 Aug 2012) New Revision: 9cec19f02d7c7001cd2544a1b38752a936eacfd9 https://github.com/ranguba/packnga/commit/9cec19f02d7c7001cd2544a1b38752a936eacfd9 Log: rake: remove needless require Modified files: Rakefile Modified: Rakefile (+0 -1) =================================================================== --- Rakefile 2012-08-28 17:12:08 +0900 (025cdda) +++ Rakefile 2012-08-28 17:15:00 +0900 (a294b94) @@ -21,7 +21,6 @@ require 'English' require 'pathname' require 'rubygems' require 'rubygems/package_task' -require "rake/clean" require 'bundler/gem_helper' base_dir = File.join(File.dirname(__FILE__)) -------------- next part -------------- An HTML attachment was scrubbed... URL: From null+ranguba at clear-code.com Tue Aug 28 08:27:35 2012 From: null+ranguba at clear-code.com (Haruka Yoshihara) Date: Tue, 28 Aug 2012 17:27:35 +0900 Subject: [groonga-commit:4664] ranguba/packnga [master] test: clear rake tasks in each test finished Message-ID: <20120828083136.27A26940622@jenkins.clear-code.com> Haruka Yoshihara 2012-08-28 17:27:35 +0900 (Tue, 28 Aug 2012) New Revision: 185d5a707439de365a59410de5106e16de7baf22 https://github.com/ranguba/packnga/commit/185d5a707439de365a59410de5106e16de7baf22 Log: test: clear rake tasks in each test finished Modified files: test/test-document-task.rb test/test-release-task.rb Modified: test/test-document-task.rb (+4 -0) =================================================================== --- test/test-document-task.rb 2012-08-28 17:15:00 +0900 (0d1cdaa) +++ test/test-document-task.rb 2012-08-28 17:27:35 +0900 (ffe56e8) @@ -16,6 +16,10 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA class DocumentTaskTest < Test::Unit::TestCase + def teardown + Rake::Task.clear + end + def test_base_directory_set spec = Gem::Specification.new base_dir = Pathname("base_directory") Modified: test/test-release-task.rb (+4 -0) =================================================================== --- test/test-release-task.rb 2012-08-28 17:15:00 +0900 (8cf8d45) +++ test/test-release-task.rb 2012-08-28 17:27:35 +0900 (fe374cf) @@ -18,6 +18,10 @@ require "test/unit/rr" class ReleaseTaskTest < Test::Unit::TestCase + def teardown + Rake::Task.clear + end + def test_html_publish spec = Gem::Specification.new do |_spec| _spec.rubyforge_project = "packnga" -------------- next part -------------- An HTML attachment was scrubbed... URL: From null+ranguba at clear-code.com Tue Aug 28 08:33:36 2012 From: null+ranguba at clear-code.com (Haruka Yoshihara) Date: Tue, 28 Aug 2012 17:33:36 +0900 Subject: [groonga-commit:4665] ranguba/packnga [master] reference-task: use GetText::Tools::MsgInit.run instead of msginit command Message-ID: <20120828090857.5CEAB940622@jenkins.clear-code.com> Haruka Yoshihara 2012-08-28 17:33:36 +0900 (Tue, 28 Aug 2012) New Revision: 8281960e4603d0b395aa2566c291d871532d8a23 https://github.com/ranguba/packnga/commit/8281960e4603d0b395aa2566c291d871532d8a23 Log: reference-task: use GetText::Tools::MsgInit.run instead of msginit command Added files: test/test-reference-task.rb Modified files: lib/packnga/reference-task.rb Modified: lib/packnga/reference-task.rb (+3 -4) =================================================================== --- lib/packnga/reference-task.rb 2012-08-28 17:27:35 +0900 (a77e63a) +++ lib/packnga/reference-task.rb 2012-08-28 17:33:36 +0900 (9ece828) @@ -140,10 +140,9 @@ module Packnga end else file po_file => @pot_file do |t| - sh("msginit", - "--input=#{@pot_file}", - "--output=#{t.name}", - "--locale=#{language}") + GetText::Tools::MsgInit.run("--input", @pot_file, + "--output", t.name, + "--locale", language.to_s) end end Added: test/test-reference-task.rb (+50 -0) 100644 =================================================================== --- /dev/null +++ test/test-reference-task.rb 2012-08-28 17:33:36 +0900 (8b900f8) @@ -0,0 +1,50 @@ +# -*- coding: utf-8 -*- +# +# Copyright (C) 2012 Haruka Yoshihara +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License version 2.1 as published by the Free Software Foundation. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +require "test/unit/rr" +require "tmpdir" + +class ReferenceTaskTest < Test::Unit::TestCase + def teardown + Rake::Task.clear + end + + def test_po_update_no_po_file_exists + Dir.mktmpdir do |base_dir| + package_name = "packnga" + + spec = Gem::Specification.new do |_spec| + _spec.name = package_name + end + + Packnga::DocumentTask.new(spec) do |task| + task.base_dir = base_dir + end + + language = "ja" + po_dir = "#{base_dir}/po" + pot_file = "#{po_dir}/#{package_name}.pot" + po_file = "#{po_dir}/#{language}.po" + + mock(GetText::Tools::MsgInit).run("--input", pot_file, + "--output", po_file, + "--locale", language) + + Rake::Task["reference:po:update:ja"].invoke + end + end +end -------------- next part -------------- An HTML attachment was scrubbed... URL: From null+ranguba at clear-code.com Wed Aug 29 07:20:15 2012 From: null+ranguba at clear-code.com (Haruka Yoshihara) Date: Wed, 29 Aug 2012 16:20:15 +0900 Subject: [groonga-commit:4666] ranguba/packnga [master] reference-task: add patch for translation of extra files by YARD Message-ID: <20120829073427.5CDCB9402E8@jenkins.clear-code.com> Haruka Yoshihara 2012-08-29 16:20:15 +0900 (Wed, 29 Aug 2012) New Revision: 786630c2d6cb30a47d30bf10ca798cc3f320a78c https://github.com/ranguba/packnga/commit/786630c2d6cb30a47d30bf10ca798cc3f320a78c Log: reference-task: add patch for translation of extra files by YARD This patch is included in the master repository of YARD, so this patch should be deleted in the next release of YARD. Modified files: lib/packnga/reference-task.rb Modified: lib/packnga/reference-task.rb (+378 -0) =================================================================== --- lib/packnga/reference-task.rb 2012-08-28 17:33:36 +0900 (9ece828) +++ lib/packnga/reference-task.rb 2012-08-29 16:20:15 +0900 (c3d5077) @@ -373,3 +373,381 @@ module Packnga end end end + +# XXX: This module is the re-definition of YARD module. +# this module should be deleted in the next release of YARD. +# @private +module YARD + module CLI + # @private + class Yardoc + def parse_arguments(*args) + parse_yardopts_options(*args) + + # Parse files and then command line arguments + optparse(*support_rdoc_document_file!) if use_document_file + optparse(*yardopts) if use_yardopts_file + optparse(*args) + + # Last minute modifications + self.files = ['{lib,app}/**/*.rb', 'ext/**/*.c'] if self.files.empty? + self.files.delete_if {|x| x =~ /\A\s*\Z/ } # remove empty ones + readme = Dir.glob('README*').first + readme ||= Dir.glob(files.first).first if options.onefile + options.readme ||= CodeObjects::ExtraFileObject.new(readme) if readme + options.files.unshift(options.readme).uniq! if options.readme + + Tags::Library.visible_tags -= hidden_tags + add_visibility_verifier + add_api_verifier + + apply_locale + + # US-ASCII is invalid encoding for onefile + if defined?(::Encoding) && options.onefile + if ::Encoding.default_internal == ::Encoding::US_ASCII + log.warn "--one-file is not compatible with US-ASCII encoding, using ASCII-8BIT" + ::Encoding.default_external, ::Encoding.default_internal = ['ascii-8bit'] * 2 + end + end + + if generate && !verify_markup_options + false + else + true + end + end + + def apply_locale + options.files.each do |file| + file.locale = options.locale + end + end + + def output_options(opts) + opts.separator "" + opts.separator "Output options:" + + opts.on('--one-file', 'Generates output as a single file') do + options.onefile = true + end + + opts.on('--list', 'List objects to standard out (implies -n)') do |format| + self.generate = false + self.list = true + end + + opts.on('--no-public', "Don't show public methods. (default shows public)") do + visibilities.delete(:public) + end + + opts.on('--protected', "Show protected methods. (default hides protected)") do + visibilities.push(:protected) + end + + opts.on('--private', "Show private methods. (default hides private)") do + visibilities.push(:private) + end + + opts.on('--no-private', "Hide objects with @private tag") do + options.verifier.add_expressions '!object.tag(:private) && + (object.namespace.is_a?(CodeObjects::Proxy) || !object.namespace.tag(:private))' + end + + opts.on('--[no-]api API', 'Generates documentation for a given API', + '(objects which define the correct @api tag).', + 'If --no-api is given, displays objects with', + 'no @api tag.') do |api| + api = '' if api == false + apis.push(api) + end + + opts.on('--embed-mixins', "Embeds mixin methods into class documentation") do + options.embed_mixins << '*' + end + + opts.on('--embed-mixin [MODULE]', "Embeds mixin methods from a particular", + " module into class documentation") do |mod| + options.embed_mixins << mod + end + + opts.on('--no-highlight', "Don't highlight code blocks in output.") do + options.highlight = false + end + + opts.on('--default-return TYPE', "Shown if method has no return type. ", + " (defaults to 'Object')") do |type| + options.default_return = type + end + + opts.on('--hide-void-return', "Hides return types specified as 'void'. ", + " (default is shown)") do + options.hide_void_return = true + end + + opts.on('--query QUERY', "Only show objects that match a specific query") do |query| + next if YARD::Config.options[:safe_mode] + options.verifier.add_expressions(query.taint) + end + + opts.on('--title TITLE', 'Add a specific title to HTML documents') do |title| + options.title = title + end + + opts.on('-r', '--readme FILE', '--main FILE', 'The readme file used as the title page', + ' of documentation.') do |readme| + if File.file?(readme) + options.readme = CodeObjects::ExtraFileObject.new(readme) + else + log.warn "Could not find readme file: #{readme}" + end + end + + opts.on('--files FILE1,FILE2,...', 'Any extra comma separated static files to be ', + ' included (eg. FAQ)') do |files| + add_extra_files(*files.split(",")) + end + + opts.on('--asset FROM[:TO]', 'A file or directory to copy over to output ', + ' directory after generating') do |asset| + re = /^(?:\.\.\/|\/)/ + from, to = *asset.split(':').map {|f| File.cleanpath(f) } + to ||= from + if from =~ re || to =~ re + log.warn "Invalid file '#{asset}'" + else + assets[from] = to + end + end + + opts.on('-o', '--output-dir PATH', + 'The output directory. (defaults to ./doc)') do |dir| + options.serializer.basepath = dir + end + + opts.on('-m', '--markup MARKUP', + 'Markup style used in documentation, like textile, ', + ' markdown or rdoc. (defaults to rdoc)') do |markup| + self.has_markup = true + options.markup = markup.to_sym + end + + opts.on('-M', '--markup-provider MARKUP_PROVIDER', + 'Overrides the library used to process markup ', + ' formatting (specify the gem name)') do |markup_provider| + options.markup_provider = markup_provider.to_sym + end + + opts.on('--charset ENC', 'Character set to use when parsing files ', + ' (default is system locale)') do |encoding| + begin + if defined?(Encoding) && Encoding.respond_to?(:default_external=) + Encoding.default_external, Encoding.default_internal = encoding, encoding + end + rescue ArgumentError => e + raise OptionParser::InvalidOption, e + end + end + + opts.on('-t', '--template TEMPLATE', + 'The template to use. (defaults to "default")') do |template| + options.template = template.to_sym + end + + opts.on('-p', '--template-path PATH', + 'The template path to look for templates in.', + ' (used with -t).') do |path| + next if YARD::Config.options[:safe_mode] + YARD::Templates::Engine.register_template_path(File.expand_path(path)) + end + + opts.on('-f', '--format FORMAT', + 'The output format for the template.', + ' (defaults to html)') do |format| + options.format = format.to_sym + end + + opts.on('--no-stats', 'Don\'t print statistics') do + self.statistics = false + end + + opts.on('--locale LOCALE', + 'The locale for generated documentation.', + ' (defaults to en)') do |locale| + options.locale = locale + end + + opts.on('--po-dir DIR', + 'The directory that has .po files.', + ' (defaults to #{YARD::Registry.po_dir})') do |dir| + YARD::Registry.po_dir = dir + end + end + end + end + + module CodeObjects + # @private + class ExtraFileObject + attr_writer :attributes + attr_reader :locale + + def initialize(filename, contents = nil) + self.filename = filename + self.name = File.basename(filename).gsub(/\.[^.]+$/, '') + self.attributes = SymbolHash.new(false) + @original_contents = contents + @parsed = false + @locale = nil + ensure_parsed + end + + def attributes + ensure_parsed + @attributes + end + + def contents + ensure_parsed + @contents + end + + def contents=(contents) + @original_contents = contents + @parsed = false + end + + def locale=(locale) + @locale = locale + @parsed = false + end + + private + def ensure_parsed + return if @parsed + @parsed = true + @contents = parse_contents(@original_contents || File.read(@filename)) + end + + def parse_contents(data) + retried = false + cut_index = 0 + data = translate(data) + data = data.split("\n") + data.each_with_index do |line, index| + case line + when /^#!(\S+)\s*$/ + if index == 0 + attributes[:markup] = $1 + else + cut_index = index + break + end + when /^\s*#\s*@(\S+)\s*(.+?)\s*$/ + attributes[$1] = $2 + else + cut_index = index + break + end + end + data = data[cut_index..-1] if cut_index > 0 + contents = data.join("\n") + + if contents.respond_to?(:force_encoding) && attributes[:encoding] + begin + contents.force_encoding(attributes[:encoding]) + rescue ArgumentError + log.warn "Invalid encoding `#{attributes[:encoding]}' in #{filename}" + end + end + contents + rescue ArgumentError => e + if retried && e.message =~ /invalid byte sequence/ + # This should never happen. + log.warn "Could not read #{filename}, #{e.message}. You probably want to set `--charset`." + return '' + end + data.force_encoding('binary') if data.respond_to?(:force_encoding) + retried = true + retry + end + + def translate(data) + text = YARD::I18n::Text.new(data, :have_header => true) + text.translate(YARD::Registry.locale(locale)) + end + end + end + + module I18n + # @private + class Locale + def load(locale_directory) + return false if @name.nil? + + po_file = File.join(locale_directory, "#{@name}.po") + return false unless File.exist?(po_file) + + begin + require "gettext/tools/poparser" + require "gettext/runtime/mofile" + rescue LoadError + log.warn "Need gettext gem for i18n feature:" + log.warn " gem install gettext" + return false + end + + parser = GetText::PoParser.new + parser.report_warning = false + data = GetText::MoFile.new + parser.parse_file(po_file, data) + @messages.merge!(data) + true + end + end + end + + # @private + module Registry + DEFAULT_PO_DIR = "po" + class << self + def locale(name) + thread_local_store.locale(name) + end + + attr_accessor :po_dir + undef po_dir, po_dir= + def po_dir=(dir) Thread.current[:__yard_po_dir__] = dir end + def po_dir + Thread.current[:__yard_po_dir__] ||= DEFAULT_PO_DIR + end + end + end + + # @private + class RegistryStore + def initialize + @file = nil + @checksums = {} + @store = {} + @proxy_types = {} + @object_types = {:root => [:root]} + @notfound = {} + @loaded_objects = 0 + @available_objects = 0 + @locales = {} + @store[:root] = CodeObjects::RootObject.allocate + @store[:root].send(:initialize, nil, :root) + end + + def locale(name) + @locales[name] ||= load_locale(name) + end + + def load_locale(name) + locale = I18n::Locale.new(name) + locale.load(Registry.po_dir) + locale + end + end +end -------------- next part -------------- An HTML attachment was scrubbed... URL: From null+ranguba at clear-code.com Thu Aug 30 06:22:53 2012 From: null+ranguba at clear-code.com (Haruka Yoshihara) Date: Thu, 30 Aug 2012 15:22:53 +0900 Subject: [groonga-commit:4667] ranguba/packnga [master] news: Add 0.9.5 entry Message-ID: <20120830062306.2B30F940BC3@jenkins.clear-code.com> Haruka Yoshihara 2012-08-30 15:22:53 +0900 (Thu, 30 Aug 2012) New Revision: afe83e0f7df4826d13187562c96a33f4d62ada9a https://github.com/ranguba/packnga/commit/afe83e0f7df4826d13187562c96a33f4d62ada9a Log: news: Add 0.9.5 entry Modified files: doc/text/news.textile Modified: doc/text/news.textile (+28 -0) =================================================================== --- doc/text/news.textile 2012-08-29 16:20:15 +0900 (9dc5a98) +++ doc/text/news.textile 2012-08-30 15:22:53 +0900 (5c8b86a) @@ -1,5 +1,33 @@ h1. NEWS +h2. 0.9.5: 2012-08-30 + +h3. Improvements + + * [reference-task] Created and update a pot/po file by YARD::CLI::I18n instead of xml2po command. + * [reference-task] Created HTML documents from a po file, source files(lib/**/*.rb, ext/**/*.c) and extra files(doc/text/*.*) and README file in spec. + * [reference-task] Used GetText::Tools::MsgInit.run instead of msginit in GNU gettext. + * Assigned default files for HTML documents by DocumentTask to YARDTask and ReferenceTask. + * [tutorial] Added example to use gemspec with Gem::Specification.new. + * Updated documents. + +h3. Changes + + * [reference-task] Created the po directory under specified directory instead of "doc". + * Defined accessors for readme in YARDTask and ReferenceTask. + +h3. Fixes + + * [document-task] Fixed not to require block on new. + * [reference-task] Fixed not to execute an unneeded "yard" task. + * Fixed not to run blocks when objects of YARDTask and ReferenceTask are initialized. + * [reference-task] Used Rake::Task to invoke rake tasks instead of another process. + +h3. Thanks + + * tetradice + * SHIMADA Koji + h2. 0.9.4: 2011-09-27 h3. Improvements -------------- next part -------------- An HTML attachment was scrubbed... URL: From null+ranguba at clear-code.com Thu Aug 30 07:20:27 2012 From: null+ranguba at clear-code.com (Haruka Yoshihara) Date: Thu, 30 Aug 2012 16:20:27 +0900 Subject: [groonga-commit:4668] ranguba/packnga [master] news: fix 0.9.5 entry correctly Message-ID: <20120830072235.525D7940BC3@jenkins.clear-code.com> Haruka Yoshihara 2012-08-30 16:20:27 +0900 (Thu, 30 Aug 2012) New Revision: 8581dc7d512e5652583e488218a21972ea6fe304 https://github.com/ranguba/packnga/commit/8581dc7d512e5652583e488218a21972ea6fe304 Log: news: fix 0.9.5 entry correctly Modified files: doc/text/news.textile Modified: doc/text/news.textile (+2 -3) =================================================================== --- doc/text/news.textile 2012-08-30 15:22:53 +0900 (5c8b86a) +++ doc/text/news.textile 2012-08-30 16:20:27 +0900 (a1f92d5) @@ -5,21 +5,20 @@ h2. 0.9.5: 2012-08-30 h3. Improvements * [reference-task] Created and update a pot/po file by YARD::CLI::I18n instead of xml2po command. - * [reference-task] Created HTML documents from a po file, source files(lib/**/*.rb, ext/**/*.c) and extra files(doc/text/*.*) and README file in spec. + * [reference-task] Translated HTML documents with a po file, source files(lib/**/*.rb, ext/**/*.c) and extra files(doc/text/*.*) and README file in spec. * [reference-task] Used GetText::Tools::MsgInit.run instead of msginit in GNU gettext. * Assigned default files for HTML documents by DocumentTask to YARDTask and ReferenceTask. * [tutorial] Added example to use gemspec with Gem::Specification.new. + * Defined accessors for readme in YARDTask and ReferenceTask. * Updated documents. h3. Changes * [reference-task] Created the po directory under specified directory instead of "doc". - * Defined accessors for readme in YARDTask and ReferenceTask. h3. Fixes * [document-task] Fixed not to require block on new. - * [reference-task] Fixed not to execute an unneeded "yard" task. * Fixed not to run blocks when objects of YARDTask and ReferenceTask are initialized. * [reference-task] Used Rake::Task to invoke rake tasks instead of another process. -------------- next part -------------- An HTML attachment was scrubbed... URL: From null+ranguba at clear-code.com Thu Aug 30 07:22:04 2012 From: null+ranguba at clear-code.com (Haruka Yoshihara) Date: Thu, 30 Aug 2012 16:22:04 +0900 Subject: [groonga-commit:4669] ranguba/packnga [master] README: add tetradice to thanks list. Thanks!!! Message-ID: <20120830072235.68D6C940C1B@jenkins.clear-code.com> Haruka Yoshihara 2012-08-30 16:22:04 +0900 (Thu, 30 Aug 2012) New Revision: 7d3b596e78a09f6d24f050ad13c5fb23bf245329 https://github.com/ranguba/packnga/commit/7d3b596e78a09f6d24f050ad13c5fb23bf245329 Log: README: add tetradice to thanks list. Thanks!!! Modified files: README.textile Modified: README.textile (+1 -1) =================================================================== --- README.textile 2012-08-30 16:20:27 +0900 (d59be40) +++ README.textile 2012-08-30 16:22:04 +0900 (da950fa) @@ -45,4 +45,4 @@ h2. Mailing list h2. Thanks * SHIMADA Koji: send a patch. - + * tetradice: report bugs. -------------- next part -------------- An HTML attachment was scrubbed... URL: From null+ranguba at clear-code.com Thu Aug 30 07:22:22 2012 From: null+ranguba at clear-code.com (Haruka Yoshihara) Date: Thu, 30 Aug 2012 16:22:22 +0900 Subject: [groonga-commit:4670] ranguba/packnga [master] doc: update po Message-ID: <20120830072235.7F6F3940C4C@jenkins.clear-code.com> Haruka Yoshihara 2012-08-30 16:22:22 +0900 (Thu, 30 Aug 2012) New Revision: c435f492156b02f399f871710098a72ea97fa9cc https://github.com/ranguba/packnga/commit/c435f492156b02f399f871710098a72ea97fa9cc Log: doc: update po Modified files: doc/po/ja.po Modified: doc/po/ja.po (+537 -285) =================================================================== --- doc/po/ja.po 2012-08-30 16:22:04 +0900 (448e9c1) +++ doc/po/ja.po 2012-08-30 16:22:22 +0900 (b26f15d) @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: packnga 0.9.5\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2011-11-20 22:17+0900\n" -"PO-Revision-Date: 2012-07-12 15:02+0900\n" +"PO-Revision-Date: 2012-08-30 16:17+0900\n" "Last-Translator: haruka yoshihara \n" "Language-Team: Japanese\n" "Language: ja\n" @@ -49,7 +49,7 @@ msgstr "h2. ??" #: README.textile:15 msgid "" -" * yoshihara haruka \n" +" * Haruka Yoshihara \n" " * Kouhei Sutou " msgstr "" @@ -116,6 +116,14 @@ msgstr "??????" msgid "h2. Thanks" msgstr "h2. ??" +#: README.textile:47 +msgid "" +" * SHIMADA Koji: send a patch.\n" +" * tetradice: report bugs." +msgstr "" +" * ?? ????: ?????????????\n" +" * tetradice??: ?????????????" + #: doc/text/lgpl.txt:1 msgid "" "\t\t GNU LESSER GENERAL PUBLIC LICENSE\n" @@ -874,33 +882,97 @@ msgid "h1. NEWS" msgstr "h1. ????" #: doc/text/news.textile:3 -msgid "h2. 0.9.4: 2011-09-27" +msgid "h2. 0.9.5: 2012-08-30" msgstr "" -#: doc/text/news.textile:5 doc/text/news.textile:19 doc/text/news.textile:35 -#: doc/text/news.textile:44 doc/text/release.textile:26 +#: doc/text/news.textile:5 doc/text/news.textile:32 doc/text/news.textile:46 +#: doc/text/news.textile:62 doc/text/news.textile:71 +#: doc/text/release.textile:30 msgid "h3. Improvements" msgstr "h3. ??" #: doc/text/news.textile:7 -msgid "* Saved password inputted once in same process." -msgstr "* ???????????????????????????????" - -#: doc/text/news.textile:9 doc/text/news.textile:24 -#: doc/text/release.textile:30 +msgid "" +" * [reference-task] Created and update a pot/po file by YARD::CLI::I18n " +"instead of xml2po command.\n" +" * [reference-task] Translated HTML documents with a po file, source files" +"(lib/**/*.rb, ext/**/*.c) and extra files(doc/text/*.*) and README file in " +"spec.\n" +" * [reference-task] Used GetText::Tools::MsgInit.run instead of msginit in " +"GNU gettext.\n" +" * Assigned default files for HTML documents by DocumentTask to YARDTask and " +"ReferenceTask.\n" +" * [tutorial] Added example to use gemspec with Gem::Specification.new.\n" +" * Defined accessors for readme in YARDTask and ReferenceTask.\n" +" * Updated documents." +msgstr "" +" * [reference-task] YARD??????YARD::CLI::I18n????????pot???" +"??po???????????????????\n" +" * [reference-task] spec???????????po???????????HTML?" +"??????????????\n" +" * [reference-task] GNU gettext???msginit?????????gettext gem?" +"GetText::Tools::MsgInit.run?????????????\n" +" * YARDTask?ReferenceTask?????HTML?????????????????" +"DocumentTask????????????\n" +" * [tutorial] gemspec?????Gem::Specification.new??spec????????" +"????\n" +" * YARDTask?ReferenceTask?readme?????????????????????" +"?????????\n" +" * ????????????" + +#: doc/text/news.textile:15 doc/text/news.textile:36 doc/text/news.textile:51 +#: doc/text/release.textile:34 msgid "h3. Changes" msgstr "h3. ??" -#: doc/text/news.textile:11 -msgid "* Checked ruby version before run task to build gem." -msgstr "* gem????ruby?????????????????????" +#: doc/text/news.textile:17 +msgid "" +" * [reference-task] Created the po directory under specified directory " +"instead of \"doc\"." +msgstr " * [reference-task] po???????????????????????????????????????????????????" -#: doc/text/news.textile:13 doc/text/news.textile:29 doc/text/news.textile:53 -#: doc/text/release.textile:34 +#: doc/text/news.textile:19 doc/text/news.textile:40 doc/text/news.textile:56 +#: doc/text/news.textile:80 doc/text/release.textile:38 msgid "h3. Fixes" msgstr "h3. ??" -#: doc/text/news.textile:15 +#: doc/text/news.textile:21 +msgid "" +" * [document-task] Fixed not to require block on new.\n" +" * Fixed not to run blocks when objects of YARDTask and ReferenceTask are " +"initialized.\n" +" * [reference-task] Used Rake::Task to invoke rake tasks instead of another " +"process." +msgstr "" +" * [document-task] DocumentTask?????????????????????????????\n" +" * YARDTask?ReferenceTask???????????????????????????\n" +" * [reference-task] ??????Rake????????????Rake::Task??????????????" + +#: doc/text/news.textile:25 +msgid "h3. Thanks" +msgstr "h3. ??" + +#: doc/text/news.textile:27 +msgid "" +" * tetradice\n" +" * SHIMADA Koji" +msgstr "" +"* tetradice??\n" +"* ?? ????" + +#: doc/text/news.textile:30 +msgid "h2. 0.9.4: 2011-09-27" +msgstr "" + +#: doc/text/news.textile:34 +msgid "* Saved password inputted once in same process." +msgstr "* ???????????????????????????????" + +#: doc/text/news.textile:38 +msgid "* Checked ruby version before run task to build gem." +msgstr "* gem????ruby?????????????????????" + +#: doc/text/news.textile:42 msgid "" "* Fixed bug of posting no news to RubyForge in task \"release:rubyforge:news:" "post\"." @@ -908,11 +980,11 @@ msgstr "" "* ???\"release:rubyforge:news:post\"?Rubyforge????????????" "???????????" -#: doc/text/news.textile:17 +#: doc/text/news.textile:44 msgid "h2. 0.9.3: 2011-09-22" msgstr "" -#: doc/text/news.textile:21 +#: doc/text/news.textile:48 msgid "" "* Printed newline after getting password.\n" "* Added task \"release:rubyforge:news:post\" to post news to RubyForge." @@ -921,7 +993,7 @@ msgstr "" "* Rubyforge??????????????\"release:rubyforge:news:post\"???" "???" -#: doc/text/news.textile:26 +#: doc/text/news.textile:53 msgid "" "* Changed name of tasks for update po file for each languages.\n" "(For example, \"translate:po:ja:update\" was changed to \"translate:po:" @@ -931,17 +1003,17 @@ msgstr "" "?????\"translate:po:ja:update\"?\"translate:po:update:ja\"?????" "??)" -#: doc/text/news.textile:31 +#: doc/text/news.textile:58 msgid "* Applied version number to tag message instead of \"version\"." msgstr "" "* git tag???????????????????\"version\"?????????" "????????????????" -#: doc/text/news.textile:33 +#: doc/text/news.textile:60 msgid "h2. 0.9.2: 2011-08-29" msgstr "" -#: doc/text/news.textile:37 +#: doc/text/news.textile:64 msgid "" "* Supported doc/text/ nonexistence case.\n" "* Supported yardoc options customize.\n" @@ -954,11 +1026,11 @@ msgstr "" "* lib/**/*.rb????????????????????????????????" "???" -#: doc/text/news.textile:42 +#: doc/text/news.textile:69 msgid "h2. 0.9.1: 2011-08-25" msgstr "" -#: doc/text/news.textile:46 +#: doc/text/news.textile:73 msgid "" "* created package in rubyforge if package isn't created.\n" "* added Packnga::ReleaseTask#tag_message.\n" @@ -975,7 +1047,7 @@ msgstr "" "* ???\"reference:publicaton:generate\"??????\n" "??????????????????????????????" -#: doc/text/news.textile:55 +#: doc/text/news.textile:82 msgid "" "* fix bug release:reference:publish stop.\n" "* checked group_ids before add_releasing tar.gz to rubyforge.\n" @@ -989,11 +1061,11 @@ msgstr "" "??\n" "???????????????????????????" -#: doc/text/news.textile:60 +#: doc/text/news.textile:87 msgid "h2. 0.9.0: 2011-08-19" msgstr "" -#: doc/text/news.textile:62 +#: doc/text/news.textile:89 msgid "The first release!" msgstr "" @@ -1002,7 +1074,7 @@ msgid "h1. ??????" msgstr "" #: doc/text/release.textile:3 -msgid "h2. news.textile?????????????????" +msgid "h2. news.textile????????" msgstr "" #: doc/text/release.textile:5 @@ -1014,288 +1086,272 @@ msgstr "" #: doc/text/release.textile:7 msgid "" "
\n"
+"!!!command_line\n"
 "$ git log -p --reverse ?????????????)..\n"
 "
" msgstr "" -#: doc/text/release.textile:11 +#: doc/text/release.textile:12 doc/text/release.textile:114 msgid "" "???\"Author:\"??????????????????????????????" "????????????????????\n" -"??????????????????????\n" -"?????????????????????\n" +"?????????????????????????????????????" +"??\":\"???????????\"[\"?\"]\"????\n" +"?????????????????????????????????????\n" +"?????????????????\n" "????????????????????Improvement,\n" "????????Changes,\n" "?????????????????????????????Fixes??????\n" "?????????????[??]???????????Thanks??????\n" +"???README???Thanks????????????" +msgstr "" + +#: doc/text/release.textile:22 +msgid "" "?????????????????????????????????????ID" "????????\n" -"news.textile????rake reference:po:update????????????????" -"???????????????" +"????news.textile????rake reference:po:update????????????" +"???????????????????" msgstr "" -#: doc/text/release.textile:21 +#: doc/text/release.textile:25 msgid "h3. news.textile?1????????????" msgstr "" -#: doc/text/release.textile:23 +#: doc/text/release.textile:27 msgid "" "
\n"
 "h2. ?????????????: ??????yyyy-mm-dd?"
 msgstr ""
 
-#: doc/text/release.textile:28 doc/text/release.textile:32
-#: doc/text/release.textile:36
+#: doc/text/release.textile:32 doc/text/release.textile:36
+#: doc/text/release.textile:40
 msgid "*"
 msgstr ""
 
-#: doc/text/release.textile:38
+#: doc/text/release.textile:42
 msgid ""
 "h3. Thanks\n"
 "
" msgstr "" -#: doc/text/release.textile:41 +#: doc/text/release.textile:45 msgid "h2. ???????" msgstr "" -#: doc/text/release.textile:43 +#: doc/text/release.textile:47 doc/text/release.textile:124 msgid "???????????ja.po??????" msgstr "" -#: doc/text/release.textile:45 doc/text/release.textile:113 +#: doc/text/release.textile:49 doc/text/release.textile:126 msgid "" "
\n"
+"!!!command_line\n"
 "$ rake reference:po:update\n"
 "
" msgstr "" -#: doc/text/release.textile:49 +#: doc/text/release.textile:54 doc/text/release.textile:131 msgid "" -"????ja.po??????msgid?????????????msgstr???????" -"?????????\n" -"fuzzy???????????C-i????" +"????ja.po??????msgid????????????????msgstr????" +"?????????\n" +"fuzzy?????????????????????????????fuzzy????" msgstr "" -#: doc/text/release.textile:52 +#: doc/text/release.textile:57 msgid "h2. ?????????" msgstr "" -#: doc/text/release.textile:54 +#: doc/text/release.textile:59 msgid "?????????????????????????" msgstr "" -#: doc/text/release.textile:56 +#: doc/text/release.textile:61 doc/text/release.textile:136 msgid "" "
\n"
+"!!!command_line\n"
 "$ rake reference:translate\n"
 "
" msgstr "" -#: doc/text/release.textile:60 -msgid "doc/reference/ja/file.news.html???ja.po?????????????" +#: doc/text/release.textile:66 doc/text/release.textile:141 +msgid "" +"doc/reference/ja/file.news.html???ja.po?????????????????" +"???????" msgstr "" -#: doc/text/release.textile:62 +#: doc/text/release.textile:68 msgid "h2. ??????????????" msgstr "" -#: doc/text/release.textile:64 +#: doc/text/release.textile:70 msgid "" "??????????????????????html/index.html?html/index.html." -"ja??rroonga????????????????????????????????" -"???????????" +"ja?????????????????????????????????????" +"???" msgstr "" -#: doc/text/release.textile:66 +#: doc/text/release.textile:72 msgid "" "
\n"
+"!!!command_line\n"
 "$ rake release:info:update OLD_VERSION=??????????????? "
 "OLD_RELEASE_DATE=????????? RELEASE_DATE=??????????\n"
 "
" msgstr "" -#: doc/text/release.textile:70 +#: doc/text/release.textile:77 msgid "h2. gem????????" msgstr "" -#: doc/text/release.textile:72 +#: doc/text/release.textile:79 msgid "??????????????????gem????????????" msgstr "" -#: doc/text/release.textile:74 +#: doc/text/release.textile:81 msgid "" "
\n"
+"!!!command_line\n"
 "$ make clean\n"
-"$ ruby1.8 -S rake build\n"
+"$ rake build\n"
 "
" msgstr "" -#: doc/text/release.textile:79 +#: doc/text/release.textile:87 msgid "h2. gem??????????" msgstr "" -#: doc/text/release.textile:81 +#: doc/text/release.textile:89 msgid "" "??gem???????????????????????????????????" "???????" msgstr "" -#: doc/text/release.textile:83 +#: doc/text/release.textile:91 msgid "" "
\n"
+"!!!command_line\n"
 "$ gem1.9.1 install pkg/????????-???????????????.gem --"
 "user-install\n"
 "
" msgstr "" -#: doc/text/release.textile:87 +#: doc/text/release.textile:96 msgid "" "????????????/home/(????)/.gem/ruby/1.9.1/gems/??????" "??-???????????????/???????????\n" "?????????????????????????????" msgstr "" -#: doc/text/release.textile:90 +#: doc/text/release.textile:99 msgid "" "
\n"
+"!!!command_line\n"
 "$ NO_MAKE=yes ruby1.9.1 test/run-test.rb\n"
 "
" msgstr "" -#: doc/text/release.textile:94 -msgid "h2. news.textile?????" +#: doc/text/release.textile:105 +msgid "h2. news.textile?????????????????" msgstr "" -#: doc/text/release.textile:96 -msgid "" -"news.textile????????ID?????????\n" -"???????????????????" +#: doc/text/release.textile:107 +msgid "????ID?????????????????????????????" msgstr "" -#: doc/text/release.textile:99 +#: doc/text/release.textile:109 msgid "" "
\n"
-"git log --reverse -p ????????????????..??????????"
+"!!!command_line\n"
+"git log --reverse -p ????????????????..???????????"
 "ID?\n"
 "
" msgstr "" -#: doc/text/release.textile:103 -msgid "" -"?????\"Author:\"????????????????????????????" -"??????????????????????\n" -"??????????????????????\n" -"?????????????????????\n" -"????????????????????Improvement,\n" -"????????Changes,\n" -"?????????????????????????????Fixes??????\n" -"?????????????[??]???????????Thanks??????" -msgstr "" - -#: doc/text/release.textile:111 -msgid "???????????????ja.po??????" -msgstr "" - -#: doc/text/release.textile:117 -msgid "" -"????ja.po??????msgid?????????????????msgstr??" -"??????????????\n" -"fuzzy???????????C-i????" +#: doc/text/release.textile:134 +msgid "????????????????????????????" msgstr "" -#: doc/text/release.textile:120 +#: doc/text/release.textile:143 msgid "h2. ????????push" msgstr "" -#: doc/text/release.textile:122 +#: doc/text/release.textile:145 msgid "???????????commit??git push???" msgstr "" -#: doc/text/release.textile:124 -msgid "h2. ???????????????" -msgstr "" - -#: doc/text/release.textile:126 +#: doc/text/release.textile:147 msgid "" -"????????????????????????????????git push?" -"??" +"h2. ????????????????rubygems.org??????????????" msgstr "" -#: doc/text/release.textile:128 +#: doc/text/release.textile:149 msgid "" -"
\n"
-"$ rake release:tag\n"
-"$ git push --tag\n"
-"
" +"??????????????????????????????????rubygems." +"org??????????" msgstr "" -#: doc/text/release.textile:133 -msgid "h2. rubygems.org?????????????" -msgstr "" - -#: doc/text/release.textile:135 -msgid "??????????????????????????" -msgstr "" - -#: doc/text/release.textile:137 +#: doc/text/release.textile:151 msgid "" "
\n"
-"$ ruby1.8 -S rake gemcutter:release\n"
+"!!!command_line\n"
+"$ rake release\n"
 "
" msgstr "" -#: doc/text/release.textile:141 +#: doc/text/release.textile:156 msgid "h2. rubyforge?????????????" msgstr "" -#: doc/text/release.textile:143 +#: doc/text/release.textile:158 msgid "????????????????????" msgstr "" -#: doc/text/release.textile:145 +#: doc/text/release.textile:160 msgid "" "
\n"
+"!!!command_line\n"
 "$ ruby1.8 -S rake release:rubyforge:upload\n"
 "$ ruby1.8 -S rake release:reference:publish\n"
 "
" msgstr "" -#: doc/text/release.textile:150 +#: doc/text/release.textile:166 msgid "" "rroonga??????index.html???rake release:html:publish????????" "??????rroonga???????????????????" msgstr "" -#: doc/text/release.textile:152 +#: doc/text/release.textile:168 msgid "" "
\n"
+"!!!command_line\n"
 "$ ruby1.9.1 -S rake release:html:publish\n"
 "
" msgstr "" -#: doc/text/release.textile:156 +#: doc/text/release.textile:173 msgid "h2. ????????????????" msgstr "" -#: doc/text/release.textile:158 +#: doc/text/release.textile:175 msgid "" "???????????????????????????\n" "??????????????????????????????????????" "??" msgstr "" -#: doc/text/release.textile:161 +#: doc/text/release.textile:178 msgid "h3.????????????" msgstr "" -#: doc/text/release.textile:163 +#: doc/text/release.textile:180 msgid "" "
\n"
 "?????"
 msgstr ""
 
-#: doc/text/release.textile:166
+#: doc/text/release.textile:183
 msgid ""
 "?????????????????????\n"
 "groonga?Ruby???????rroonga1.2.3??????????\n"
@@ -1303,14 +1359,14 @@ msgid ""
 "  http://groonga.rubyforge.org/index.html.ja#about-rroonga"
 msgstr ""
 
-#: doc/text/release.textile:171
+#: doc/text/release.textile:188
 msgid ""
 "???????????\n"
 "rroonga?Ruby???????groonga?????????????????\n"
 "????groonga???????????????????????"
 msgstr ""
 
-#: doc/text/release.textile:175
+#: doc/text/release.textile:192
 msgid ""
 "??????????????????????????????????????"
 "??????\n"
@@ -1320,53 +1376,53 @@ msgid ""
 "???"
 msgstr ""
 
-#: doc/text/release.textile:181
+#: doc/text/release.textile:198
 msgid ""
 "?????????????????\n"
 "??????:\n"
 "  % sudo gem install rroonga"
 msgstr ""
 
-#: doc/text/release.textile:185
+#: doc/text/release.textile:202
 msgid ""
 "????????????URL?\n"
 "irb????rroonga??????????????????"
 msgstr ""
 
-#: doc/text/release.textile:188
+#: doc/text/release.textile:205
 msgid "  http://groonga.rubyforge.org/rroonga/ja/file.tutorial.html"
 msgstr ""
 
-#: doc/text/release.textile:190
+#: doc/text/release.textile:207
 msgid ""
 "?http://groonga.rubyforge.org/rroonga/ja/file.news.html??????????"
 "???????????\n"
 "1.2.1???????????????"
 msgstr ""
 
-#: doc/text/release.textile:193
+#: doc/text/release.textile:210
 msgid "1.2.3: 2011-06-27"
 msgstr ""
 
-#: doc/text/release.textile:195
+#: doc/text/release.textile:212
 msgid ""
 "??\n"
 "    gem????????????????????????(*.o)????\n"
 "    ???????????????????????"
 msgstr ""
 
-#: doc/text/release.textile:199
+#: doc/text/release.textile:216
 msgid "1.2.2: 2011-06-27"
 msgstr ""
 
-#: doc/text/release.textile:201
+#: doc/text/release.textile:218
 msgid ""
 "??\n"
 "    ????????????????????\n"
 "    \"html:publish\"????\"publish\"???????????"
 msgstr ""
 
-#: doc/text/release.textile:205
+#: doc/text/release.textile:222
 msgid ""
 "??\n"
 "    Groonga::Record#attributes???????????????\n"
@@ -1376,7 +1432,7 @@ msgid ""
 "    NEWS*.rdoc?tutorial.texttile???????doc/text/????"
 msgstr ""
 
-#: doc/text/release.textile:212
+#: doc/text/release.textile:229
 msgid ""
 "??\n"
 "    ?????????????????????????????????\n"
@@ -1385,42 +1441,42 @@ msgid ""
 "    ???groonga???????URL???? [mallowlabs]"
 msgstr ""
 
-#: doc/text/release.textile:217
+#: doc/text/release.textile:234
 msgid ""
 "??\n"
 "    mallowlabs??\n"
 "
" msgstr "" -#: doc/text/release.textile:221 +#: doc/text/release.textile:238 msgid "h3. ???????????" msgstr "" -#: doc/text/release.textile:223 +#: doc/text/release.textile:240 msgid "" "
\n"
 "Everyone,"
 msgstr ""
 
-#: doc/text/release.textile:226
+#: doc/text/release.textile:243
 msgid ""
 "?rroonga?????????????????????\n"
 "We released rroonga 1.2.3."
 msgstr ""
 
-#: doc/text/release.textile:229
+#: doc/text/release.textile:246
 msgid ""
 "???????????URL????\n"
 "  http://groonga.rubyforge.org/#about-rroonga"
 msgstr ""
 
-#: doc/text/release.textile:232
+#: doc/text/release.textile:249
 msgid ""
 "?rroonga????\n"
 "rroonga is the library which ruby-binding for grronga."
 msgstr ""
 
-#: doc/text/release.textile:235
+#: doc/text/release.textile:252
 msgid ""
 "??????????????????????????????????\n"
 "Since ver.1.2.1 was released, we translated some documents\n"
@@ -1429,62 +1485,62 @@ msgid ""
 "installed, grronga is automatically installed."
 msgstr ""
 
-#: doc/text/release.textile:241
+#: doc/text/release.textile:258
 msgid ""
 "?????????????\n"
 "How to install:\n"
 "  % sudo gem install rroonga"
 msgstr ""
 
-#: doc/text/release.textile:245
+#: doc/text/release.textile:262
 msgid ""
 "?????????????URL??????\n"
 "There is the tutorial of rroonga with irb:"
 msgstr ""
 
-#: doc/text/release.textile:248
+#: doc/text/release.textile:265
 msgid "  http://groonga.rubyforge.org/rroonga/en/file.tutorial.html"
 msgstr ""
 
-#: doc/text/release.textile:250
+#: doc/text/release.textile:267
 msgid ""
 "?news.textile????????????????????????\n"
 "Please see below changes since ver.1.2.1."
 msgstr ""
 
-#: doc/text/release.textile:253
+#: doc/text/release.textile:270
 msgid "== 1.2.3: 2011-06-27"
 msgstr ""
 
-#: doc/text/release.textile:255 doc/text/release.textile:274
+#: doc/text/release.textile:272 doc/text/release.textile:291
 msgid "=== Fixes"
 msgstr ""
 
-#: doc/text/release.textile:257
+#: doc/text/release.textile:274
 msgid ""
 "* remove object files in gem packages.\n"
 "* fix charactor corruption in reference."
 msgstr ""
 
-#: doc/text/release.textile:260
+#: doc/text/release.textile:277
 msgid "== 1.2.2: 2011-06-27"
 msgstr ""
 
-#: doc/text/release.textile:262
+#: doc/text/release.textile:279
 msgid "=== Improvements"
 msgstr ""
 
-#: doc/text/release.textile:264
+#: doc/text/release.textile:281
 msgid ""
 "* created \"Developers\" page in English.\n"
 "* added description for tasks of \"html:publish\" and \"publish\"."
 msgstr ""
 
-#: doc/text/release.textile:267
+#: doc/text/release.textile:284
 msgid "=== Changes"
 msgstr ""
 
-#: doc/text/release.textile:269
+#: doc/text/release.textile:286
 msgid ""
 "* Groonga::Record#attributes return same attributes object for duplicate "
 "records.\n"
@@ -1493,22 +1549,22 @@ msgid ""
 "* moved NEWS*.rdoc and tutorial.texttile to doc/text/."
 msgstr ""
 
-#: doc/text/release.textile:276
+#: doc/text/release.textile:293
 msgid ""
 "* fixed the tutorial path in index page.\n"
 "* fixed the path of tutorial in index page in English.\n"
 "* follow the groonga downlowd URL change. [mallowlabs]"
 msgstr ""
 
-#: doc/text/release.textile:280
+#: doc/text/release.textile:297
 msgid "=== Thanks"
 msgstr ""
 
-#: doc/text/release.textile:282
+#: doc/text/release.textile:299
 msgid "* mallowlabs"
 msgstr ""
 
-#: doc/text/release.textile:284
+#: doc/text/release.textile:301
 msgid ""
 "--\n"
 "????????????\n"
@@ -1517,28 +1573,29 @@ msgid ""
 "
" msgstr "" -#: doc/text/release.textile:290 +#: doc/text/release.textile:307 msgid "h2. rubyforge????????" msgstr "" -#: doc/text/release.textile:292 +#: doc/text/release.textile:309 msgid "" "rroonga???????????????????\n" "???????????rubyforge?????????????" msgstr "" -#: doc/text/release.textile:295 +#: doc/text/release.textile:312 msgid "" "
\n"
+"!!!command_line\n"
 "$ rake releace:rubyforge:news:post\n"
 "
" msgstr "" -#: doc/text/release.textile:299 +#: doc/text/release.textile:317 msgid "h2. ??????????????????" msgstr "" -#: doc/text/release.textile:301 +#: doc/text/release.textile:319 msgid "" "rroonga?ext/groonga/rb-grn.h??????lib/????????/version.rb??" "??RB_GRN_MAJOR_VERSION,RB_GRN_MINOR_VERSION,RB_GRN_MICRO_VERSION?????" @@ -1550,7 +1607,9 @@ msgid "h1. Tutorial" msgstr "h1. ???????" #: doc/text/tutorial.textile:3 -msgid "We introduce how to use Packnga with Packnga's Rakefile in this page." +msgid "" +"We introduce how to use Packnga with Packnga's Rakefile and gemspec in this " +"page." msgstr "" "???????????Packnga?Rakefile?????Packnga??????????" "??" @@ -1565,17 +1624,152 @@ msgstr "h2. ????????" #: doc/text/tutorial.textile:16 msgid "" -"Before using Packnga, you should create @spec@ variable with Jeweler::Task." -"new.\n" -"Packnga create tasks with @spec at .\n" -"Please see below example." +"Before using Packnga, you should create @spec@ variable with\n" +" Gem::Specification.new or Jeweler::Tasks.new.\n" +"Packnga create tasks with @spec@ in Rakefile." msgstr "" -"Packnga????????Jeweler::Tasks.new?????? @spec@ ????????" -"? @spec@ ????Packnga??????????????????????" +"Packnga????????Gem::Specification.new?????? @spec@ ?????" +"???? @spec@ ????Packnga??????????????????????" #: doc/text/tutorial.textile:20 +msgid "h3. Create spec with Gem::Specification.new" +msgstr "h3. Gem::Specification.new????????spec???" + +#: doc/text/tutorial.textile:22 +msgid "" +"We introduce to create @spec@ with Gem::Specification.new in a gemspec " +"file.\n" +"Please see below gemspec example with Gem::Specification.new." +msgstr "" +"????gemspec??????Gem::Specification.new????????spec????" +"??????????\n" +"???????????" + +#: doc/text/tutorial.textile:25 msgid "" "
\n"
+"!!!ruby\n"
+"version = Packnga::VERSION.dup"
+msgstr ""
+
+#: doc/text/tutorial.textile:29
+msgid ""
+"readme_path = File.join(base_dir, \"README.textile\")\n"
+"entries = File.read(readme_path).split(/^h2\\.\\s(.*)$/)\n"
+"entry = lambda do |entry_title|\n"
+"  entries[entries.index(entry_title) + 1]\n"
+"end"
+msgstr ""
+
+#: doc/text/tutorial.textile:35
+msgid ""
+"authors = []\n"
+"emails = []\n"
+"entry.call(\"Authors\").each_line do |line|\n"
+"  if /\\*\\s*(.+)\\s<([^<>]*)>$/ =~ line\n"
+"    authors << $1\n"
+"    emails << $2\n"
+"  end\n"
+"end"
+msgstr ""
+
+#: doc/text/tutorial.textile:44
+msgid ""
+"clean_white_space = lambda do |entry|\n"
+"  entry.gsub(/(\\A\\n+|\\n+\\z)/, '') + \"\\n\"\n"
+"end\n"
+"description = clean_white_space.call(entry.call(\"Description\"))\n"
+"summary, description = description.split(/\\n\\n+/, 2)"
+msgstr ""
+
+#: doc/text/tutorial.textile:50
+msgid ""
+"Gem::Specification.new do |s|\n"
+"  s.name = \"packnga\"\n"
+"  s.version = version\n"
+"  s.authors = authors\n"
+"  s.email = emails\n"
+"  s.summary = summary\n"
+"  s.description = description"
+msgstr ""
+
+#: doc/text/tutorial.textile:58
+msgid ""
+"  s.extra_rdoc_files = [\"README.textile\"]\n"
+"  s.files = [\"README.textile\", \"Rakefile\", \"Gemfile\"]\n"
+"  Dir.chdir(base_dir) do\n"
+"    s.files += Dir.glob(\"lib/**/*.rb\")\n"
+"    s.files += Dir.glob(\"doc/text/*.*\")\n"
+"  end"
+msgstr ""
+
+#: doc/text/tutorial.textile:65
+msgid ""
+"  s.homepage = \"http://groonga.rubyforge.org/\"\n"
+"  s.licenses = [\"LGPLv2\"]\n"
+"  s.require_paths = [\"lib\"]\n"
+"  s.rubyforge_project = \"groonga\""
+msgstr ""
+
+#: doc/text/tutorial.textile:70
+msgid ""
+"  s.add_runtime_dependency(\"rake\")\n"
+"  s.add_runtime_dependency(\"yard\")\n"
+"  s.add_runtime_dependency(\"rubyforge\")\n"
+"  s.add_runtime_dependency(\"gettext\")\n"
+"  s.add_development_dependency(\"test-unit\")\n"
+"  s.add_development_dependency(\"test-unit-notify\")\n"
+"  s.add_development_dependency(\"bundler\")\n"
+"  s.add_development_dependency(\"RedCloth\")\n"
+"end\n"
+"
" +msgstr "" + +#: doc/text/tutorial.textile:81 +msgid "" +"If you set the attribute @rubyforge_project@ of @spec@ value,\n" +"\"Packnga::ReleaseTask\" class creates tasks for rubyforge." +msgstr "" +"??? @spec@ ?? @rubyforge_project@ ??????????? @ReleaseTask@ " +"????? @Rubyforge@ ???????????????????" + +#: doc/text/tutorial.textile:84 +msgid "" +"Next, we should get @spec@ value in Rakefile from gemspec,\n" +" so we write below source code in Rakefile." +msgstr "" +"???Rakefile?gemspec?????????spec???????\n" +"?????????Rakefile????spec????????" + +#: doc/text/tutorial.textile:87 +msgid "" +"
\n"
+"!!!ruby\n"
+"helper = Bundler::GemHelper.new(base_dir)\n"
+"helper.install\n"
+"spec = helper.gemspec\n"
+"
" +msgstr "" + +# @param [Jeweler::Task] spec +#: doc/text/tutorial.textile:94 +msgid "h3. Create spec with Jeweler::Tasks.new" +msgstr "Jeweler::Task.new???????????????" + +#: doc/text/tutorial.textile:96 +msgid "" +"If you want to create @spec@ with Jeweler::Tasks.new in your Rakefile,\n" +"please see below example.\n" +"This source code is written in old Packnga's Rakefile." +msgstr "" +"Rakefile?Jeweler::Tasks.new????????spec??????????????" +"??????\n" +"????????Packnga????Rakefile????????????" + +#: doc/text/tutorial.textile:100 +msgid "" +"
\n"
+"!!!ruby\n"
 "spec = nil\n"
 "Jeweler::Tasks.new do |_spec|\n"
 "  spec = _spec\n"
@@ -1600,35 +1794,24 @@ msgid ""
 "
" msgstr "" -#: doc/text/tutorial.textile:43 -msgid "" -"If you set the attribute @rubyforge_project@ of @spec@,\n" -"@Release Task@ create tasks for rubyforge.\n" -"See below in detail." -msgstr "" -"??? @spec@ ?? @rubyforge_project@ ??????????? @ReleaseTask@ " -"????? @Rubyforge@ ???????????????????" - -#: doc/text/tutorial.textile:47 +#: doc/text/tutorial.textile:124 msgid "h2. Create tasks" msgstr "??????" -#: doc/text/tutorial.textile:49 +#: doc/text/tutorial.textile:126 msgid "" "Packnga's classes has charge of each tasks.\n" -"They are given block with .new method in order to set parameters of tasks.\n" "This table describes Packnga's classes." msgstr "" -"Packnga???????????????????????????????????" -"????????????????????Packnga???????????????" -"????????????????" +"Packnga?????????????????????????Packnga??????" +"?????????????????????????" -#: doc/text/tutorial.textile:53 +#: doc/text/tutorial.textile:129 msgid "" "- Packnga::DocumentTask :=\n" " This class create tasks for generating references.\n" -" It define tasks to generate YARD documentation, po files, and \n" -" to translate documents by po files.\n" +" It define tasks to generate YARD documentation and po files.\n" +" It also defines tasks to translate documents with po files.\n" " =:" msgstr "" "- Packnga::DocumentTask :=\n" @@ -1637,13 +1820,13 @@ msgstr "" "????????????????????\n" " =:" -#: doc/text/tutorial.textile:59 +#: doc/text/tutorial.textile:135 msgid "" "- Packnga::ReleaseTask :=\n" " This class create tasks for uploading references and package and preparing " "to upload them.\n" -" It defines task to tag the current version in git and task to user-install " -"gem for test.\n" +" It defines a task to tag the current version in git and a task to user-" +"install gem for test.\n" " It also create tasks for uploading rubyforge if you set " "@rubyforge_project@ in @spec@ .\n" " =:" @@ -1655,11 +1838,11 @@ msgstr "" "????rubyforge??????????????????????\n" " =:" -#: doc/text/tutorial.textile:65 -msgid "See below for creating tasks." +#: doc/text/tutorial.textile:141 +msgid "Please see below for creating tasks." msgstr "??????????????????????????" -#: doc/text/tutorial.textile:67 +#: doc/text/tutorial.textile:143 msgid "" "
\n"
 "Packnga::DocumentTask.new(spec)\n"
@@ -1667,28 +1850,31 @@ msgid ""
 "
" msgstr "" -#: doc/text/tutorial.textile:72 +#: doc/text/tutorial.textile:148 msgid "h3. Set the document path." msgstr "??????????????" -#: doc/text/tutorial.textile:74 +#: doc/text/tutorial.textile:150 msgid "" "You can set parameters with block when creating object of Packnga::" "DocumentTask and Releasetask.\n" -"For example, We introduce to how to set document base directory.\n" +"For example, We introduce to how to set base directory for document.\n" "Document is created in this directory.\n" -"You can write Rakefile to set this directory path, see below.\n" -"NOTE: Please set same path to each clasess." +"You can write Rakefile to set this directory path, see below." msgstr "" "DocumentTask?ReleaseTask??????????????????????????" -"??????????????????????????????????????" -"??????????????????????????????????????" -"???????????????????????????????????" -"Rakefile???????\n" +"???????????\n" +"??????????????????????????????????????" +"??????????????????????????????????????" +"????????????????????????Rakefile???????" + +#: doc/text/tutorial.textile:155 +msgid "NOTE: Please set same path to each clasess." +msgstr "" "?????????????????????????????????????" -"??\n" +"??" -#: doc/text/tutorial.textile:80 +#: doc/text/tutorial.textile:157 msgid "" "
\n"
 "Packnga::DocumentTask.new(spec) do |task|\n"
@@ -1696,7 +1882,7 @@ msgid ""
 "end"
 msgstr ""
 
-#: doc/text/tutorial.textile:85
+#: doc/text/tutorial.textile:162
 msgid ""
 "Packnga::ReleaseTask.new(spec) do |task|\n"
 "  task.base_dir = \"doc/\"\n"
@@ -1704,7 +1890,7 @@ msgid ""
 "
" msgstr "" -#: doc/text/tutorial.textile:90 +#: doc/text/tutorial.textile:167 msgid "" "You can set other parameters.\n" "Please see Packnga's reference manual in detail." @@ -1717,7 +1903,7 @@ msgstr "" #: lib/packnga/release-task.rb:3 lib/packnga/version.rb:3 #: lib/packnga/yard-task.rb:3 msgid "" -"Copyright (C) 2011 yoshihara haruka \n" +"Copyright (C) 2011 Haruka Yoshihara \n" "Copyright (C) 2011 Kouhei Sutou " msgstr "" @@ -1756,7 +1942,7 @@ msgstr "" #: lib/packnga/document-task.rb:25 msgid "" "This class creates tasks for document.\n" -"They generate YARD doucment or references." +"They generate YARD document or references." msgstr "" "?????????????????????????\n" "???????YARD????????????????????????" @@ -1766,14 +1952,17 @@ msgstr "" msgid "" "Defines tasks to generate YARD documentation\n" "and to translate references." -msgstr "" -"YARD????????????????????????????????????" +msgstr "YARD???????????????????????????????????" -# @yieldparam [Packnga::DocumentTask] _self -# @yieldparam [Packnga::ReleaseTask] _self +# @param [Gem::Specification] spec #: lib/packnga/document-task.rb:33 lib/packnga/release-task.rb:53 -msgid "the object that the method was called on" -msgstr "" +msgid "specification for your package" +msgstr "?????????????????????????" + +# @return [DocumentTask] +#: lib/packnga/document-task.rb:33 +msgid "a new instance of DocumentTask" +msgstr "DocumentTask???????" # @param [Gem::Specification] # @param [Jeweler::Task] @@ -1781,28 +1970,22 @@ msgstr "" msgid "tag|param|spec" msgstr "" -# @param [Jeweler::Task] spec -#: lib/packnga/document-task.rb:33 -msgid "created object by Jeweler::Task.new" -msgstr "Jeweler::Task.new???????????????" - -# @return [DocumentTask] -#: lib/packnga/document-task.rb:33 -msgid "a new instance of DocumentTask" -msgstr "" - # @yieldparam [Packnga::DocumentTask] # @yieldparam [Packnga::ReleaseTask] #: lib/packnga/document-task.rb:33 lib/packnga/release-task.rb:53 msgid "tag|yieldparam|_self" msgstr "" +# @yieldparam [Packnga::DocumentTask] _self +# @yieldparam [Packnga::ReleaseTask] _self +#: lib/packnga/document-task.rb:33 lib/packnga/release-task.rb:53 +msgid "the object that the method was called on" +msgstr "" + # Packnga::DocumentTask#base_dir= #: lib/packnga/document-task.rb:43 msgid "Sets base directory for documents. Default value is \"doc\"." -msgstr "" -"??????????????????????????????????\"doc\"?" -"??" +msgstr "??????????????????????????????????\"doc\"??" # @param [String] #: lib/packnga/document-task.rb:44 @@ -1812,29 +1995,26 @@ msgstr "" # @param [String] dir #: lib/packnga/document-task.rb:44 msgid "base direcory path" -msgstr "" +msgstr "????????????" # Packnga::DocumentTask#yard #: lib/packnga/document-task.rb:51 msgid "Runs block to task for YARD documentation." -msgstr "" -"???????????????YARD?????????????????????" -"??????" +msgstr "??????????????????YARD??????????????????????????" # Packnga::DocumentTask#reference #: lib/packnga/document-task.rb:56 msgid "Runs block to tasks for references." -msgstr "" -"??????????????????????????????????????" +msgstr "????????????????????????????????????????" # @since -#: lib/packnga/document-task.rb:74 lib/packnga/reference-task.rb:352 -#: lib/packnga/release-task.rb:228 lib/packnga/yard-task.rb:121 +#: lib/packnga/document-task.rb:110 lib/packnga/reference-task.rb:363 +#: lib/packnga/release-task.rb:228 lib/packnga/yard-task.rb:112 msgid "0.9.0" msgstr "" # Packnga::ReferenceTask -#: lib/packnga/reference-task.rb:25 +#: lib/packnga/reference-task.rb:26 msgid "" "This class creates reference tasks.\n" "They generate, translate and prepare to publish references." @@ -1842,21 +2022,113 @@ msgstr "" "??????????????????????????????????????" "?????????????????????????????????????" +# Packnga::ReleaseTask#base_dir= +#: lib/packnga/reference-task.rb:34 lib/packnga/yard-task.rb:34 +msgid "This attribute is used to set path of base directory of document." +msgstr "???????????????????????????" + # @param [String] value # @return [String] -#: lib/packnga/reference-task.rb:33 lib/packnga/release-task.rb:36 +#: lib/packnga/reference-task.rb:35 lib/packnga/release-task.rb:36 +#: lib/packnga/yard-task.rb:35 msgid "path of base directory of document" msgstr "???????????????????" +# Packnga::YARDTask#readme +#: lib/packnga/reference-task.rb:38 +msgid "This attribute is used to set README file." +msgstr "?????yardoc????????Readme??????????????" + +# @return [String] +#: lib/packnga/reference-task.rb:39 lib/packnga/yard-task.rb:31 +msgid "path of readme file" +msgstr "Readme???????" + +# Packnga::YARDTask#readme +#: lib/packnga/reference-task.rb:42 lib/packnga/yard-task.rb:38 +msgid "This attribute is used to set source files for document." +msgstr "?????yardoc?????????????????????????" + +# @return [Array] +#: lib/packnga/reference-task.rb:43 lib/packnga/yard-task.rb:39 +msgid "target source files" +msgstr "???????????????????????????" + +# Packnga::YARDTask#readme +#: lib/packnga/reference-task.rb:46 lib/packnga/yard-task.rb:42 +msgid "This attribute is used to set text files for document." +msgstr "?????yardoc??????????????????????????" + +# @return [Array] +#: lib/packnga/reference-task.rb:47 lib/packnga/yard-task.rb:43 +msgid "target text files" +msgstr "?????????????????????" + # @return [ReferenceTask] -#: lib/packnga/reference-task.rb:36 +#: lib/packnga/reference-task.rb:50 msgid "a new instance of ReferenceTask" -msgstr "" +msgstr "ReferenceTask???????" # Packnga::ReferenceTask#htaccess -#: lib/packnga/reference-task.rb:61 +#: lib/packnga/reference-task.rb:72 msgid "path of .htaccess." -msgstr ".htaccess???????" +msgstr ".htaccess?????????????" + +# YARD +#: lib/packnga/reference-task.rb:390 +msgid "" +"XXX: This module is the re-definition of YARD module.\n" +"this module should be deleted in the next release of YARD." +msgstr "" + +# @param [Hash] +# @param [String] +#: lib/packnga/reference-task.rb:604 lib/packnga/reference-task.rb:730 +#: lib/packnga/reference-task.rb:732 lib/packnga/release-task.rb:33 +#: lib/packnga/release-task.rb:36 lib/packnga/release-task.rb:39 +#: lib/packnga/release-task.rb:42 lib/packnga/release-task.rb:46 +msgid "tag|param|value" +msgstr "" + +# @param value +#: lib/packnga/reference-task.rb:604 +msgid "the value to set the attribute attributes to." +msgstr "" + +# YARD::CodeObjects::ExtraFileObject#attributes= +#: lib/packnga/reference-task.rb:605 +msgid "Sets the attribute attributes" +msgstr "" + +# YARD::CodeObjects::ExtraFileObject#locale +#: lib/packnga/reference-task.rb:606 +msgid "Returns the value of attribute locale" +msgstr "" + +# @return [ExtraFileObject] +#: lib/packnga/reference-task.rb:607 +msgid "a new instance of ExtraFileObject" +msgstr "" + +# @param value +#: lib/packnga/reference-task.rb:730 lib/packnga/reference-task.rb:732 +msgid "the value to set the attribute po_dir to." +msgstr "" + +# YARD::Registry.po_dir +#: lib/packnga/reference-task.rb:731 lib/packnga/reference-task.rb:734 +msgid "Returns the value of attribute po_dir" +msgstr "" + +# YARD::Registry.po_dir= +#: lib/packnga/reference-task.rb:731 lib/packnga/reference-task.rb:733 +msgid "Sets the attribute po_dir" +msgstr "" + +# @return [RegistryStore] +#: lib/packnga/reference-task.rb:741 +msgid "a new instance of RegistryStore" +msgstr "" # Packnga::ReleaseTask #: lib/packnga/release-task.rb:23 @@ -1880,14 +2152,6 @@ msgid "This attribute is path of HTML files written version and release date." msgstr "" "?????????????????????HTML?????????????" -# @param [Hash] -# @param [String] -#: lib/packnga/release-task.rb:33 lib/packnga/release-task.rb:36 -#: lib/packnga/release-task.rb:39 lib/packnga/release-task.rb:42 -#: lib/packnga/release-task.rb:46 -msgid "tag|param|value" -msgstr "" - # @param [String] value #: lib/packnga/release-task.rb:33 msgid "path of HTML files" @@ -1948,15 +2212,10 @@ msgstr "" "rubyforge_project?????????rubyforge????????????????" "???????" -# @param [Jeweler::Task] spec -#: lib/packnga/release-task.rb:53 -msgid "created by Jeweler::Task.new." -msgstr "Jeweler::Task.new???????????????" - # @return [ReleaseTask] #: lib/packnga/release-task.rb:53 msgid "a new instance of ReleaseTask" -msgstr "" +msgstr "ReleaseTask???????" # Packnga::VERSION #: lib/packnga/version.rb:21 @@ -1972,37 +2231,30 @@ msgstr "" "??????YARD???????????????????YARD?????????" "????????" -# @return [String] -#: lib/packnga/yard-task.rb:32 -msgid "path of base directory of document." -msgstr "????????????????????" - -# @return [Array] -#: lib/packnga/yard-task.rb:35 -msgid "document target files." -msgstr "????????????????????????" +# Packnga::YARDTask#readme +#: lib/packnga/yard-task.rb:30 +msgid "This attribute is used to set README file to yardoc task." +msgstr "?????yardoc????????Readme?????????????" # @return [Array] -#: lib/packnga/yard-task.rb:38 -msgid "custom yardoc command line options." +#: lib/packnga/yard-task.rb:46 +msgid "custom yardoc command line options" msgstr "yardoc????????????????" # @return [YARDTask] -#: lib/packnga/yard-task.rb:41 +#: lib/packnga/yard-task.rb:49 msgid "a new instance of YARDTask" -msgstr "" - -# Packnga::YARDTask#readme -#: lib/packnga/yard-task.rb:58 -msgid "This attribute is used to sets README file to yardoc task." -msgstr "?????yardoc????????Readme?????????????" - -# @return [String] -#: lib/packnga/yard-task.rb:59 -msgid "path to readme file" -msgstr "Readme???????" +msgstr "YARDTask???????" # Packnga::YARDTask#before_define -#: lib/packnga/yard-task.rb:75 +#: lib/packnga/yard-task.rb:71 msgid "Regists yardoc parameters with block." -msgstr "??????????yardoc?????????????????????" +msgstr "??????????yardoc??????????????????????" + +# @param [Jeweler::Task] spec +#~ msgid "created by Jeweler::Task.new." +#~ msgstr "Jeweler::Task.new???????????????" + +# @return [String] +#~ msgid "path of base directory of document." +#~ msgstr "????????????????????" -------------- next part -------------- An HTML attachment was scrubbed... URL: From null+ranguba at clear-code.com Thu Aug 30 07:36:15 2012 From: null+ranguba at clear-code.com (Haruka Yoshihara) Date: Thu, 30 Aug 2012 16:36:15 +0900 Subject: [groonga-commit:4671] ranguba/packnga [master] reference-task: ensure the reference directory existing Message-ID: <20120830073627.D0FB6940BC3@jenkins.clear-code.com> Haruka Yoshihara 2012-08-30 16:36:15 +0900 (Thu, 30 Aug 2012) New Revision: fc7031a8c12495a10abcaae26c0051c497539b88 https://github.com/ranguba/packnga/commit/fc7031a8c12495a10abcaae26c0051c497539b88 Log: reference-task: ensure the reference directory existing Modified files: lib/packnga/reference-task.rb Modified: lib/packnga/reference-task.rb (+1 -0) =================================================================== --- lib/packnga/reference-task.rb 2012-08-30 16:22:22 +0900 (c3d5077) +++ lib/packnga/reference-task.rb 2012-08-30 16:36:15 +0900 (9c2d567) @@ -170,6 +170,7 @@ module Packnga end def define_translate_task + directory reference_base_dir.to_s namespace :translate do @translate_languages.each do |language| po_file = "#{@po_dir}/#{language}.po" -------------- next part -------------- An HTML attachment was scrubbed... URL: From null+ranguba at clear-code.com Thu Aug 30 09:24:06 2012 From: null+ranguba at clear-code.com (Haruka Yoshihara) Date: Thu, 30 Aug 2012 18:24:06 +0900 Subject: [groonga-commit:4672] ranguba/packnga [master] reference-task: add the patch to translate documents Message-ID: <20120830092418.DC94A940BC3@jenkins.clear-code.com> Haruka Yoshihara 2012-08-30 18:24:06 +0900 (Thu, 30 Aug 2012) New Revision: f3216848fa50eb4610bc06d236df32e357057d76 https://github.com/ranguba/packnga/commit/f3216848fa50eb4610bc06d236df32e357057d76 Log: reference-task: add the patch to translate documents This patch should be deleted after pull request #594 to lsegal/yard repository is merged and released. https://github.com/lsegal/yard/pull/594 Modified files: lib/packnga/reference-task.rb Modified: lib/packnga/reference-task.rb (+18 -0) =================================================================== --- lib/packnga/reference-task.rb 2012-08-30 16:36:15 +0900 (9c2d567) +++ lib/packnga/reference-task.rb 2012-08-30 18:24:06 +0900 (f683ced) @@ -375,6 +375,24 @@ module Packnga end end +# XXX: This module is the patch to translate documents. +# This module should be deleted after +# https://github.com/lsegal/yard/pull/594 is merged and released. +# @private +module YARD + # @private + module I18n + # @private + class Locale + def translate(message) + return message if @messages[message].nil? + return message if @messages[message].empty? + @messages[message] + end + end + end +end + # XXX: This module is the re-definition of YARD module. # this module should be deleted in the next release of YARD. # @private -------------- next part -------------- An HTML attachment was scrubbed... URL: From null+ranguba at clear-code.com Thu Aug 30 09:39:56 2012 From: null+ranguba at clear-code.com (Haruka Yoshihara) Date: Thu, 30 Aug 2012 18:39:56 +0900 Subject: [groonga-commit:4673] ranguba/packnga [master] Update version Message-ID: <20120830094015.39244940BC3@jenkins.clear-code.com> Haruka Yoshihara 2012-08-30 18:39:56 +0900 (Thu, 30 Aug 2012) New Revision: 069750efdd40fe3370c5c230661e20b4f71e927c https://github.com/ranguba/packnga/commit/069750efdd40fe3370c5c230661e20b4f71e927c Log: Update version Modified files: lib/packnga/version.rb Modified: lib/packnga/version.rb (+1 -1) =================================================================== --- lib/packnga/version.rb 2012-08-30 18:24:06 +0900 (4700f74) +++ lib/packnga/version.rb 2012-08-30 18:39:56 +0900 (602257f) @@ -18,5 +18,5 @@ module Packnga # Packnga version. - VERSION = "0.9.5" + VERSION = "0.9.6" end -------------- next part -------------- An HTML attachment was scrubbed... URL: From null+ranguba at clear-code.com Fri Aug 31 08:51:03 2012 From: null+ranguba at clear-code.com (Haruka Yoshihara) Date: Fri, 31 Aug 2012 17:51:03 +0900 Subject: [groonga-commit:4674] ranguba/ranguba.org [gh-pages] Add index.html Message-ID: <20120831085118.BA20A94027A@jenkins.clear-code.com> Haruka Yoshihara 2012-08-31 17:51:03 +0900 (Fri, 31 Aug 2012) New Revision: 38cd607cbf99258212dfa58149b366bfcef56f53 https://github.com/ranguba/ranguba.org/commit/38cd607cbf99258212dfa58149b366bfcef56f53 Log: Add index.html Added files: index.html Added: index.html (+387 -0) 100644 =================================================================== --- /dev/null +++ index.html 2012-08-31 17:51:03 +0900 (fb83295) @@ -0,0 +1,387 @@ + + + + + + + + + Fulltext search by Ruby with groonga - Ranguba + + + + +
+
+

The Ranguba project

+

+ The Ranguba project is a project to provide a fulltext search system built on groonga. Groonga is a fast fulltext search engine with culumn store. The project provides libraries to use groonga features, text extraction utility, search Web interface and so on. Here are provided features: +

+
    +
  • rroonga: A library to use groonga features from Ruby.
  • +
  • ActiveGroonga: A library to use rroonga easily from Web applications.
  • +
  • ActiveGroonga Fabrication: A library that adds ActiveGroonga support to Fabrication.
  • +
  • racknga: Utilities for building and operating a search Web application.
  • +
  • Packnga: An utility library to package i18n-ed library.
  • +
  • ChupaText: A text extract utility.
  • +
  • ChupaRuby: A library to use ChupaText features from Ruby.
  • +
  • Document Search Ranguba: A fulltext search system.
  • +
+

+ There are additional informations about the project. +

+ + +

rroonga

+

+ Rroonga provides groonga's DB-API layer features to Ruby. Features specialized to Web applications built on rroonga are provided by ActiveGroonga. Convenience features for search Web applications are provided by racknga. All of them have the same merit that you can use groonga features via Rubyish useful API. +

+ +

rroonga: The latest release

+

+ 2.0.4 is the latest release. It had been released at 2012-05-02. +

+ +

rroonga: Install

+

+ You can install by RubyGems. If you don't have groonga, it is downloaded and built automatically. +

+
% sudo gem install rroonga
+ +

rroonga: Document

+

+ There are a reference manual and a tutorial. +

+ + +

ActiveGroonga

+

+ ActiveGroonga is a library that provides more easy-to-use fulltext search and data store features. ActiveGroonga is built on rroonga. + You can access to your data administrated by groonga via ActiveRecord like API. +

+

+ ActiveGroonga supports Ruby on Rails. You can develop a Rails application that uses groonga instead of RDB as data store and has rich fulltext search feature. + You can still use the current Rails application knowledge because ActiveGroonga has the following features: +

    +
  • Migration
  • +
  • Validation
  • +
  • Relation
  • +
+

+ +

ActiveGroonga: The latest release

+

+ 1.0.7 is the latest release. It had been released at 2011-11-29. +

+ +

ActiveGroonga: Install

+

+ You can install by RubyGems. +

+
% sudo gem install activegroonga
+ +

ActiveGroonga: Document

+

+ There is a reference manual. +

+ + +

ActiveGroonga Fabrication

+

+ ActiveGroonga Fabrication??????????????Fabrication?ActiveGroonga??????????????????????? +

+ +

ActiveGroonga Fabrication???????

+

+ 2011-04-01????????1.0.0?????? +

+ +

ActiveGroonga Fabrication???????

+

+ ActiveGroonaga Fabrication?RubyGems???????????? +

+
% sudo gem install activegroonga-fabrication
+ +

ActiveGroonga Fabrication???????

+

+ RDoc??????????????????? + ??????require???ActiveRecord?????????Fabrication?????? +

+
require "active_groonga_fabrication"
+ + + +

racknga

+

+ racknga is a library that provides Rack middlewares and utilities for Rack based Web application. Some of them are based on rroonga. +

+ +

racknga: The latest release

+

+ 0.9.3 is the latest release. It had been released at 2011-11-12. +

+ +

racknga: Install

+

+ You can install by RubyGems. +

+
% sudo gem install racknga
+ +

racknga: Document

+

+ There is a reference manual. +

+ + +

Packnga

+

+ Packnga is An utility library to package i18n-ed library. +

+ +

Packnga: The latest release

+

+ 0.9.5 is the latest release. It had been released at 2012-08-30. +

+ +

Packnga: Install

+

+ You can install by RubyGems. +

+
% sudo gem install packnga
+ +

Packnga: Document

+

+ There is a reference manual. +

+ + +

ChupaText

+

+ ChupaText??????????PDF?????????????????????????????????????????????????Web?????????????? +

+ +

ChupaText???????

+

+ 2011-02-09????????0.9.0?????? +

+

+ [??????] + [???] +

+ +

ChupaText???????

+

+ ChupaText???????????????? +

+ +

ChupaText???????

+

+ ChupaText?????????????????????? +

+ +

ChupaRuby

+

+ ChupaRuby?????????ChupaText????Ruby????????????????? +

+ +

ChupaRuby???????

+

+ 2010-11-08????????0.5.0?????? +

+ +

ChupaRuby???????

+

+ ChupaRuby?RubyGems???????????????????ChupaText??????????????????? +

+
% sudo gem install chuparuby
+ +

ChupaRuby???????

+

+ ChupaRuby?????????????? + ??????????????????? +

+
    + +
  • ChupaRuby????????????
  • +
+ +

????????

+

+ ?????????groonga??????????????????????????????????????????????????????????? +

+ +

????????

+

+ ?????? +

+ + +

+ The Ranguba project provides logos for rroonga. You can use them under the CC-BY 3.0 license. Notation of the author is "The Ranguba project" or "The groonga project". +

+ +

+ If you are using rroonga on your project, please use our logo and spread mroonga! :-) +

+ + +

+ + A rroonga logo + +

+

+ (232x73) + (SVG version) +

+ +

A white foreground rroonga logo

+

+ + A white foreground rroonga logo + +

+

+ (232x73) + (SVG version) +

+ +

A rroonga icon

+

+ + A rroonga icon + +

+

+ (60x60) + (SVG version) +

+ +

A white foreground rroonga icon

+

+ + A white foreground rroonga icon + +

+

+ (60x60) + (SVG version) +

+ +

A rroonga icon (full size version)

+

+ + A rroonga icon (full size version) + +

+

+ (200x201) + (SVG version) +

+ +

License

+

+ rroonga, ActiveGroonga, racknga and ChupaText are free softwares; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation. +

+ +

+ rroonga, ActiveGroonga, racknga and ChupaText are distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License 2.1 for more details. +

+
+ + +
+ + + + -------------- next part -------------- An HTML attachment was scrubbed... URL: From null+ranguba at clear-code.com Fri Aug 31 09:13:59 2012 From: null+ranguba at clear-code.com (Haruka Yoshihara) Date: Fri, 31 Aug 2012 18:13:59 +0900 Subject: [groonga-commit:4675] ranguba/ranguba.org [gh-pages] Add images Message-ID: <20120831091507.82A3C94027A@jenkins.clear-code.com> Haruka Yoshihara 2012-08-31 18:13:59 +0900 (Fri, 31 Aug 2012) New Revision: b4d2fe754c21b4fbd7d576384ccaa6a439b5cc00 https://github.com/ranguba/ranguba.org/commit/b4d2fe754c21b4fbd7d576384ccaa6a439b5cc00 Log: Add images Added files: bar.png bar.svg developer.png developer.svg download.png download.svg famfamfam-logo.png favicon.ico favicon.png favicon.svg github-logo.png heading-mark.png heading-mark.svg install.png install.svg jp.png logo.png logo.svg readme.png readme.svg reference.png rubyforge.png tango-logo.png tutorial.png tutorial.svg us.png Added: bar.png (+0 -0) 100644 =================================================================== (Binary files differ) Added: bar.svg (+153 -0) 100644 =================================================================== --- /dev/null +++ bar.svg 2012-08-31 18:13:59 +0900 (b523957) @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + Added: developer.png (+0 -0) 100644 =================================================================== (Binary files differ) Added: developer.svg (+469 -0) 100644 =================================================================== --- /dev/null +++ developer.svg 2012-08-31 18:13:59 +0900 (f5df03d) @@ -0,0 +1,469 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + Jakub Steiner + + + http://jimmac.musichall.cz + + Preferences System + + + preferences + settings + control panel + tweaks + system + + + + + + + + + + + + + + + + + + + + + + + + + + Added: download.png (+0 -0) 100644 =================================================================== (Binary files differ) Added: download.svg (+253 -0) 100644 =================================================================== --- /dev/null +++ download.svg 2012-08-31 18:13:59 +0900 (700f805) @@ -0,0 +1,253 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + Jakub Steiner + + + http://jimmac.musichall.cz + + Go Down + + + go + lower + down + arrow + pointer + > + + + + + Andreas Nilsson + + + + + + + + + + + + + + + + + Added: famfamfam-logo.png (+0 -0) 100644 =================================================================== (Binary files differ) Added: favicon.ico (+0 -0) 100644 =================================================================== (Binary files differ) Added: favicon.png (+0 -0) 100644 =================================================================== (Binary files differ) Added: favicon.svg (+109 -0) 100644 =================================================================== --- /dev/null +++ favicon.svg 2012-08-31 18:13:59 +0900 (29aa213) @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + Added: github-logo.png (+0 -0) 100644 =================================================================== (Binary files differ) Added: heading-mark.png (+0 -0) 100644 =================================================================== (Binary files differ) Added: heading-mark.svg (+393 -0) 100644 =================================================================== --- /dev/null +++ heading-mark.svg 2012-08-31 18:13:59 +0900 (653cbfd) @@ -0,0 +1,393 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + Jakub Steiner + + + http://jimmac.musichall.cz + + + + + + + + + + + + + + + Added: install.png (+0 -0) 100644 =================================================================== (Binary files differ) Added: install.svg (+636 -0) 100644 =================================================================== --- /dev/null +++ install.svg 2012-08-31 18:13:59 +0900 (ef21d6d) @@ -0,0 +1,636 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + System - Installer + + + jakub Steiner + + + http://jimmac.musichall.cz + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Added: jp.png (+0 -0) 100644 =================================================================== (Binary files differ) Added: logo.png (+0 -0) 100644 =================================================================== (Binary files differ) Added: logo.svg (+612 -0) 100644 =================================================================== --- /dev/null +++ logo.svg 2012-08-31 18:13:59 +0900 (6f0c60b) @@ -0,0 +1,612 @@ + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: readme.png (+0 -0) 100644 =================================================================== (Binary files differ) Added: readme.svg (+256 -0) 100644 =================================================================== --- /dev/null +++ readme.svg 2012-08-31 18:13:59 +0900 (4528ba0) @@ -0,0 +1,256 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + Face - Happy + + + emoticon + emote + smiley + happy + :) + :-) + + + + + + Jakub Steiner + + + http://jimmac.musichall.cz + + + + + + + + + + + + + + + + + + + + + + Added: reference.png (+0 -0) 100644 =================================================================== (Binary files differ) Added: rubyforge.png (+0 -0) 100644 =================================================================== (Binary files differ) Added: tango-logo.png (+0 -0) 100644 =================================================================== (Binary files differ) Added: tutorial.png (+0 -0) 100644 =================================================================== (Binary files differ) Added: tutorial.svg (+559 -0) 100644 =================================================================== --- /dev/null +++ tutorial.svg 2012-08-31 18:13:59 +0900 (9a23654) @@ -0,0 +1,559 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + Jakub Steiner + + + http://jimmac.musichall.cz + + Text Editor + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Added: us.png (+0 -0) 100644 =================================================================== (Binary files differ) From null+ranguba at clear-code.com Fri Aug 31 09:14:10 2012 From: null+ranguba at clear-code.com (Haruka Yoshihara) Date: Fri, 31 Aug 2012 18:14:10 +0900 Subject: [groonga-commit:4676] ranguba/ranguba.org [gh-pages] Add ranguba.css Message-ID: <20120831091507.B02D6940C4C@jenkins.clear-code.com> Haruka Yoshihara 2012-08-31 18:14:10 +0900 (Fri, 31 Aug 2012) New Revision: 9ae2a390ac160bebada8f5f1b83bebb8af992bfe https://github.com/ranguba/ranguba.org/commit/9ae2a390ac160bebada8f5f1b83bebb8af992bfe Log: Add ranguba.css Added files: ranguba.css Added: ranguba.css (+375 -0) 100644 =================================================================== --- /dev/null +++ ranguba.css 2012-08-31 18:14:10 +0900 (5c687f5) @@ -0,0 +1,375 @@ +html, +body +{ + margin: 0px !important; + padding: 0px !important; + color: black !important; + background-color: white !important; +} + +a:link +{ + color: #f57900; +} + +a:visited +{ + color: #ce5c00; +} + +div.header +{ + position: relative; + margin: 0px; + padding: 0px; +} + +div.header div.title, +div.header h1.title +{ + background: url(logos/rroonga-logo.png) no-repeat; + font-family: sans-serif; + font-size: 12px; + font-weight: bold; + text-shadow: 0.1em 0.1em 0.1em rgb(200, 200, 200); + margin-top: 20px; + margin-left: 50px; + margin-right: 210px; + height: 71px; +} + +div.header div.title a, +div.header h1.title a +{ + display: block; + height: 71px; +} + +div.header div.title a, +div.header h1.title a, +div.header div.title a:link, +div.header h1.title a:link, +div.header div.title a:visited, +div.header h1.title a:visited +{ + color: black; + text-decoration: none; +} + +div.header div.title span, +div.header h1.title span +{ + display: block; + padding-left: 230px; + margin-bottom: 2px; +} + +div.header div.title span.title, +div.header h1.title span.title +{ + padding-top: 20px; +} + +div.header div.title span.title-separator, +div.header h1.title span.title-separator +{ + display: none; +} + +div.header div.title span.title-project, +div.header h1.title span.title-project +{ + padding-bottom: 20px; +} + +ul.other-languages +{ + position: absolute; + top: 0px; + right: 50px; + padding: 0px; + margin: 0px; +} + +ul.other-languages li +{ + display: block; + float: left; + margin-left: 10px; +} + +ul.other-languages li a +{ + display: block; + height: 11px; + width: 16px; + text-indent: -100000px; + outline: none; +} + +ul.other-languages li#other-language-english +{ + background: url(us.png) no-repeat; +} + +ul.other-languages li#other-language-japanese +{ + background: url(jp.png) no-repeat; +} + +ul.menu +{ + background: url(bar.png) repeat-x; + height: 38px; + padding: 0; + margin: 0; + padding-top: 12px; + padding-left: 50px; + padding-bottom: 0px; + margin-top: 16px; + margin-left: 0px; + margin-bottom: 0px; + font-family: sans; + font-weight: bold; + font-size: 16px; + line-height: 100% !important; +} + +ul.menu li +{ + display: inline; + padding: 0; + margin: 0; + margin-right: 10px; + padding-left: 0px; +} + +ul.menu li a +{ + color: #f6ede0; + text-decoration: none; + padding-left: 20px; +} + +ul.menu li a:hover +{ + text-decoration: underline; +} + +ul.menu li a:visited +{ + color: #f6ede0; +} + +ul.menu li#menu-reference +{ + background: url(reference.png) no-repeat; +} + +ul.menu li#menu-readme +{ + background: url(readme.png) no-repeat; +} + +ul.menu li#menu-tutorial +{ + background: url(tutorial.png) no-repeat; +} + +ul.menu li#menu-install +{ + background: url(install.png) no-repeat; +} + +ul.menu li#menu-developer +{ + background: url(developer.png) no-repeat; +} + +div.content +{ + position: relative; + margin-left: 50px; + margin-right: 50px; +} + +div.main +{ + margin-right: 170px; +} + +div.main p +{ + line-height: 150%; +} + +div.main h2, +div.day h3 +{ + margin-left: -45px; + text-indent: 45px; + height: 36px; + background: url(heading-mark.png) no-repeat ; +} + +div.sidebar +{ + clear: both; + position: absolute; + top: 0px; + right: 0px; + width: 150px; + background-color: white; + padding-left: 10px; + border-left: solid 1px black; + height: 100%; +} + +div.sidebar ul +{ + margin: 0px; + padding: 0px; +} + +div.sidebar ul li +{ + list-style-type: none; + margin-bottom: 5px; +} + +div.sponsors +{ + border-top: solid black 1px; + position: relative; +} + +div.sponsors p +{ + margin: 0px; +} + +div.sponsors p#sponsor-rubyforge +{ + position: absolute; + top: 15px; + right: 50px; +} + +div.sponsors p#sponsor-github +{ + position: absolute; + top: 50px; + right: 50px; +} + +div.sponsors p#sponsor-tango +{ + position: absolute; + top: 105px; + right: 50px; +} + +div.sponsors p#sponsor-famfamfam +{ + position: absolute; + top: 168px; + right: 50px; + padding-bottom: 50px; +} + +dt +{ + margin-bottom: 0.25em; +} + +dd +{ + margin-bottom: 0.5em; +} + +pre +{ + overflow: auto; +} + +pre.command, +pre.code +{ + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; + -moz-box-shadow: 0.2em 0.2em 0.5em rgb(100, 100, 100); + -webkit-box-shadow: 0.2em 0.2em 0.5em rgb(100, 100, 100); + box-shadow: 0.2em 0.2em 0.5em rgb(100, 100, 100); +} + +pre.command +{ + color: white; + background-color: black; + padding: 5px 10px; +} + +pre.code +{ + border: solid 1px #abf562; + background: #d8ffb2; + padding: 5px 10px; +} + +/* for RDoc */ +body.indexpage, +body.class, +body.module, +body.file +{ + margin: 0 !important; +} + +body.indexpage div.content +{ + margin: 1em 3em !important; +} + +body.class div.content, +body.module div.content, +body.file div.content +{ + margin: 40px !important; +} + +/* For GTK-Doc */ + at media screen +{ + table.navigation#top + { + position: relative; + top: 0; + margin-top: 20px; + z-index: 0; + } + + div.book + { + top: 0px; + } + + div.refentry, + div.chapter, + div.reference, + div.part, + div.book, + div.glossary, + div.sect1, + div.appendix, + div.preface + { + top: 0px; + } + + div.footer + { + padding-top: 0px; + padding-bottom: 1em; + } +} -------------- next part -------------- An HTML attachment was scrubbed... URL: From null+ranguba at clear-code.com Fri Aug 31 09:14:42 2012 From: null+ranguba at clear-code.com (Haruka Yoshihara) Date: Fri, 31 Aug 2012 18:14:42 +0900 Subject: [groonga-commit:4677] ranguba/ranguba.org [gh-pages] Add pages for developers Message-ID: <20120831091508.05786940C51@jenkins.clear-code.com> Haruka Yoshihara 2012-08-31 18:14:42 +0900 (Fri, 31 Aug 2012) New Revision: 6cfb43cae693c425b3787b43f554289cee2ff5c9 https://github.com/ranguba/ranguba.org/commit/6cfb43cae693c425b3787b43f554289cee2ff5c9 Log: Add pages for developers Added files: developer.html developer.html.ja Added: developer.html (+163 -0) 100644 =================================================================== --- /dev/null +++ developer.html 2012-08-31 18:14:42 +0900 (d795063) @@ -0,0 +1,163 @@ + + + + + + + + + Deveroper - Ranguba + + + + +
+
+

Developer

+

+ Please join us to use groonga using Ruby more usefully. + We provided information needed for development. +

+ +

Repository

+

+ There are repositories of rroonga, ActiveGroonga, ActiveGroonga Fabrication, racknga, ChupaText, and Document Search Ranguba in GitHub. + Please see below for check-out each repositories by git. +

+
+
rroonga
+
% git clone git://github.com/ranguba/rroonga.git
+
ActiveGroonga
+
% git clone git://github.com/ranguba/activegroonga.git
+
ActiveGroonga Fabrication
+
% git clone git://github.com/ranguba/activegroonga-fabrication.git
+
racknga
+
% git clone git://github.com/ranguba/racknga.git
+
ChupaText
+
% git clone git://github.com/ranguba/chupatext.git
+
ChupaRuby
+
% git clone git://github.com/ranguba/chuparuby.git
+
Document Search Ranguba
+
% git clone git://github.com/ranguba/ranguba.git
+
+ +

+ Sample program of rroonga, ActiveGroonga, ActiveGroonga Fabrication, racknga, ChupaText, ChupaRuby are also contained each repositories. + Please see below for check-out these program. +

+
+
Sample
+
% git clone git://github.com/ranguba/examples.git
+
+ +

How to build

+

+ You should use extconf.rb and Makefile to build rroonga, so don't use Rakefile. +

+

+ Please run extconf.rb with ruby you want to use rroonga, and run make command. +

+
% ruby extconf.rb
+% make
+

+ You can get ext/groonga/groonga.so if make command for rroonga succeeded. + If you want to use groonga without installing it, you may set $LOAD_PATH following before use groonga by "require" method. +

+
% irb -I lib -I ext/groonga -r groonga
+ +

Contact

+

+ If you find bugs, please show us by mailinglist of groonga or Redmine. + Please also send mail to groonga mailinglist for asking questions, giving idea, sending patch, and so on. +

+ +

Commit-mail

+

+ When someone commit to a repository, you can get mail including difference of this commit from mailinglist for groonga-commit. + If you're interested in development of groonga, please subscribe this mailinglist. +

+ +

Document

+

+ Documents are described in each source code by YARD. + Created documents are translated to HTML, and published as Reference Manual. +

+

+ We want to provide document page in English and Japanese, but now some page is wrote in Japanese only, sorry. + Documents in Japanese are included source code directly. + We're recruiting those who help us to make how to create reference manual translated in many language by YARD or to create documents in English. +

+

+ In Redmine, we also provide Wiki containing documents. + Wiki focuses of information not to be wrote in reference manual. + If you have tips or related information for Ranguba project, please send them to mailinglist or edit wiki after subscribe Redmine. +

+
+ + +
+ + + + Added: developer.html.ja (+156 -0) 100644 =================================================================== --- /dev/null +++ developer.html.ja 2012-08-31 18:14:42 +0900 (c49c8c4) @@ -0,0 +1,156 @@ + + + + + + + + + ??????? - ???? + + + + +
+
+

???????

+

+ ???????????Ruby????????groonga???????????????????????????????? + ?????????????????????? +

+ +

?????

+

+ rroonga?ActiveGroonga?ActiveGroonga Fabrication?racknga?ChupaText????????????????GitHub??????? + git?????????????????????????????? +

+
+
rroonga
+
% git clone git://github.com/ranguba/rroonga.git
+
ActiveGroonga
+
% git clone git://github.com/ranguba/activegroonga.git
+
ActiveGroonga Fabrication
+
% git clone git://github.com/ranguba/activegroonga-fabrication.git
+
racknga
+
% git clone git://github.com/ranguba/racknga.git
+
ChupaText
+
% git clone git://github.com/ranguba/chupatext.git
+
ChupaRuby
+
% git clone git://github.com/ranguba/chuparuby.git
+
????????
+
% git clone git://github.com/ranguba/ranguba.git
+
+ +

+ rroonga?ActiveGroonga?ActiveGroonga Fabrication?racknga?ChupaText?ChupaRuby?????????????????????????? + ???????????????????????????? +

+
+
????
+
% git clone git://github.com/ranguba/examples.git
+
+ +

?????

+

+ rroonga??????????extconf.rb?Makefile??????Rakefile??????? +

+

+ ??????ruby?extconf.rb????????make??????? +

+
% ruby extconf.rb
+% make
+

+ ??????ext/groonga/groonga.so??????????????????????????????$LOAD_PATH???????require??????? +

+
% irb -I lib -I ext/groonga -r groonga
+ +

?????????????

+

+ ?????groonga????????????Redmine???????? + ????????????????groonga????????????????? +

+ +

???????

+

+ ????????????????????????groonga-commit?????????????? + ???????????groonga-commit?????????????????? +

+ +

??????

+

+ ???????????????YARD????????? + ????????????HTML??????????????????????????? +

+

+ ????????????????????????????????????????????????? + ????????????????????????????YARD??????????????????????????????????????????????????????????? +

+

+ ???Redmine??Wiki?????????????? + Wiki?????????????????????????????????Tips???????????????????????????????????Redmine???????????????? +

+
+ + +
+ + + + -------------- next part -------------- An HTML attachment was scrubbed... URL: From null+ranguba at clear-code.com Fri Aug 31 09:18:10 2012 From: null+ranguba at clear-code.com (Haruka Yoshihara) Date: Fri, 31 Aug 2012 18:18:10 +0900 Subject: [groonga-commit:4678] ranguba/ranguba.org [gh-pages] Add logos Message-ID: <20120831091824.98A6494027A@jenkins.clear-code.com> Haruka Yoshihara 2012-08-31 18:18:10 +0900 (Fri, 31 Aug 2012) New Revision: 11b3e4b0fceaf53c4fdd16fa02fa9c75d0050fe2 https://github.com/ranguba/ranguba.org/commit/11b3e4b0fceaf53c4fdd16fa02fa9c75d0050fe2 Log: Add logos Added files: logos/rroonga-icon-foreground-white.png logos/rroonga-icon-foreground-white.svg logos/rroonga-icon-full-size.png logos/rroonga-icon-full-size.svg logos/rroonga-icon.png logos/rroonga-icon.svg logos/rroonga-logo-foreground-white.png logos/rroonga-logo-foreground-white.svg logos/rroonga-logo.png logos/rroonga-logo.svg Added: logos/rroonga-icon-foreground-white.png (+0 -0) 100644 =================================================================== (Binary files differ) Added: logos/rroonga-icon-foreground-white.svg (+106 -0) 100644 =================================================================== --- /dev/null +++ logos/rroonga-icon-foreground-white.svg 2012-08-31 18:18:10 +0900 (6b853e2) @@ -0,0 +1,106 @@ + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + Added: logos/rroonga-icon-full-size.png (+0 -0) 100644 =================================================================== (Binary files differ) Added: logos/rroonga-icon-full-size.svg (+107 -0) 100644 =================================================================== --- /dev/null +++ logos/rroonga-icon-full-size.svg 2012-08-31 18:18:10 +0900 (1db5c14) @@ -0,0 +1,107 @@ + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + Added: logos/rroonga-icon.png (+0 -0) 100644 =================================================================== (Binary files differ) Added: logos/rroonga-icon.svg (+93 -0) 100644 =================================================================== --- /dev/null +++ logos/rroonga-icon.svg 2012-08-31 18:18:10 +0900 (b7e1594) @@ -0,0 +1,93 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + Added: logos/rroonga-logo-foreground-white.png (+0 -0) 100644 =================================================================== (Binary files differ) Added: logos/rroonga-logo-foreground-white.svg (+122 -0) 100644 =================================================================== --- /dev/null +++ logos/rroonga-logo-foreground-white.svg 2012-08-31 18:18:10 +0900 (df19d65) @@ -0,0 +1,122 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + Added: logos/rroonga-logo.png (+0 -0) 100644 =================================================================== (Binary files differ) Added: logos/rroonga-logo.svg (+117 -0) 100644 =================================================================== --- /dev/null +++ logos/rroonga-logo.svg 2012-08-31 18:18:10 +0900 (6fa698c) @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + -------------- next part -------------- An HTML attachment was scrubbed... URL: From null+ranguba at clear-code.com Fri Aug 31 09:14:25 2012 From: null+ranguba at clear-code.com (Haruka Yoshihara) Date: Fri, 31 Aug 2012 18:14:25 +0900 Subject: [groonga-commit:4679] ranguba/ranguba.org [gh-pages] Add index.html in Japanese Message-ID: <20120831091507.D51B0940C4E@jenkins.clear-code.com> Haruka Yoshihara 2012-08-31 18:14:25 +0900 (Fri, 31 Aug 2012) New Revision: e4b12b7a560c60fc08eb4d4e80046d34e4e0364c https://github.com/ranguba/ranguba.org/commit/e4b12b7a560c60fc08eb4d4e80046d34e4e0364c Log: Add index.html in Japanese Added files: index.html.ja Added: index.html.ja (+390 -0) 100644 =================================================================== --- /dev/null +++ index.html.ja 2012-08-31 18:14:25 +0900 (571d673) @@ -0,0 +1,390 @@ + + + + + + + + + Ruby?groonga??????? - ???? + + + + +
+
+

??????????

+

+ ??????????????????????????????????????groonga??????????????????????????groonga????Ruby???????????????????????????????????????????????Web??????????????????????????????????? +

+ +

+ ??????????????????????? +

+ + +

rroonga

+

+ rroonga???????groonga???????????DB-API??????Ruby??????????rroonga??????Web???????????????????????ActiveGroonga??????????Web?????????????????????????racknga???????????????groonga????Ruby??????????????????????????? +

+ +

rroonga???????

+

+ 2012-05-02????????2.0.4?????? +

+ +

rroonga???????

+

+ RubyGems????????????groonga???????????????????????????????????? +

+
% sudo gem install rroonga
+ +

rroonga???????

+

+ ????????????????????????? + ????????????????????? +

+ + +

ActiveGroonga

+

+ ActiveGroonga?rroonga??????????????????????????????????????????? + ActiveRecord????API?groonga????????????????????????????? +

+

+ ActiveGroonga?Ruby on Rails????????????????RDB????groonga????????????????Rails???????????????? + ActiveGroonga???????ActiveRecord????????????????????Rails???????????????????????? +

    +
  • ????????
  • +
  • ???????
  • +
  • ??????
  • +
+

+ +

ActiveGroonga???????

+

+ 2011-11-29????????1.0.7?????? +

+ +

ActiveGroonga???????

+

+ ActiveGroonaga?RubyGems???????????? +

+
% sudo gem install activegroonga
+ +

ActiveGroonga???????

+

+ ActiveGroonaga?????????????????? + ??????????????????? +

+ + +

ActiveGroonga Fabrication

+

+ ActiveGroonga Fabrication??????????????Fabrication?ActiveGroonga??????????????????????? +

+ +

ActiveGroonga Fabrication???????

+

+ 2011-04-01????????1.0.0?????? +

+ +

ActiveGroonga Fabrication???????

+

+ ActiveGroonaga Fabrication?RubyGems???????????? +

+
% sudo gem install activegroonga-fabrication
+ +

ActiveGroonga Fabrication???????

+

+ RDoc??????????????????? + ??????require???ActiveRecord?????????Fabrication?????? +

+
require "active_groonga_fabrication"
+ + + +

racknga

+

+ racknga???????Rack????Web?????????rroonga?????????????????????????????????? +

+ +

racknga???????

+

+ 2011-11-12????????0.9.3?????? +

+ +

racknga???????

+

+ racknga?RubyGems???????????? +

+
% sudo gem install racknga
+ +

racknga???????

+

+ ????????????????? +

+ + +

Packnga

+

+ Packnga??????????????????????????????????? +

+ +

Packnga???????

+

+ 2011-09-27????????0.9.4?????? +

+ +

Packnga???????

+

+ RubyGems???????????? +

+
% sudo gem install packnga
+ +

Packnga???????

+

+ ????????????????? +

+ + +

ChupaText

+

+ ChupaText??????????PDF?????????????????????????????????????????????????Web?????????????? +

+ +

ChupaText???????

+

+ 2011-02-09????????0.9.0?????? +

+

+ [??????] + [???] +

+ +

ChupaText???????

+

+ ChupaText???????????????? +

+ +

ChupaText???????

+

+ ChupaText?????????????????????? +

+ +

ChupaRuby

+

+ ChupaRuby?????????ChupaText????Ruby????????????????? +

+ +

ChupaRuby???????

+

+ 2010-11-08????????0.5.0?????? +

+ +

ChupaRuby???????

+

+ ChupaRuby?RubyGems???????????????????ChupaText??????????????????? +

+
% sudo gem install chuparuby
+ +

ChupaRuby???????

+

+ ChupaRuby?????????????? + ??????????????????? +

+
    + +
  • ChupaRuby????????????
  • +
+ +

????????

+

+ ?????????groonga??????????????????????????????????????????????????????????? +

+ +

????????

+

+ ?????? +

+ + +

+ ???????????rroonga?????????????????CC-BY 3.0??????????????????????The Ranguba project????????????????The groonga project???groonga???????????????????? +

+ +

+ ????????????rroonga?????????????????????rroonga????????? +

+ + +

+ + rroonga?? + +

+

+ (232x73) + (SVG?????) +

+ +

????rroonga??

+

+ + ????rroonga?? + +

+

+ (232x73) + (SVG?????) +

+ +

rroonga????

+

+ + rroonga???? + +

+

+ (60x60) + (SVG?????) +

+ +

????rroonga????

+

+ + ????rroonga???? + +

+

+ (60x60) + (SVG?????) +

+ +

rroonga????????????????

+

+ + rroonga???????????????? + +

+

+ (200x201) + (SVG?????) +

+ +

?????

+

+ rroonga?ActiveGroonga?racknga?ChupaText??????????????????Free Software Foundation?????GNU Lesser General Public License 2.1??????????????????????????????????? +

+ +

+ rroonga?ActiveGroonga?racknga?ChupaText????????????????????????????????????????????????????????????????????GNU Lesser General Public License 2.1????????? +

+
+ + +
+ + + + -------------- next part -------------- An HTML attachment was scrubbed... URL: