Branch: refs/heads/depfu/update/rubocop-0.70.0 Home: https://github.com/openSUSE/software-o-o Commit: 7e47cd1fbbe2d00dd6937b819d7b0ac276fd2dc6 https://github.com/openSUSE/software-o-o/commit/7e47cd1fbbe2d00dd6937b819d7b... Author: Alexander Graul <agraul@suse.com> Date: 2019-05-31 (Fri, 31 May 2019) Changed paths: M Capfile M Gemfile M Rakefile M Vagrantfile M app/controllers/application_controller.rb M app/controllers/distributions_controller.rb M app/controllers/download_controller.rb M app/controllers/images_controller.rb M app/controllers/obs_controller.rb M app/controllers/package_controller.rb M app/controllers/search_controller.rb M app/helpers/application_helper.rb M app/helpers/distribution_helper.rb M app/helpers/main_helper.rb M app/helpers/package_helper.rb M app/helpers/search_helper.rb M app/models/appdata.rb M app/models/screenshot.rb M config.ru M lib/api_connect.rb M lib/obs.rb M lib/tasks/fill_search_cache.rake M lib/tasks/gettext.rake M test/helper/search_helper_test.rb M test/integration/distributions_test.rb M test/integration/obs_controller_test.rb M test/integration/package_controller_test.rb M test/integration/validate_configuration_test.rb M test/models/appdata_test.rb M test/models/screenshot_test.rb M test/obs_test.rb M test/system/package_information_test.rb M test/system/search_results_test.rb M test/test_helper.rb Log Message: ----------- Add "frozen_string_literal: true" magic comments Rubocop 0.70.0 starts enforcing the presence of this comments by default. The comment causes all strings in the file to be frozen, i.e. an implicit `String.freeze` is called on each string literal. The benefits are: 1. Better performance with frozen strings 2. String literals can't be changed easily 3. Frozen string literals will be the default in Ruby 3, this makes the code compatible in that regard