Sha256: ef0f461e15ce21e68d6ef9daf08f49d97b852826d65ed6a43a4d132721130c41
Contents?: true
Size: 552 Bytes
Versions: 4
Compression:
Stored size: 552 Bytes
Contents
difficulty 2 description "You will be asked for the first 7 chars of 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 are the first 7 characters of the hash of the most recent commit?") end hint do puts "You need to investigate the logs. There is probably a command for doing that!" end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
githug-0.3.2 | levels/log.rb |
githug-0.3.1 | levels/log.rb |
githug-0.3.0 | levels/log.rb |
githug-0.2.12 | levels/log.rb |