diff -Nru ruby-jquery-ui-rails-6.0.1+dfsg/debian/changelog ruby-jquery-ui-rails-6.0.1+dfsg/debian/changelog --- ruby-jquery-ui-rails-6.0.1+dfsg/debian/changelog 2020-11-07 01:11:38.000000000 +0000 +++ ruby-jquery-ui-rails-6.0.1+dfsg/debian/changelog 2023-01-27 00:46:10.000000000 +0000 @@ -1,3 +1,13 @@ +ruby-jquery-ui-rails (6.0.1+dfsg-7) unstable; urgency=medium + + * Team upload. + * d/control (Build-Depends, Depends): Require jquery-ui >= 1.13. + * d/patches/upgrade-jquery-ui-to-1.13.patch: Add patch. + - Allow to build the package with jquery-ui 1.13.x (closes: #1002233). + * d/patches/series: Add new patch. + + -- Daniel Leidert Fri, 27 Jan 2023 01:46:10 +0100 + ruby-jquery-ui-rails (6.0.1+dfsg-6) unstable; urgency=medium * Team upload. diff -Nru ruby-jquery-ui-rails-6.0.1+dfsg/debian/control ruby-jquery-ui-rails-6.0.1+dfsg/debian/control --- ruby-jquery-ui-rails-6.0.1+dfsg/debian/control 2020-11-07 01:11:38.000000000 +0000 +++ ruby-jquery-ui-rails-6.0.1+dfsg/debian/control 2023-01-27 00:46:10.000000000 +0000 @@ -3,11 +3,11 @@ Priority: optional Maintainer: Debian Ruby Team Uploaders: Pirate Praveen -Build-Depends: debhelper-compat (= 12), +Build-Depends: debhelper-compat (= 13), gem2deb, - node-jquery-ui, + node-jquery-ui (>= 1.13.0~), ruby-bundler -Standards-Version: 4.5.0 +Standards-Version: 4.5.1 Vcs-Git: https://salsa.debian.org/ruby-team/ruby-jquery-ui-rails.git Vcs-Browser: https://salsa.debian.org/ruby-team/ruby-jquery-ui-rails Homepage: https://github.com/joliss/jquery-ui-rails @@ -16,8 +16,8 @@ Package: ruby-jquery-ui-rails Architecture: all XB-Ruby-Versions: ${ruby:Versions} -Depends: libjs-jquery-ui (>= 1.12.1~), - ruby | ruby-interpreter, +Depends: libjs-jquery-ui (>= 1.13.0~), + ruby, ruby-railties, ${misc:Depends}, ${shlibs:Depends} diff -Nru ruby-jquery-ui-rails-6.0.1+dfsg/debian/patches/series ruby-jquery-ui-rails-6.0.1+dfsg/debian/patches/series --- ruby-jquery-ui-rails-6.0.1+dfsg/debian/patches/series 2020-11-07 01:11:38.000000000 +0000 +++ ruby-jquery-ui-rails-6.0.1+dfsg/debian/patches/series 2023-01-27 00:46:10.000000000 +0000 @@ -1,3 +1,4 @@ fix-Rakefile-regex.patch fix-jquery-ui-check.patch engine-root.patch +upgrade-jquery-ui-to-1.13.patch diff -Nru ruby-jquery-ui-rails-6.0.1+dfsg/debian/patches/upgrade-jquery-ui-to-1.13.patch ruby-jquery-ui-rails-6.0.1+dfsg/debian/patches/upgrade-jquery-ui-to-1.13.patch --- ruby-jquery-ui-rails-6.0.1+dfsg/debian/patches/upgrade-jquery-ui-to-1.13.patch 1970-01-01 00:00:00.000000000 +0000 +++ ruby-jquery-ui-rails-6.0.1+dfsg/debian/patches/upgrade-jquery-ui-to-1.13.patch 2023-01-27 00:46:10.000000000 +0000 @@ -0,0 +1,42 @@ +From: Daniel Leidert +Date: Fri, 27 Jan 2023 01:41:08 +0100 +Subject: Upgrade jquery-ui to 1.13 + +This updates jquery-ui to 1.13. Also we require the set gem for Set.new. + +Origin: https://github.com/jquery-ui-rails/jquery-ui-rails/pull/139/files#diff-ee98e028c59b193d58fde56ab4daf54d43c486ae674e63d50ddf300b07943e0f +--- + Rakefile | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/Rakefile b/Rakefile +index b9b5e8d..b2d246b 100644 +--- a/Rakefile ++++ b/Rakefile +@@ -1,6 +1,7 @@ + Encoding.default_external = "UTF-8" if defined?(Encoding) + require 'json' + require 'bundler/gem_tasks' ++require 'set' + + # returns the source filename for a named file in the 'dependencies' + # array of a JSON build file +@@ -118,6 +119,7 @@ task :javascripts => :submodule do + mkdir_p target_ui_dir + '/effects' + mkdir_p target_ui_dir + '/widgets' + mkdir_p target_ui_dir + '/i18n' ++ mkdir_p target_ui_dir + '/vendor/jquery-color' + + Dir.glob("jquery-ui/ui/**/*.js").each do |path| + basename = File.basename(path) +@@ -170,6 +172,10 @@ task :javascripts => :submodule do + clean_path = remove_js_extension(path).gsub('/ui', '') + out.write("//= require #{clean_path}\n") + end ++ Dir.glob("jquery-ui/ui/vendor/jquery-color/*.js").sort.each do |path| ++ clean_path = remove_js_extension(path).gsub('/ui', '') ++ out.write("//= require #{clean_path}\n") ++ end + end + end + diff -Nru ruby-jquery-ui-rails-6.0.1+dfsg/debian/salsa-ci.yml ruby-jquery-ui-rails-6.0.1+dfsg/debian/salsa-ci.yml --- ruby-jquery-ui-rails-6.0.1+dfsg/debian/salsa-ci.yml 1970-01-01 00:00:00.000000000 +0000 +++ ruby-jquery-ui-rails-6.0.1+dfsg/debian/salsa-ci.yml 2023-01-27 00:46:10.000000000 +0000 @@ -0,0 +1,4 @@ +--- +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml