[DRE-commits] [ruby-rufus-scheduler] 02/03: drop patches

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Wed Sep 6 16:52:30 UTC 2017


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

praveen pushed a commit to branch master
in repository ruby-rufus-scheduler.

commit ddb83c4626de9007c776653402c40682c850240d
Author: Pirate Praveen <praveen at debian.org>
Date:   Wed Sep 6 21:54:54 2017 +0530

    drop patches
---
 debian/patches/fix-tests.patch | 24 ------------------------
 debian/patches/series          |  1 -
 2 files changed, 25 deletions(-)

diff --git a/debian/patches/fix-tests.patch b/debian/patches/fix-tests.patch
deleted file mode 100644
index 26eb1b5..0000000
--- a/debian/patches/fix-tests.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Description: Patch tests to fix current month dependency
- One of the tests were using the expression `current month + 1` inside a time
- parser function, which resulted in an error if current month was 12 (i.e Dec)
-Author: Balasankar C <balasankarc at autistici.org>
-Bug: https://github.com/jmettraux/rufus-scheduler/issues/182
-Applied-Upstream: https://github.com/jmettraux/rufus-scheduler/pull/183
-Last-Update: 2015-12-08
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- a/spec/job_cron_spec.rb
-+++ b/spec/job_cron_spec.rb
-@@ -108,7 +108,11 @@
-     it 'returns the next trigger time' do
- 
-       n = Time.now
--      nt = Time.parse("#{n.year}-#{n.month + 1}-01")
-+      if n.month == 12
-+          nt = Time.parse("#{n.year + 1}-01-01")
-+      else
-+          nt = Time.parse("#{n.year}-#{n.month + 1}-01")
-+      end
- 
-       expect(
-         @scheduler.schedule_cron('* * 1 * *', lambda {}).next_time
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index d04b329..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-fix-tests.patch

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



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