[DRE-commits] [ruby-slop] 02/06: Add patch: Remove git ls-files from gemspec

Youhei SASAKI uwabami-guest at moszumanska.debian.org
Tue Sep 5 04:00:13 UTC 2017


This is an automated email from the git hooks/post-receive script.

uwabami-guest pushed a commit to branch master
in repository ruby-slop.

commit 057d0d112e9427ad7e4e6b9f0dc3cdf1808ebec8
Author: Youhei SASAKI <uwabami at gfd-dennou.org>
Date:   Tue Sep 5 12:56:40 2017 +0900

    Add patch: Remove git ls-files from gemspec
    
    Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
---
 .../0001-Remove-git-ls-files-from-gemspec.patch    | 24 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 25 insertions(+)

diff --git a/debian/patches/0001-Remove-git-ls-files-from-gemspec.patch b/debian/patches/0001-Remove-git-ls-files-from-gemspec.patch
new file mode 100644
index 0000000..d537409
--- /dev/null
+++ b/debian/patches/0001-Remove-git-ls-files-from-gemspec.patch
@@ -0,0 +1,24 @@
+From: Youhei SASAKI <uwabami at gfd-dennou.org>
+Date: Tue, 5 Sep 2017 12:56:15 +0900
+Subject: Remove git ls-files from gemspec
+
+Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
+---
+ slop.gemspec | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/slop.gemspec b/slop.gemspec
+index b94a1f2..eb5e84e 100644
+--- a/slop.gemspec
++++ b/slop.gemspec
+@@ -9,8 +9,8 @@ Gem::Specification.new do |s|
+   s.author      = 'Lee Jarvis'
+   s.email       = 'ljjarvis at gmail.com'
+   s.homepage    = 'http://github.com/leejarvis/slop'
+-  s.files       = `git ls-files`.split("\n")
+-  s.test_files  = `git ls-files -- test/*`.split("\n")
++  s.files       = [".travis.yml","CHANGELOG.md","Gemfile","LICENSE","README.md","Rakefile","lib/slop.rb","lib/slop/error.rb","lib/slop/option.rb","lib/slop/options.rb","lib/slop/parser.rb","lib/slop/result.rb","lib/slop/types.rb","slop.gemspec","test/error_test.rb","test/option_test.rb","test/options_test.rb","test/parser_test.rb","test/result_test.rb","test/slop_test.rb","test/test_helper.rb","test/types_test.rb"]
++  s.test_files  = ["test/error_test.rb","test/option_test.rb","test/options_test.rb","test/parser_test.rb","test/result_test.rb","test/slop_test.rb","test/test_helper.rb","test/types_test.rb"]
+   s.license     = 'MIT'
+ 
+   s.required_ruby_version = '>= 2.0.0'
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..de8fe4e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Remove-git-ls-files-from-gemspec.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-slop.git



More information about the Pkg-ruby-extras-commits mailing list