From 38a43ba7ff161c8c58d3d4127bb7898c96dd3546 Mon Sep 17 00:00:00 2001 From: Jason Buckner Date: Sat, 24 Nov 2012 21:24:41 -0800 Subject: [PATCH] add homesick push to readme, a placeholder test, and removed the all option from git push --- README.markdown | 8 ++++++++ lib/homesick.rb | 1 - spec/homesick_spec.rb | 6 ++++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index f264833..09411bf 100644 --- a/README.markdown +++ b/README.markdown @@ -33,6 +33,14 @@ If you're not sure what castles you have around, you can easily list them: homesick list +To pull your castle (omit CASTLE_NAME to pull all castles): + + homesick pull CASTLE_NAME + +To push your castle: + + homesick push CASTLE_NAME + Not sure what else homesick has up its sleeve? There's always the built in help: homesick help diff --git a/lib/homesick.rb b/lib/homesick.rb index 8610ac5..c55d0ce 100644 --- a/lib/homesick.rb +++ b/lib/homesick.rb @@ -79,7 +79,6 @@ class Homesick < Thor end desc "push NAME", "Push the specified castle" - method_option :all, :type => :boolean, :default => false, :required => false, :desc => "Update all cloned castles" def push(name) push_castle name diff --git a/spec/homesick_spec.rb b/spec/homesick_spec.rb index 5dd2b6d..efc92ca 100644 --- a/spec/homesick_spec.rb +++ b/spec/homesick_spec.rb @@ -144,6 +144,12 @@ describe "homesick" do end + describe "push" do + + xit "needs testing" + + end + describe "track" do it "should move the tracked file into the castle" do castle = given_castle('castle_repo')