Skip to content

Update unicode-display_width (Rubocop dependency)

This PR updates the unicode-display_width gem (required by rubocop) to 1.6.0

It was previously at v1.1.0, which uses the deprecated Gem.gunzip method, and as such generated warnings when running rubocop. The usage of deprecated functions was removed in unicode-display_width v1.3.3.

Before:

$ bundle exec rubocop                                            
/home/puppy/dev/ruby/gitlab-org/gitlab-exporter/.bundle/gems/gems/rainbow-2.1.0/lib/rainbow/color.rb:15: warning: constant ::Fixnum is deprecated
/home/puppy/dev/ruby/gitlab-org/gitlab-exporter/.bundle/gems/gems/rainbow-2.1.0/lib/rainbow/color.rb:15: warning: constant ::Fixnum is deprecated
Inspecting 32 files
NOTE: Gem.gunzip is deprecated; use Gem::Util.gunzip instead. It will be removed on or after 2018-12-01.
Gem.gunzip called from /home/puppy/dev/ruby/gitlab-org/gitlab-exporter/.bundle/gems/gems/unicode-display_width-1.1.0/lib/unicode/display_width/index.rb:5.
................................

/home/puppy/dev/ruby/gitlab-org/gitlab-exporter/.bundle/gems/gems/rainbow-2.1.0/lib/rainbow/color.rb:15: warning: constant ::Fixnum is deprecated
32 files inspected, no offenses detected
$

After:

~/dev/ruby/gitlab-org/gitlab-exporter$ bundle exec rspec
.........................................................

Finished in 0.49403 seconds (files took 0.13292 seconds to load)
57 examples, 0 failures

~/dev/ruby/gitlab-org/gitlab-exporter$

Merge request reports