File: 0003-Replace-git-execution-in-gemspec.patch

package info (click to toggle)
ruby-unf-ext 0.0.7.2-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,556 kB
  • ctags: 189
  • sloc: cpp: 14,043; ruby: 79; makefile: 4
file content (22 lines) | stat: -rw-r--r-- 1,298 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Youhei SASAKI <uwabami@gfd-dennou.org>
Date: Wed, 10 Feb 2016 02:08:21 +0900
Subject: Replace git execution in gemspec

Signed-off-by: Youhei SASAKI <uwabami@gfd-dennou.org>
---
 unf_ext.gemspec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/unf_ext.gemspec b/unf_ext.gemspec
index 28f6eda..65212e6 100644
--- a/unf_ext.gemspec
+++ b/unf_ext.gemspec
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
   gem.homepage      = "https://github.com/knu/ruby-unf_ext"
   gem.licenses      = ["MIT"]
 
-  gem.files         = `git ls-files`.split($/)
+  gem.files         = [".document", ".gitignore", ".travis.yml", "CHANGELOG.md", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "ext/unf_ext/extconf.rb", "ext/unf_ext/unf.cc", "ext/unf_ext/unf/normalizer.hh", "ext/unf_ext/unf/table.hh", "ext/unf_ext/unf/trie/char_stream.hh", "ext/unf_ext/unf/trie/node.hh", "ext/unf_ext/unf/trie/searcher.hh", "ext/unf_ext/unf/util.hh", "lib/unf_ext.rb", "lib/unf_ext/version.rb", "metadata.yml", "test/helper.rb", "test/normalization-test.txt", "test/test_unf_ext.rb", "unf_ext.gemspec"]
   gem.executables   = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
   gem.test_files    = gem.files.grep(%r{^(test|spec|features)/}).grep(%r{/test_[^/]+\.rb$})
   gem.require_paths = ["lib"]