From 294b825894b893caadec9c9e6fc512509e985423 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Wed, 2 Mar 2011 00:59:06 +0000 Subject: [PATCH 1/4] added .rspec file --- .rspec | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .rspec diff --git a/.rspec b/.rspec new file mode 100644 index 0000000..8c18f1a --- /dev/null +++ b/.rspec @@ -0,0 +1,2 @@ +--format documentation +--color From 8c1a01828b806d2343fa312c7fe130f1313ac711 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Wed, 2 Mar 2011 00:59:14 +0000 Subject: [PATCH 2/4] added .document file --- .document | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .document diff --git a/.document b/.document new file mode 100644 index 0000000..dd2904d --- /dev/null +++ b/.document @@ -0,0 +1,5 @@ +README.md +lib/**/*.rb +bin/* +features/**/*.feature +LICENSE From 7738a67df5da9ac2f1f60ea01f3c7fb310c898c7 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Wed, 2 Mar 2011 01:07:40 +0000 Subject: [PATCH 3/4] standardize output of twhois command a bit --- bin/twhois | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/twhois b/bin/twhois index dcc6735..57a30a9 100755 --- a/bin/twhois +++ b/bin/twhois @@ -26,10 +26,11 @@ if ARGV.size > 0 puts " Private Account: #{user.protected ? "Yes" : "No"}" else puts "@#{username}:" - puts " Not Found" + puts " Error: Not Found" end rescue Twhois::InvalidUsername => e - puts "\"#{username}\" is not a valid Twitter username" + puts "@#{username}:" + puts " Error: Invalid Username" end end else From d4fbedf7ec9a8f71834c7340499065a2520959d8 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Wed, 2 Mar 2011 01:08:53 +0000 Subject: [PATCH 4/4] Version bump to 0.0.4 --- lib/twhois/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/twhois/version.rb b/lib/twhois/version.rb index 6e32a10..b907db5 100644 --- a/lib/twhois/version.rb +++ b/lib/twhois/version.rb @@ -1,5 +1,5 @@ # encoding: utf-8 module Twhois - VERSION = "0.0.3" + VERSION = "0.0.4" end