File: 0001-Replace-gemspec-git-execution.patch

package info (click to toggle)
ruby-classifier-reborn 2.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 320 kB
  • ctags: 132
  • sloc: ruby: 919; sh: 13; makefile: 7
file content (22 lines) | stat: -rw-r--r-- 2,066 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, 4 Nov 2015 21:02:26 +0900
Subject: Replace gemspec git execution

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

diff --git a/classifier-reborn.gemspec b/classifier-reborn.gemspec
index 7d1e826..56d4e15 100644
--- a/classifier-reborn.gemspec
+++ b/classifier-reborn.gemspec
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
   s.email            = ["lucas@rufy.com", "parkrmoore@gmail.com", "chase.gilliam@gmail.com"]
   s.homepage         = 'https://github.com/jekyll/classifier-reborn'
 
-  all_files          = `git ls-files -z`.split("\x0")
+  all_files          = [".gitignore",".travis.yml","Gemfile","History.markdown","LICENSE","README.markdown","Rakefile","bin/bayes.rb","bin/summarize.rb","classifier-reborn.gemspec","data/stopwords/ca","data/stopwords/cs","data/stopwords/da","data/stopwords/de","data/stopwords/en","data/stopwords/es","data/stopwords/fi","data/stopwords/fr","data/stopwords/hu","data/stopwords/it","data/stopwords/nl","data/stopwords/no","data/stopwords/pl","data/stopwords/pt","data/stopwords/se","data/stopwords/tr","lib/classifier-reborn.rb","lib/classifier-reborn/bayes.rb","lib/classifier-reborn/category_namer.rb","lib/classifier-reborn/extensions/hasher.rb","lib/classifier-reborn/extensions/vector.rb","lib/classifier-reborn/extensions/vector_serialize.rb","lib/classifier-reborn/lsi.rb","lib/classifier-reborn/lsi/cached_content_node.rb","lib/classifier-reborn/lsi/content_node.rb","lib/classifier-reborn/lsi/summarizer.rb","lib/classifier-reborn/lsi/word_list.rb","lib/classifier-reborn/version.rb","script/bootstrap","script/cibuild","script/test","test/bayes/bayesian_test.rb","test/data/stopwords/en","test/extensions/hasher_test.rb","test/lsi/lsi_test.rb","test/lsi/word_list_test.rb","test/test_helper.rb"]
   s.files            = all_files.grep(%r{^(bin|lib|data)/})
   s.executables      = all_files.grep(%r{^bin/}) { |f| File.basename(f) }
   s.require_paths    = ["lib"]