Sha256: 70ee26c72de3b1c5dbed2870e698b37e7c03d4f371f12b18cab14d8838b046ff

Contents?: true

Size: 298 Bytes

Versions: 31

Compression:

Stored size: 298 Bytes

Contents

difficulty 1
description "The README file has been added to your staging area, now commit it."

setup do
  repo.init
  FileUtils.touch("README")
  repo.add("README")
end

solution do
  return false if repo.commits.empty?
  true
end

hint do
  puts "You must include a message when you commit."
end

Version data entries

31 entries across 31 versions & 2 rubygems

Version Path
githug-0.3.3 levels/commit.rb
githug-0.3.2 levels/commit.rb
githug-0.3.1 levels/commit.rb
githug-0.3.0 levels/commit.rb
githug-0.2.12 levels/commit.rb
githug-0.2.11 levels/commit.rb
githug-0.2.10 levels/commit.rb
githug-0.2.9 levels/commit.rb
githug-0.2.8 levels/commit.rb
githug-0.2.7 levels/commit.rb
githug-0.2.6 levels/commit.rb
githug-0.2.5 levels/commit.rb
githug-0.2.4 levels/commit.rb
githug-0.2.3 levels/commit.rb
githug-0.2.2 levels/commit.rb
githug-0.2.1 levels/commit.rb
githug-0.2.0 levels/commit.rb
githug-0.1.8 levels/commit.rb
githug-0.1.7 levels/commit.rb
githug-0.1.6 levels/commit.rb