Class: Dependabot::RustToolchain::FileUpdater
- Inherits:
-
FileUpdaters::Base
- Object
- FileUpdaters::Base
- Dependabot::RustToolchain::FileUpdater
- Extended by:
- T::Sig
- Defined in:
- lib/dependabot/rust_toolchain/file_updater.rb
Instance Method Summary collapse
Instance Method Details
#updated_dependency_files ⇒ Object
17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/dependabot/rust_toolchain/file_updater.rb', line 17 def updated_dependency_files updated_files = [] rust_toolchain_files.each do |file| next unless file_changed?(file) updated_files << updated_file(file: file, content: update(T.must(file.content))) end updated_files end |