Browse Source

Minor tweaks; push spec.

master
Ben Kurtovic 8 years ago
parent
commit
632efc3f5b
3 changed files with 7 additions and 2 deletions
  1. +2
    -1
      lib/kgrader/backend/svn.rb
  2. +4
    -0
      lib/kgrader/runtime.rb
  3. +1
    -1
      spec/cs241h

+ 2
- 1
lib/kgrader/backend/svn.rb View File

@@ -22,7 +22,8 @@ module KGrader::Backend
unless test_okay url unless test_okay url
print "svn: password: " print "svn: password: "
@password = STDIN.noecho(&:gets).chomp @password = STDIN.noecho(&:gets).chomp
print "svn: bad password or other network issues" unless test_okay url
puts
puts "svn: bad password or other network issues" unless test_okay url
end end
end end




+ 4
- 0
lib/kgrader/runtime.rb View File

@@ -33,5 +33,9 @@ module KGrader
def shake def shake
ARGV[0] ARGV[0]
end end

def getpath(filename)
File.join File.dirname($0), filename
end
end end
end end

+ 1
- 1
spec/cs241h

@@ -1 +1 @@
Subproject commit 840fb087ef3a9644a4f1ebb01a6baf555a7aa496
Subproject commit 24d9363c329e1993c847894a1f8b1c4ef79c01db

Loading…
Cancel
Save