[discourse-web] Patch refresh after upstream release bump



commit 19c26061291c47e51d61df0ebc83d400e1de93dd
Author: Andrea Veri <averi redhat com>
Date:   Tue Jun 4 16:08:08 2019 +0200

    Patch refresh after upstream release bump

 patches/01_brotli_force_argument.patch | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/patches/01_brotli_force_argument.patch b/patches/01_brotli_force_argument.patch
index 70b0ae6..4a5d4da 100644
--- a/patches/01_brotli_force_argument.patch
+++ b/patches/01_brotli_force_argument.patch
@@ -1,11 +1,11 @@
---- lib/tasks/assets.rake.orig 2019-04-26 15:30:02.169557186 +0200
-+++ lib/tasks/assets.rake      2019-04-26 15:31:16.973758098 +0200
+--- lib/tasks/assets.rake.orig 2019-06-04 15:21:36.329147095 +0200
++++ lib/tasks/assets.rake      2019-06-04 15:23:08.360987411 +0200
 @@ -117,7 +117,7 @@
- 
  # different brotli versions use different parameters
- def brotli_command(path)
--  "brotli -f --quality=11 #{path} --output=#{path}.br"
-+  "brotli --force --quality 11 --input #{path} --output #{path}.br"
+ def brotli_command(path, max_compress)
+   compression_quality = max_compress ? "11" : "6"
+-  "brotli -f --quality=#{compression_quality} #{path} --output=#{path}.br"
++  "brotli --force --quality #{compression_quality} --input #{path} --output #{path}.br"
  end
  
- def brotli(path)
+ def brotli(path, max_compress)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]