[obs-commits] [openSUSE/software-o-o] 738ae6: Update rubocop to version 0.70.0

Branch: refs/heads/master Home: https://github.com/openSUSE/software-o-o Commit: 738ae6a55be5b4d0a5087893b238a932744ae5e4 https://github.com/openSUSE/software-o-o/commit/738ae6a55be5b4d0a5087893b238... Author: depfu[bot] <depfu[bot]@users.noreply.github.com> Date: 2019-05-27 (Mon, 27 May 2019) Changed paths: M Gemfile.lock Log Message: ----------- Update rubocop to version 0.70.0 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 Commit: 3945b7b811c22051eba99a11ea0e31814bbd5aca https://github.com/openSUSE/software-o-o/commit/3945b7b811c22051eba99a11ea0e... Author: Duncan Mac-Vicar P <dmacvicar@suse.de> Date: 2019-05-31 (Fri, 31 May 2019) Changed paths: M Capfile M Gemfile M Gemfile.lock 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: ----------- Merge pull request #585 from openSUSE/depfu/update/rubocop-0.70.0 Update rubocop: 0.68.1 → 0.70.0 (major) Compare: https://github.com/openSUSE/software-o-o/compare/60b2923aad4e...3945b7b811c2
participants (1)
-
Duncan Mac-Vicar P.