Class: Dependabot::Uv::FileUpdater
- Inherits:
-
FileUpdaters::Base
- Object
- FileUpdaters::Base
- Dependabot::Uv::FileUpdater
- Extended by:
- T::Sig
- Defined in:
- lib/dependabot/uv/file_updater.rb,
lib/dependabot/uv/file_updater/lock_file_updater.rb,
lib/dependabot/uv/file_updater/pyproject_preparer.rb,
lib/dependabot/uv/file_updater/compile_file_updater.rb,
lib/dependabot/uv/file_updater/requirement_replacer.rb,
lib/dependabot/uv/file_updater/requirement_file_updater.rb
Defined Under Namespace
Classes: CompileFileUpdater, LockFileUpdater, PyprojectPreparer, RequirementFileUpdater, RequirementReplacer
Instance Method Summary collapse
Instance Method Details
#updated_dependency_files ⇒ Object
20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/dependabot/uv/file_updater.rb', line 20 def updated_dependency_files updated_files = updated_pip_compile_based_files updated_files += updated_uv_lock_files if updated_files.none? || updated_files.sort_by(&:name) == dependency_files.sort_by(&:name) raise "No files have changed!" end updated_files end |