Sha256: c667c8ad7b6b4cd75a1c5630c07dbb3419d76789f75c56b4adf60c1759659c84
Contents?: true
Size: 510 Bytes
Versions: 13
Compression:
Stored size: 510 Bytes
Contents
difficulty 2 description "You will be asked for the hash of most recent commit. You will need to investigate the logs of the repository for this." setup do repo.init file = File.new("newfile.rb", "w") repo.add("newfile.rb") repo.commit_all("THIS IS THE COMMIT YOU ARE LOOKING FOR!") end solution do repo.commits.last.id_abbrev == request("What is the hash of the most recent commit?")[0..6] end hint do puts "You need to investigate the logs. There is probably a command for doing that!" end
Version data entries
13 entries across 13 versions & 1 rubygems