From 2aef83663b32c6c93d24e1cdc52c7ddefbe3cf89 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 7 Jul 2014 13:08:15 -0700 Subject: Revert "the_platinum_searcher 1.6.5" This reverts commit d748a08e6130a28dfeb7d428fa90a83b46358b2e. --- Library/Formula/the_platinum_searcher.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Library') 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 -- cgit v1.2.3