[DRE-commits] [ruby-activerecord-session-store] 03/04: skip bundler when running tests

Antonio Terceiro terceiro at moszumanska.debian.org
Tue Nov 3 14:10:57 UTC 2015


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

terceiro pushed a commit to branch master
in repository ruby-activerecord-session-store.

commit 667bcb4e74e59c966a9bebffb1d23db7d8fc93d5
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Tue Nov 3 12:04:19 2015 -0200

    skip bundler when running tests
---
 debian/changelog                                      |  2 ++
 .../patches/0001-test-helper-skip-bundler-setup.patch | 19 +++++++++++++++++++
 debian/patches/series                                 |  1 +
 3 files changed, 22 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index b52f5f3..6bf88db 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,7 @@
 ruby-activerecord-session-store (0.1.1-1) unstable; urgency=medium
 
   * Initial release
+  * debian/patches/0001-test-helper-skip-bundler-setup.patch: skip bundler
+    setup when running tests during Debian builds.
 
  -- Antonio Terceiro <terceiro at debian.org>  Tue, 03 Nov 2015 11:58:02 -0200
diff --git a/debian/patches/0001-test-helper-skip-bundler-setup.patch b/debian/patches/0001-test-helper-skip-bundler-setup.patch
new file mode 100644
index 0000000..368637d
--- /dev/null
+++ b/debian/patches/0001-test-helper-skip-bundler-setup.patch
@@ -0,0 +1,19 @@
+From: Antonio Terceiro <terceiro at debian.org>
+Date: Tue, 3 Nov 2015 12:03:29 -0200
+Subject: test/helper: skip bundler setup
+
+This patch is Debian-specific
+---
+ test/helper.rb | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/test/helper.rb b/test/helper.rb
+index 704a572..727f17c 100644
+--- a/test/helper.rb
++++ b/test/helper.rb
+@@ -1,5 +1,3 @@
+-require 'bundler/setup'
+-
+ require 'active_record'
+ require 'action_controller'
+ require 'action_dispatch'
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..cc27af1
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-test-helper-skip-bundler-setup.patch

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



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