Kouhei Sutou
null+****@clear*****
Sun Feb 9 12:49:04 JST 2014
Kouhei Sutou 2014-02-09 12:49:04 +0900 (Sun, 09 Feb 2014) New Revision: 7f97d719336626cb29918d902d3c9ead1d8206ae https://github.com/droonga/grn2drn/commit/7f97d719336626cb29918d902d3c9ead1d8206ae Message: Use packnga Added files: .yardopts Modified files: .gitignore Rakefile grn2drn.gemspec Modified: .gitignore (+3 -0) =================================================================== --- .gitignore 2014-02-09 11:00:47 +0900 (66f8ed3) +++ .gitignore 2014-02-09 12:49:04 +0900 (89c51aa) @@ -1 +1,4 @@ +*.pot +/.yardoc/ +/doc/reference/ /Gemfile.lock Added: .yardopts (+7 -0) 100644 =================================================================== --- /dev/null +++ .yardopts 2014-02-09 12:49:04 +0900 (bcc5b05) @@ -0,0 +1,7 @@ +--output-dir doc/reference/en +--markup markdown +--markup-provider kramdown +lib/**/*.rb +- +LICENSE.txt +doc/text/**/*.* Modified: Rakefile (+6 -1) =================================================================== --- Rakefile 2014-02-09 11:00:47 +0900 (33b8c39) +++ Rakefile 2014-02-09 12:49:04 +0900 (c3db566) @@ -17,8 +17,8 @@ task :default => :test -require "rubygems" require "bundler/gem_helper" +require "packnga" base_dir = File.join(File.dirname(__FILE__)) @@ -30,6 +30,11 @@ end helper.install spec = helper.gemspec +Packnga::DocumentTask.new(spec) do |task| + task.original_language = "en" + task.translate_languages = ["ja"] +end + desc "Run tests" task :test do ruby("test/run-test.rb") Modified: grn2drn.gemspec (+3 -0) =================================================================== --- grn2drn.gemspec 2014-02-09 11:00:47 +0900 (304e65b) +++ grn2drn.gemspec 2014-02-09 12:49:04 +0900 (242af72) @@ -35,6 +35,7 @@ Gem::Specification.new do |spec| spec.summary, spec.description, = description.split(/\n\n+/, 3) spec.license = "GPLv3 or later" spec.files = ["README.md", "Rakefile", "Gemfile", "#{spec.name}.gemspec"] + spec.files += Dir.glob("doc/text/**/*.rb") spec.files += Dir.glob("lib/**/*.rb") Dir.chdir("bin") do spec.executables = Dir.glob("*") @@ -46,4 +47,6 @@ Gem::Specification.new do |spec| spec.add_development_dependency("bundler") spec.add_development_dependency("rake") spec.add_development_dependency("test-unit") + spec.add_development_dependency("packnga") + spec.add_development_dependency("kramdown") end -------------- next part -------------- HTML����������������������������... Download