[DRE-commits] [ruby-clockwork] 02/04: Add tests.patch.

Andrew Lee ajqlee at moszumanska.debian.org
Tue Sep 15 14:31:22 UTC 2015


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

ajqlee pushed a commit to branch master
in repository ruby-clockwork.

commit 19ba050a0a133bde57fff389471b1fd51d8bdd14
Author: Andrew Lee (李健秋) <andrew.lee at collabora.co.uk>
Date:   Tue Sep 15 22:21:31 2015 +0800

    Add tests.patch.
---
 debian/patches/series      |  1 +
 debian/patches/tests.patch | 34 ++++++++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6726658
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+tests.patch
diff --git a/debian/patches/tests.patch b/debian/patches/tests.patch
new file mode 100644
index 0000000..4ac1cfd
--- /dev/null
+++ b/debian/patches/tests.patch
@@ -0,0 +1,34 @@
+--- a/test/at_test.rb
++++ b/test/at_test.rb
+@@ -1,5 +1,4 @@
+-require File.expand_path('../../lib/clockwork', __FILE__)
+-require 'rubygems'
++require "clockwork"
+ require 'test/unit'
+ require 'mocha/setup'
+ require 'time'
+--- a/test/clockwork_test.rb
++++ b/test/clockwork_test.rb
+@@ -1,4 +1,4 @@
+-require File.expand_path('../../lib/clockwork', __FILE__)
++require "clockwork"
+ require 'test/unit'
+ require 'mocha/setup'
+ 
+--- a/test/event_test.rb
++++ b/test/event_test.rb
+@@ -1,4 +1,4 @@
+-require File.expand_path('../../lib/clockwork', __FILE__)
++require "clockwork"
+ require 'active_support/test_case'
+ 
+ class EventTest < ActiveSupport::TestCase
+--- a/test/manager_test.rb
++++ b/test/manager_test.rb
+@@ -1,5 +1,4 @@
+-require File.expand_path('../../lib/clockwork', __FILE__)
+-require 'rubygems'
++require "clockwork"
+ require 'test/unit'
+ require 'mocha/setup'
+ require 'time'

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



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