aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-07-07 13:08:15 -0700
committerMike McQuaid2014-07-07 13:08:15 -0700
commit2aef83663b32c6c93d24e1cdc52c7ddefbe3cf89 (patch)
tree4c6a2b84323514f005791ddf20787b3c0e7d6c51 /Library
parentd748a08e6130a28dfeb7d428fa90a83b46358b2e (diff)
downloadhomebrew-2aef83663b32c6c93d24e1cdc52c7ddefbe3cf89.tar.bz2
Revert "the_platinum_searcher 1.6.5"
This reverts commit d748a08e6130a28dfeb7d428fa90a83b46358b2e.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/the_platinum_searcher.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/the_platinum_searcher.rb b/Library/Formula/the_platinum_searcher.rb
index e9dfcae07..efd9d5555 100644
--- a/Library/Formula/the_platinum_searcher.rb
+++ b/Library/Formula/the_platinum_searcher.rb
@@ -2,8 +2,8 @@ require "formula"
class ThePlatinumSearcher < Formula
homepage "https://github.com/monochromegane/the_platinum_searcher"
- url "https://github.com/monochromegane/the_platinum_searcher/archive/v1.6.5.tar.gz"
- sha1 "51658e4825b5f719fb37072da1b5035b5fde5734"
+ url "https://github.com/monochromegane/the_platinum_searcher/archive/v1.6.4.tar.gz"
+ sha1 "362df20068c9ea19dfb3126c267012356dc7958c"
head "https://github.com/monochromegane/the_platinum_searcher.git"
depends_on "go" => :build
@@ -34,6 +34,7 @@ class ThePlatinumSearcher < Formula
data = "Hello World!"
path.open("wb") { |f| f.write data}
- system "#{bin}/pt", "Hello World!", "#{path}"
+ lines = `#{bin}/pt 'Hello World!' #{path}`.strip.split(":")
+ assert_equal "Hello World!", lines[2]
end
end