[DRE-commits] [ruby-prawn-table] 02/10: patch: clean spec_helper.rb

Cédric Boutillier boutil at moszumanska.debian.org
Tue Sep 16 21:24:11 UTC 2014


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

boutil pushed a commit to branch master
in repository ruby-prawn-table.

commit a925ce13f01c1a8c265bd7ed713b38dcc3f65493
Author: Cédric Boutillier <boutil at debian.org>
Date:   Tue Sep 16 09:31:11 2014 +0200

    patch: clean spec_helper.rb
---
 debian/patches/clean_spec_helper.patch | 31 +++++++++++++++++++++++++++++++
 debian/patches/series                  |  1 +
 2 files changed, 32 insertions(+)

diff --git a/debian/patches/clean_spec_helper.patch b/debian/patches/clean_spec_helper.patch
new file mode 100644
index 0000000..d065bab
--- /dev/null
+++ b/debian/patches/clean_spec_helper.patch
@@ -0,0 +1,31 @@
+Description: remove unneeded stuff from spec_helper file
+ - remove call to bundler
+ - remove test coverage
+ - use path relative to LOAD_PATH instead of a require_relative to load
+   prawn/table.rb
+Author: Cédric Boutillier <boutil at debian.org>
+Forwarded: no
+Last-Update: 2014-09-16
+
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -2,18 +2,8 @@
+ 
+ puts "Prawn specs: Running on Ruby Version: #{RUBY_VERSION}"
+ 
+-require "bundler"
+-Bundler.setup
+-
+-if ENV["COVERAGE"]
+-  require "simplecov"
+-  SimpleCov.start do
+-    add_filter "/spec/"
+-  end
+-end
+-
+ require "prawn"
+-require_relative "../lib/prawn/table"
++require "prawn/table"
+ 
+ Prawn.debug = true
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..48e2598
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+clean_spec_helper.patch

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



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