git-tracker 1.6.1

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Steven Harman 2013-08-12 15:03:45 -04:00 committed by Adam Vandenberg
parent 2455c52a72
commit 3ffd221843

View file

@ -2,8 +2,8 @@ require 'formula'
class GitTracker < Formula
homepage 'https://github.com/stevenharman/git_tracker'
url 'https://github.com/stevenharman/git_tracker/archive/v1.5.1.tar.gz'
sha1 '2b492583b51fc84186ddb3f72ad363f84d7baf53'
url 'https://github.com/stevenharman/git_tracker/archive/v1.6.1.tar.gz'
sha1 'e1ea5ce789100a3e197dfcfb8b4d697d70018237'
head 'https://github.com/stevenharman/git_tracker.git'
@ -13,8 +13,9 @@ class GitTracker < Formula
test do
require 'open3'
Open3.popen3("#{bin}/git-tracker", "test-command") do |_, stdout, _|
assert_equal "git-tracker is here. How are you?", stdout.read.strip
Open3.popen3("#{bin}/git-tracker", "help") do |_, stdout, _|
install_message = /\Agit-tracker \d+(\.\d+)* is installed\.\z/
assert install_message.match(stdout.readline.strip), "git-tracker is not installed"
end
end
end