Sha256: 044ecc8c42133d6cb7a4a83b7ee5ab48369d1d670d55ab81e61e3e30c151b0be

Contents?: true

Size: 554 Bytes

Versions: 22

Compression:

Stored size: 554 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

22 entries across 22 versions & 1 rubygems

Version Path
githug-0.2.11 levels/log.rb
githug-0.2.10 levels/log.rb
githug-0.2.9 levels/log.rb
githug-0.2.8 levels/log.rb
githug-0.2.7 levels/log.rb
githug-0.2.6 levels/log.rb
githug-0.2.5 levels/log.rb
githug-0.2.4 levels/log.rb
githug-0.2.3 levels/log.rb
githug-0.2.2 levels/log.rb
githug-0.2.1 levels/log.rb
githug-0.2.0 levels/log.rb
githug-0.1.8 levels/log.rb
githug-0.1.7 levels/log.rb
githug-0.1.6 levels/log.rb
githug-0.1.5 levels/log.rb
githug-0.1.4 levels/log.rb
githug-0.1.3 levels/log.rb
githug-0.1.2 levels/log.rb
githug-0.1.1 levels/log.rb