[Groonga-commit] ranguba/chupa-text-decomposer-html at 75993d1 [master] Use all description section text for gem description

Back to archive index

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


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

  New Revision: 75993d13ebfd1c5c605c593e69ff07a597cd63c3
  https://github.com/ranguba/chupa-text-decomposer-html/commit/75993d13ebfd1c5c605c593e69ff07a597cd63c3

  Message:
    Use all description section text for gem description

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

  Modified: chupa-text-decomposer-html.gemspec (+2 -1)
===================================================================
--- chupa-text-decomposer-html.gemspec    2014-01-05 15:07:35 +0900 (9afcf1f)
+++ chupa-text-decomposer-html.gemspec    2014-01-05 16:06:19 +0900 (c7b5bf6)
@@ -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����������������������������...
Download 



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