Run of fresh-snapshots for ruby-premailer

Try this locally (using silver-platter):

debian-svp new-upstream --snapshot ruby-premailer 

Merge these changes:

git pull https://janitor.debian.net/git/ruby-premailer fresh-snapshots/main
git pull https://janitor.debian.net/git/ruby-premailer fresh-snapshots/pristine-tar
git pull https://janitor.debian.net/git/ruby-premailer fresh-snapshots/upstream

Summary

Merged new upstream version: 1.14.2+git20210204.1.b6a2aba (was: 1.14.2).

Diff

Branch: main

diff --git a/CHANGELOG.md b/CHANGELOG.md
index d3c9ca7..7a95486 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,8 @@
 ## Premailer CHANGELOG
 
+### Verion 1.14.2
+* fix greedy url() parsing
+
 ### Verion 1.14.1
 * Fix to converting inline html 100px to 100
 
diff --git a/debian/changelog b/debian/changelog
index 4b884b3..e6d4025 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,6 @@
+ruby-premailer (1.14.2+git20210204.1.b6a2aba-1) UNRELEASED; urgency=low
+ -- Debian Janitor <janitor@jelmer.uk>  Mon, 05 Apr 2021 23:22:16 -0000
+
 ruby-premailer (1.14.2-1) unstable; urgency=medium
 
   * Team upload.
diff --git a/lib/premailer/premailer.rb b/lib/premailer/premailer.rb
index 915a241..aee854d 100755
--- a/lib/premailer/premailer.rb
+++ b/lib/premailer/premailer.rb
@@ -178,7 +178,7 @@ class Premailer
   # @option options [String] :output_encoding Output encoding option for Nokogiri adapter. Should be set to "US-ASCII" to output HTML entities instead of Unicode characters.
   # @option options [Boolean] :create_shorthands Combine several properties into a shorthand one, e.g. font: style weight size. Default is true.
   # @option options [Boolean] :html_fragment Handle HTML fragment without any HTML content wrappers. Default is false.
-  # @option options [Boolean] :drop_unmergeable_css_rules Do not include unmergeable css rules in a <tt><style><tt> tag. Default is false.  
+  # @option options [Boolean] :drop_unmergeable_css_rules Do not include unmergeable css rules in a <tt><style><tt> tag. Default is false.
   def initialize(html, options = {})
     @options = {:warn_level => Warnings::SAFE,
                 :line_length => 65,
@@ -499,14 +499,8 @@ public
   def self.canonicalize(uri) # :nodoc:
     u = uri.kind_of?(Addressable::URI) ? uri : Addressable::URI.parse(uri.to_s)
     u.normalize!
-    newpath = u.path
-    while newpath.gsub!(%r{([^/]+)/\.\./?}) { |match|
-        $1 == '..' ? match : ''
-      } do end
-      newpath = newpath.gsub(%r{/\./}, '/').sub(%r{/\.\z}, '/')
-      u.path = newpath
-      u.to_s
-    end
+    u.to_s
+  end
 
   # Check <tt>CLIENT_SUPPORT_FILE</tt> for any CSS warnings
   def check_client_support # :nodoc:

Branch: pristine-tar

diff --git a/ruby-premailer_1.14.2+git20210204.1.b6a2aba.orig.tar.gz.delta b/ruby-premailer_1.14.2+git20210204.1.b6a2aba.orig.tar.gz.delta
new file mode 100644
index 0000000..441764a
Binary files /dev/null and b/ruby-premailer_1.14.2+git20210204.1.b6a2aba.orig.tar.gz.delta differ
diff --git a/ruby-premailer_1.14.2+git20210204.1.b6a2aba.orig.tar.gz.id b/ruby-premailer_1.14.2+git20210204.1.b6a2aba.orig.tar.gz.id
new file mode 100644
index 0000000..d01d2a1
--- /dev/null
+++ b/ruby-premailer_1.14.2+git20210204.1.b6a2aba.orig.tar.gz.id
@@ -0,0 +1 @@
+c7b23aab793eea2ed9539074be41d4ef4a020f82

Branch: upstream

Tag: upstream/1.14.2+git20210204.1.b6a2aba

Diff is too long (more than 200 lines). Download the raw diff.

Debdiff

File lists identical (after any substitutions)

No differences were encountered in the control files

Resulting package

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t fresh-snapshots ruby-premailer

Lintian Result

Full worker log Full build log Full dist log