lib/method_log/commit.rb in method_log-0.0.1 vs lib/method_log/commit.rb in method_log-0.0.2
- old
+ new
@@ -4,10 +4,10 @@
module MethodLog
class Commit
attr_reader :sha
- def initialize(repository: repository, sha: sha)
+ def initialize(repository: nil, sha: nil)
@repository = repository
@sha = sha
@index = Rugged::Index.new
end
\ No newline at end of file