Add bbm dictionary content to cop cache key
The BackgroundMigration/DictionaryFile relies upon the contents of the files in db/docs/batched_background_migrations/ as well as the Ruby source file of the background migration. Currently, the Rucocop results cache will not be updated if the contents of the docs folder changes, which leads to false positives and negatives. This change includes the contents of the docs folder in the cache checksum, so any changes in that directory will bust the result cache.
显示
- rubocop/batched_background_migrations_dictionary.rb 4 个添加, 0 个删除rubocop/batched_background_migrations_dictionary.rb
- rubocop/cop/background_migration/dictionary_file.rb 4 个添加, 0 个删除rubocop/cop/background_migration/dictionary_file.rb
- spec/rubocop/batched_background_migrations_dictionary_spec.rb 10 个添加, 0 个删除.../rubocop/batched_background_migrations_dictionary_spec.rb
- spec/rubocop/cop/background_migration/dictionary_file_spec.rb 8 个添加, 0 个删除.../rubocop/cop/background_migration/dictionary_file_spec.rb
想要评论请 注册 或 登录