Skip to content

This fixes our rufo version to 0.9.0

Bob Van Landuyt requested to merge bvl-fix-rufo-version into master

0.10.0 broke our builds because of an incompatible change with rubocop.

Rubocop wants this format for a case statement:

  request = case method
            when :get
              Net::HTTP::Get.new(url)
            when :post
              Net::HTTP::Post.new(url)
            when :put
              Net::HTTP::Put.new(url)
            else
              raise "Unknown method: #{method}"
            end

While rufo changes that to

  request = case method
    when :get
      Net::HTTP::Get.new(url)
    when :post
      Net::HTTP::Post.new(url)
    when :put
      Net::HTTP::Put.new(url)
    else
      raise "Unknown method: #{method}"
    end

Personally, I prefer the first. But that doesn't really matter 😁. This just fixes the build so we can move on.

Closes https://gitlab.com/gitlab-org/labkit-ruby/issues/8

Edited by Bob Van Landuyt

Merge request reports