[DRE-commits] [ruby-rgen] 05/07: Drop patches included upstream
Stig Sandbeck Mathisen
ssm at debian.org
Wed Jun 1 21:50:05 UTC 2016
This is an automated email from the git hooks/post-receive script.
ssm pushed a commit to branch master
in repository ruby-rgen.
commit 38520cbac4058bec5f12540774d60e4da92923ea
Author: Stig Sandbeck Mathisen <ssm at debian.org>
Date: Wed Jun 1 23:34:08 2016 +0200
Drop patches included upstream
---
...-larger-than-Fixnum-max-to-test-Bignum-su.patch | 29 ----------------------
debian/patches/series | 1 -
2 files changed, 30 deletions(-)
diff --git a/debian/patches/0001-Use-a-value-larger-than-Fixnum-max-to-test-Bignum-su.patch b/debian/patches/0001-Use-a-value-larger-than-Fixnum-max-to-test-Bignum-su.patch
deleted file mode 100644
index 43a010d..0000000
--- a/debian/patches/0001-Use-a-value-larger-than-Fixnum-max-to-test-Bignum-su.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From: Hans de Graaff <hans at degraaff.org>
-Date: Thu, 21 Aug 2014 09:06:26 +0200
-Subject: Use a value larger than Fixnum max to test Bignum support.
-
-On 64 bit system the previous test value 1234567890 still fits in a Fixnum
-so the tests will fail. Use a dynamically calculated value instead to ensure
-that the value will force a Bignum in all cases.
-
-Fixnum maximum calculation from
-http://stackoverflow.com/questions/535721/ruby-max-integer
----
- test/metamodel_builder_test.rb | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/test/metamodel_builder_test.rb b/test/metamodel_builder_test.rb
-index 4f0308b..4567a86 100644
---- a/test/metamodel_builder_test.rb
-+++ b/test/metamodel_builder_test.rb
-@@ -268,8 +268,8 @@ class MetamodelBuilderTest < Test::Unit::TestCase
- sc = mm::SimpleClass.new
- sc.longWithDefault = 5
- assert_equal 5, sc.longWithDefault
-- sc.longWithDefault = 1234567890
-- assert_equal 1234567890, sc.longWithDefault
-+ sc.longWithDefault = (2**(0.size * 8 -2) -1) + 1
-+ assert_equal (2**(0.size * 8 -2) -1) + 1, sc.longWithDefault
- assert sc.longWithDefault.is_a?(Bignum)
- assert sc.longWithDefault.is_a?(Integer)
- err = assert_raise StandardError do
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 7d55dbf..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-0001-Use-a-value-larger-than-Fixnum-max-to-test-Bignum-su.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rgen.git
More information about the Pkg-ruby-extras-commits
mailing list