lib/bhook/md_file.rb in bhook-0.3.0 vs lib/bhook/md_file.rb in bhook-0.3.1
- old
+ new
@@ -15,10 +15,10 @@
attr_reader :src_file_date, :src_file_sha, :src_file_url
sig { returns(String) }
attr_reader :md
- sig { params(src_file_path: Pathname, out_path: Pathname, git: Git::Base, config: Bhook::Config).void }
+ sig { params(src_file_path: Pathname, out_path: Pathname, git: Git::Base, config: Bhook::SourceConfig).void }
def initialize(src_file_path, out_path, git, config)
L.debug "Reading: #{src_file_path}"
@md = T.let(File.read(src_file_path), String)
@src_file_path = src_file_path
@out_path = out_path