diff -Nru ruby-simplecov-0.11.1/debian/changelog ruby-simplecov-0.11.1/debian/changelog --- ruby-simplecov-0.11.1/debian/changelog 2015-12-14 07:44:26.000000000 -0500 +++ ruby-simplecov-0.11.1/debian/changelog 2017-02-22 10:05:32.000000000 -0500 @@ -1,3 +1,9 @@ +ruby-simplecov (0.11.1-1ubuntu1) devel; urgency=medium + + * d/p/newer_json.patch: Relax json dep to allow newer versions. + + -- Unit 193 Wed, 22 Feb 2017 10:05:32 -0500 + ruby-simplecov (0.11.1-1) unstable; urgency=medium * Team upload diff -Nru ruby-simplecov-0.11.1/debian/control ruby-simplecov-0.11.1/debian/control --- ruby-simplecov-0.11.1/debian/control 2015-12-14 07:44:26.000000000 -0500 +++ ruby-simplecov-0.11.1/debian/control 2017-02-22 10:05:32.000000000 -0500 @@ -1,7 +1,8 @@ Source: ruby-simplecov Section: ruby Priority: optional -Maintainer: Debian Ruby Extras Maintainers +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Ruby Extras Maintainers Uploaders: Praveen Arimbrathodiyil Build-Depends: debhelper (>= 9~), gem2deb, diff -Nru ruby-simplecov-0.11.1/debian/patches/newer_json.patch ruby-simplecov-0.11.1/debian/patches/newer_json.patch --- ruby-simplecov-0.11.1/debian/patches/newer_json.patch 1969-12-31 19:00:00.000000000 -0500 +++ ruby-simplecov-0.11.1/debian/patches/newer_json.patch 2017-02-22 10:04:59.000000000 -0500 @@ -0,0 +1,34 @@ +From b47a3bd33d70f90ea2339ec2cef2c7427a6cb825 Mon Sep 17 00:00:00 2001 +From: Erik Michaels-Ober +Date: Sat, 2 Jul 2016 14:56:10 -0700 +Subject: [PATCH] Relax JSON dependency to allow 2.x + +Index: ruby-simplecov-0.11.1/Gemfile +=================================================================== +--- ruby-simplecov-0.11.1.orig/Gemfile ++++ ruby-simplecov-0.11.1/Gemfile +@@ -29,6 +29,11 @@ group :test do + gem "rubocop", ">= 0.30" + gem "test-unit", "~> 3.0" + end ++ if RUBY_VERSION.start_with? '1.' ++ gem "json", "~> 1.8" ++ else ++ gem "json", "~> 2.0" ++ end + end + + gemspec +Index: ruby-simplecov-0.11.1/simplecov.gemspec +=================================================================== +--- ruby-simplecov-0.11.1.orig/simplecov.gemspec ++++ ruby-simplecov-0.11.1/simplecov.gemspec +@@ -14,7 +14,7 @@ Gem::Specification.new do |gem| + + gem.required_ruby_version = ">= 1.8.7" + +- gem.add_dependency "json", "~> 1.8" ++ gem.add_dependency "json", ">= 1.8", "< 3" + gem.add_dependency "simplecov-html", "~> 0.10.0" + gem.add_dependency "docile", "~> 1.1.0" + diff -Nru ruby-simplecov-0.11.1/debian/patches/series ruby-simplecov-0.11.1/debian/patches/series --- ruby-simplecov-0.11.1/debian/patches/series 2015-12-14 07:44:26.000000000 -0500 +++ ruby-simplecov-0.11.1/debian/patches/series 2017-02-22 10:04:26.000000000 -0500 @@ -1,3 +1,4 @@ remove-rubygems-bundler.patch fix-test-suite.patch dont-mess-with-the-load-path.patch +newer_json.patch diff -Nru ruby-simplecov-0.11.1/debian/rules ruby-simplecov-0.11.1/debian/rules --- ruby-simplecov-0.11.1/debian/rules 2015-12-14 07:44:26.000000000 -0500 +++ ruby-simplecov-0.11.1/debian/rules 2017-02-22 10:05:32.000000000 -0500 @@ -10,4 +10,5 @@ clean: dh clean --buildsystem=ruby --with ruby + rm -f metadata.yml find . -name coverage |xargs rm -rf