lib/boop.rb in boop-0.1.0 vs lib/boop.rb in boop-0.2.0
- old
+ new
@@ -28,10 +28,9 @@
commit_and_push!(filename)
print_url(filename)
end
- # TODO: Have commit message contain /p/blah or /h/blah, instead of just "blah".
def commit_and_push!(filename)
Dir.chdir(@repo_dir) do
`git add #{filename} >/dev/null`
`git commit -m "Add paste: #{filename}" >/dev/null`
`git push >/dev/null`