.vbw-planning/milestones/03-coverage-analysis-quick-wins-critical-path-test-co/phases/01-coverage-analysis-quick-wins/PLAN-01-SUMMARY.md
5f02db8style(frozen-string-literal): add pragma to all Ruby files.rb filesconfig/routes.rb and 4 migration files.rb filestest/test_helper.rb had no shebang, straightforward prepend.rb filesgit ls-files -- '*.rb' | ... | grep -cv 'frozen_string_literal: true' returns 0bin/rubocop --only Style/FrozenStringLiteralComment exits 0 (341 files, no offenses)bin/rails test passes: 473 runs, 1927 assertions, 0 failures, 0 errorsThe plan scoped only .rb files, but the success criterion requires bin/rubocop --only Style/FrozenStringLiteralComment to pass. RuboCop also inspects non-.rb Ruby files: Gemfile, Rakefile, source_monitor.gemspec, 3 .rake files, test/dummy/Gemfile, test/dummy/Rakefile, 5 test/dummy/bin/* scripts, and test/dummy/config.ru. All 14 were given the pragma.
RuboCop was scanning 179 files under test/tmp/ (untracked generated host app templates) which all lacked the pragma. Since these are not git-tracked and are generated artifacts, added test/tmp/**/* to .rubocop.yml AllCops Exclude list rather than modifying generated files.
Five test/dummy/bin/* files had shebang lines. The pragma was correctly inserted after the shebang on line 2. Two files (bin/dev, bin/jobs) had a blank line between the shebang and the first require, which would have created a double blank line; these were cleaned up to have a single blank line separator.
.rb files..rubocop.yml change..rb file has # frozen_string_literal: true (REQ-13)Style/FrozenStringLiteralComment cop passes with zero offenses