[DRE-commits] [ruby-shellany] 07/09: add for test

Daisuke Higuchi dai at moszumanska.debian.org
Wed Nov 15 10:16:50 UTC 2017


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

dai pushed a commit to branch master
in repository ruby-shellany.

commit 2b2b773fe12cf8de0edeaee7d814fb89d640ec32
Author: HIGUCHI Daisuke (VDR dai) <dai at debian.org>
Date:   Wed Nov 15 19:15:04 2017 +0900

    add for test
---
 debian/patches/replace-git-ls-files-z.patch | 18 ++++++++++++++++++
 debian/patches/require-shellany.patch       | 15 +++++++++++++++
 debian/patches/series                       |  2 ++
 3 files changed, 35 insertions(+)

diff --git a/debian/patches/replace-git-ls-files-z.patch b/debian/patches/replace-git-ls-files-z.patch
new file mode 100644
index 0000000..2eb29cf
--- /dev/null
+++ b/debian/patches/replace-git-ls-files-z.patch
@@ -0,0 +1,18 @@
+Description: replace git ls-files -z
+Author: HIGUCHI Daisuke (VDR dai) <dai at debian.org>
+Forwarded: not-needed
+Last-Update: 2017-11-15
+
+Index: ruby-shellany/shellany.gemspec
+===================================================================
+--- ruby-shellany.orig/shellany.gemspec
++++ ruby-shellany/shellany.gemspec
+@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
+   spec.homepage      = ""
+   spec.license       = "MIT"
+ 
+-  spec.files         = `git ls-files -z`.split("\x0")
++  spec.files         = [".gitignore", ".rspec", ".travis.yml", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "lib/shellany.rb", "lib/shellany/sheller.rb", "lib/shellany/version.rb", "shellany.gemspec", "spec/lib/shellany/sheller_spec.rb", "spec/shellany_spec.rb", "spec/spec_helper.rb"]
+   spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
+   spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
+   spec.require_paths = ["lib"]
diff --git a/debian/patches/require-shellany.patch b/debian/patches/require-shellany.patch
new file mode 100644
index 0000000..f700fd9
--- /dev/null
+++ b/debian/patches/require-shellany.patch
@@ -0,0 +1,15 @@
+Description: require shellany
+Author: HIGUCHI Daisuke (VDR dai) <dai at debian.org>
+Origin: upstream, commit: 7f7e263f5014fcbc093635e7bdd589c69680be0b
+Last-Update: 2017-11-15
+
+Index: ruby-shellany/spec/shellany_spec.rb
+===================================================================
+--- ruby-shellany.orig/spec/shellany_spec.rb
++++ ruby-shellany/spec/shellany_spec.rb
+@@ -1,3 +1,5 @@
++require 'shellany'
++
+ RSpec.describe Shellany do
+   it 'has a version number' do
+     expect(Shellany::VERSION).not_to be nil
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..4c0ce2e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+replace-git-ls-files-z.patch
+require-shellany.patch

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



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