[DRE-commits] [SCM] ruby-text-table.git branch, master, updated. upstream/1.2.2-8-g9291887
Cédric Boutillier
boutil at debian.org
Mon Dec 10 06:50:22 UTC 2012
The following commit has been merged in the master branch:
commit 253827d481d3bfe1e657058b69df1e9571dcea54
Author: Cédric Boutillier <boutil at debian.org>
Date: Mon Dec 10 07:13:47 2012 +0100
patch to adapt specs to more recent version of RSpec; add unapply-patches to local-options
diff --git a/debian/patches/remove_requirement_on_spec.patch b/debian/patches/remove_requirement_on_spec.patch
new file mode 100644
index 0000000..8bbba14
--- /dev/null
+++ b/debian/patches/remove_requirement_on_spec.patch
@@ -0,0 +1,22 @@
+Decription: Remove Spec specific code
+ Spec is a deprecated version of RSpec. Trying to load it from
+ spec_helper.rb is unnecessary, since RSpec is already loaded from
+ debian/ruby-tests.rake.
+Author: Cédric Boutillier <boutil at debian.org>
+Last-Update: 2012-12-10
+
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -1,12 +1,6 @@
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
+ require 'text-table'
+-require 'spec'
+-require 'spec/autorun'
+-
+-Spec::Runner.configure do |config|
+-
+-end
+
+ class String
+ def deindent
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6f2ed28
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+remove_requirement_on_spec.patch
diff --git a/debian/source/local-options b/debian/source/local-options
new file mode 100644
index 0000000..4aceb10
--- /dev/null
+++ b/debian/source/local-options
@@ -0,0 +1 @@
+unapply-patches
--
ruby-text-table.git
More information about the Pkg-ruby-extras-commits
mailing list