[Groonga-commit] ranguba/chupa-text-decomposer-pdf at 0fa7b32 [master] Use all description section text for gem description

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Jan 5 16:06:58 JST 2014


Kouhei Sutou	2014-01-05 16:06:58 +0900 (Sun, 05 Jan 2014)

  New Revision: 0fa7b324720ff5979819830a1387389de2aa7337
  https://github.com/ranguba/chupa-text-decomposer-pdf/commit/0fa7b324720ff5979819830a1387389de2aa7337

  Message:
    Use all description section text for gem description

  Modified files:
    chupa-text-decomposer-pdf.gemspec

  Modified: chupa-text-decomposer-pdf.gemspec (+2 -1)
===================================================================
--- chupa-text-decomposer-pdf.gemspec    2014-01-05 15:58:23 +0900 (d516606)
+++ chupa-text-decomposer-pdf.gemspec    2014-01-05 16:06:58 +0900 (15d3c2f)
@@ -29,7 +29,8 @@ Gem::Specification.new do |spec|
   readme = File.read("README.md", :encoding => "UTF-8")
   entries = readme.split(/^\#\#\s(.*)$/)
   description = clean_white_space.call(entries[entries.index("Description") + 1])
-  spec.summary, spec.description, = description.split(/\n\n+/, 3)
+  spec.summary = description.split(/\n\n+/, 2).first
+  spec.description = description
   spec.license = "LGPLv2.1 or later"
   spec.files = ["#{spec.name}.gemspec"]
   spec.files += ["README.md", "LICENSE.txt", "Rakefile", "Gemfile"]
-------------- next part --------------
HTML����������������������������...
Descargar 



More information about the Groonga-commit mailing list
Back to archive index