[DRE-commits] [ruby-solve] 04/06: d/patches: Remove Change-Version-to-Semverse-Version patch (applied upstream)

Sebastien Badia sbadia-guest at moszumanska.debian.org
Thu Mar 3 15:17:00 UTC 2016


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

sbadia-guest pushed a commit to branch master
in repository ruby-solve.

commit 27bf26684bc4f8954722a55239b54be0965b9531
Author: Sebastien Badia <seb at sebian.fr>
Date:   Thu Mar 3 12:14:14 2016 -0300

    d/patches: Remove Change-Version-to-Semverse-Version patch (applied upstream)
---
 .../0003-Change-Version-to-Semverse-Version.patch  | 26 ----------------------
 1 file changed, 26 deletions(-)

diff --git a/debian/patches/0003-Change-Version-to-Semverse-Version.patch b/debian/patches/0003-Change-Version-to-Semverse-Version.patch
deleted file mode 100644
index 3a12d06..0000000
--- a/debian/patches/0003-Change-Version-to-Semverse-Version.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From: Hleb Valoshka <375gnu at gmail.com>
-Date: Thu, 25 Jun 2015 22:34:50 +0300
-Subject: Change Version to Semverse::Version
-
----
- lib/solve/constraint.rb | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/lib/solve/constraint.rb b/lib/solve/constraint.rb
-index dea41d3..85e6405 100644
---- a/lib/solve/constraint.rb
-+++ b/lib/solve/constraint.rb
-@@ -195,11 +195,11 @@ module Solve
-     # Returns true or false if the given version would be satisfied by
-     # the version constraint.
-     #
--    # @param [Version, #to_s] target
-+    # @param [Semverse::Version, #to_s] target
-     #
-     # @return [Boolean]
-     def satisfies?(target)
--      target = Version.coerce(target)
-+      target = Semverse::Version.coerce(target)
- 
-       return false if !version.zero? && greedy_match?(target)
- 

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



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