On Sun, 17 Nov 2019 19:04:03 +0530 Pirate Praveen
<prav...@onenetbeyond.org> wrote:
> Package: gitlab
>
> Severity: grave
>
> version: 12.2.9-2
>
>
> Could not find gem 'rubyzip (>= 1.2.2, ~> 1.2)' in any of the gem
> sources listed in your Gemfile.
>
>
> All tests pass with rubyzip 2.0
> <https://gitlab.com/utkarsh2102/gitlab/merge_requests/1> so we can just
> add this patch to Gemfile and bump minimum version in control to >=
> 2.0~ to force new version in updates.
>
>
> Though we need only ~> 2.0 instead of ~> 2.0.0 in Gemfile.

Right, since the CI passes on my fork, I've written a patch that is
attached.
Hope that should fix this :)
Additionally shall fix this in the repo as well.


Best,
Utkarsh
Description: This patch bumps rubyzip to 2.0.
Author: Utkarsh Gupta <guptautkarsh2...@gmail.com>
Bug-Debian: https://bugs.debian.org/944906
Last-Update: 2019-11-19

--- a/Gemfile
+++ b/Gemfile
@@ -61,7 +61,7 @@
 
 # GitLab Pages
 gem 'validates_hostname', '~> 1.0', '>= 1.0.6'
-gem 'rubyzip', '~> 1.2', '>= 1.2.2', require: 'zip'
+gem 'rubyzip', '~> 2.0', '>= 2.0.0', require: 'zip'
 # GitLab Pages letsencrypt support
 gem 'acme-client', '~> 2.0', '>= 2.0.2'
 
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -845,7 +845,7 @@
       sexp_processor (~> 4.9)
     rubyntlm (0.6.2)
     rubypants (0.2.0)
-    rubyzip (1.2.2)
+    rubyzip (2.0.0)
     rugged (0.28.3.1)
     safe_yaml (1.0.4)
     sanitize (4.6.6)
@@ -1220,7 +1220,7 @@
   ruby-prof (~> 0.17.0)
   ruby-progressbar
   ruby_parser (~> 3.8)
-  rubyzip (~> 1.2.2)
+  rubyzip (~> 2.0.0)
   rugged (~> 0.28)
   sanitize (~> 4.6)
   sassc-rails (~> 2.1.0)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to