[DRE-commits] [ruby-method-source] 02/08: use ruby-rspec instead of ruby-bacon.
Daisuke Higuchi
dai at moszumanska.debian.org
Sat Oct 21 13:58:55 UTC 2017
This is an automated email from the git hooks/post-receive script.
dai pushed a commit to branch master
in repository ruby-method-source.
commit 4db07cbb23a9c7df6a6d672f38a570afabbffdff
Author: HIGUCHI Daisuke (VDR dai) <dai at debian.org>
Date: Sat Oct 21 22:34:06 2017 +0900
use ruby-rspec instead of ruby-bacon.
---
debian/control | 2 +-
.../patches/0001-Fix-paths-for-spec_helper.patch | 26 ++++++++++++++++++++++
debian/patches/series | 1 +
debian/ruby-test-files.yaml | 5 +++--
4 files changed, 31 insertions(+), 3 deletions(-)
diff --git a/debian/control b/debian/control
index 3f5f460..7351248 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.al
Uploaders: Youhei SASAKI <uwabami at gfd-dennou.org>
Build-Depends: debhelper (>= 9~),
gem2deb,
- ruby-bacon
+ ruby-rspec
Standards-Version: 3.9.7
Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-method-source.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-method-source.git
diff --git a/debian/patches/0001-Fix-paths-for-spec_helper.patch b/debian/patches/0001-Fix-paths-for-spec_helper.patch
new file mode 100644
index 0000000..f0d59f4
--- /dev/null
+++ b/debian/patches/0001-Fix-paths-for-spec_helper.patch
@@ -0,0 +1,26 @@
+Description: Fix paths for spec_helper
+Author: HIGUCHI Daisuke (VDR dai) <dai at debian.org>
+Origin: vendor
+Forwarded: not-needed
+Last-Update: 2017-10-21
+
+Index: ruby-method-source/spec/method_source/code_helpers_spec.rb
+===================================================================
+--- ruby-method-source.orig/spec/method_source/code_helpers_spec.rb
++++ ruby-method-source/spec/method_source/code_helpers_spec.rb
+@@ -1,4 +1,4 @@
+-require 'spec_helper'
++require 'spec/spec_helper'
+
+ describe MethodSource::CodeHelpers do
+ before do
+Index: ruby-method-source/spec/method_source_spec.rb
+===================================================================
+--- ruby-method-source.orig/spec/method_source_spec.rb
++++ ruby-method-source/spec/method_source_spec.rb
+@@ -1,4 +1,4 @@
+-require 'spec_helper'
++require 'spec/spec_helper'
+
+ describe MethodSource do
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d7d622b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Fix-paths-for-spec_helper.patch
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
index be3a17c..8e07de3 100644
--- a/debian/ruby-test-files.yaml
+++ b/debian/ruby-test-files.yaml
@@ -1,3 +1,4 @@
---
-- test/test.rb
-- test/test_helper.rb
+- spec/spec_helper.rb
+- spec/method_source_spec.rb
+- spec/method_source/code_helpers_spec.rb
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-method-source.git
More information about the Pkg-ruby-extras-commits
mailing list