From cec4965821b12a2fdfbd9ccf05c05496925bdef7 Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Sat, 2 Apr 2022 18:33:42 +0900 Subject: [PATCH 1/2] Don't include test files in the gem package --- redcarpet.gemspec | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/redcarpet.gemspec b/redcarpet.gemspec index d7eb3078..1b984aec 100644 --- a/redcarpet.gemspec +++ b/redcarpet.gemspec @@ -42,21 +42,6 @@ Gem::Specification.new do |s| lib/redcarpet/render_man.rb lib/redcarpet/render_strip.rb redcarpet.gemspec - test/benchmark.rb - test/custom_render_test.rb - test/fixtures/benchmark.md - test/html5_test.rb - test/html_render_test.rb - test/html_toc_render_test.rb - test/markdown_test.rb - test/pathological_inputs_test.rb - test/redcarpet_bin_test.rb - test/redcarpet_compat_test.rb - test/safe_render_test.rb - test/smarty_html_test.rb - test/smarty_pants_test.rb - test/stripdown_render_test.rb - test/test_helper.rb ] # = MANIFEST = s.test_files = s.files.grep(%r{^test/}) From 021538f5b4765b04ecd1ea612fd653ff2de04100 Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Sat, 2 Apr 2022 18:58:25 +0900 Subject: [PATCH 2/2] Missing files in the gem package --- redcarpet.gemspec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/redcarpet.gemspec b/redcarpet.gemspec index 1b984aec..3ad25a70 100644 --- a/redcarpet.gemspec +++ b/redcarpet.gemspec @@ -12,6 +12,8 @@ Gem::Specification.new do |s| s.required_ruby_version = '>= 1.9.2' # = MANIFEST = s.files = %w[ + CHANGELOG.md + CONTRIBUTING.md COPYING Gemfile README.markdown @@ -27,6 +29,7 @@ Gem::Specification.new do |s| ext/redcarpet/houdini_html_e.c ext/redcarpet/html.c ext/redcarpet/html.h + ext/redcarpet/html_block_names.txt ext/redcarpet/html_blocks.h ext/redcarpet/html_smartypants.c ext/redcarpet/markdown.c