diff --git a/debian/changelog b/debian/changelog index bd8e4de..9bf5fb5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +ruby-omniauth-twitter (1.2.1-2) unstable; urgency=medium + + * Relax dependency on ruby-json + + -- Pirate Praveen Tue, 26 Jul 2016 17:31:34 +0530 + ruby-omniauth-twitter (1.2.1-1) unstable; urgency=medium * New upstream release diff --git a/debian/control b/debian/control index 4ed5f3c..adce497 100644 --- a/debian/control +++ b/debian/control @@ -6,7 +6,6 @@ Build-Depends: debhelper (>= 9~), gem2deb, rake, - ruby-json (<< 2.0), ruby-json (>= 1.3), ruby-multi-json, ruby-omniauth-oauth (<< 2.0), @@ -15,7 +14,7 @@ ruby-rspec, ruby-safe-yaml (>= 1.0.4), ruby-webmock -Standards-Version: 3.9.7 +Standards-Version: 3.9.8 Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-omniauth-twitter.git Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-omniauth-twitter.git Homepage: https://github.com/arunagw/omniauth-twitter @@ -25,7 +24,6 @@ Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ruby | ruby-interpreter, - ruby-json (<< 2.0), ruby-json (>= 1.3), ruby-omniauth-oauth (<< 2.0), ruby-omniauth-oauth (>= 1.1), diff --git a/debian/patches/relax-json.patch b/debian/patches/relax-json.patch new file mode 100644 index 0000000..317beb2 --- /dev/null +++ b/debian/patches/relax-json.patch @@ -0,0 +1,11 @@ +--- a/omniauth-twitter.gemspec ++++ b/omniauth-twitter.gemspec +@@ -17,7 +17,7 @@ + s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } + s.require_paths = ["lib"] + +- s.add_dependency 'json', '~> 1.3' ++ s.add_dependency 'json', '>= 1.3' + s.add_dependency 'omniauth-oauth', '~> 1.1' + s.add_development_dependency 'bundler', '~> 1.0' + end diff --git a/debian/patches/series b/debian/patches/series index 93f0321..96935be 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ remove-simplecov.patch +relax-json.patch