Skip to content

Commit

Permalink
v0.1.2
Browse files Browse the repository at this point in the history
- modify command
- output confirmation for actions
- nicer error when adding existing entry
- readme up to date
  • Loading branch information
bjeanes committed Aug 20, 2008
1 parent b109426 commit 5e229c9
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 12 deletions.
22 changes: 19 additions & 3 deletions README
Expand Up @@ -19,17 +19,33 @@ Command
-------

$ ghost add mydevsite.local
[Adding] mydevsite.local -> 127.0.0.1

$ ghost add staging-server.local 67.207.136.164
[Adding] staging-server.local -> 67.207.136.164

$ ghost list
Listing 2 host(s):
mydevsite.local -> 127.0.0.1
staging-server.local -> 67.207.136.164
$ ghost delete mydevsite.local

$ ghost delete mydevsite.local
[Deleting] mydevsite.local

$ ghost list
Listing 1 host(s):
staging-server -> 67.207.136.164
staging-server.local -> 67.207.136.164

$ ghost modify staging-server.local 64.233.167.99
[Modifying] staging-server.local -> 64.233.167.99

$ ghost list
Listing 1 host(s):
staging-server.local -> 64.233.167.99

$ ghost empty
Emptied host list.
[Emptying] Done.

$ ghost list
Listing 0 host(s):

Expand Down
22 changes: 19 additions & 3 deletions README.html
Expand Up @@ -15,17 +15,33 @@ <h1>Intended Usage</h1>
<h2>Command</h2>

<pre><code>$ ghost add mydevsite.local
[Adding] mydevsite.local -&gt; 127.0.0.1

$ ghost add staging-server.local 67.207.136.164
[Adding] staging-server.local -&gt; 67.207.136.164

$ ghost list
Listing 2 host(s):
mydevsite.local -&gt; 127.0.0.1
staging-server.local -&gt; 67.207.136.164
$ ghost delete mydevsite.local

$ ghost delete mydevsite.local
[Deleting] mydevsite.local

$ ghost list
Listing 1 host(s):
staging-server -&gt; 67.207.136.164
staging-server.local -&gt; 67.207.136.164

$ ghost modify staging-server.local 64.233.167.99
[Modifying] staging-server.local -&gt; 64.233.167.99

$ ghost list
Listing 1 host(s):
staging-server.local -&gt; 64.233.167.99

$ ghost empty
Emptied host list.
[Emptying] Done.

$ ghost list
Listing 0 host(s):
</code></pre>
Expand Down
22 changes: 19 additions & 3 deletions README.mkdn
Expand Up @@ -19,17 +19,33 @@ Command
-------

$ ghost add mydevsite.local
[Adding] mydevsite.local -> 127.0.0.1

$ ghost add staging-server.local 67.207.136.164
[Adding] staging-server.local -> 67.207.136.164

$ ghost list
Listing 2 host(s):
mydevsite.local -> 127.0.0.1
staging-server.local -> 67.207.136.164
$ ghost delete mydevsite.local

$ ghost delete mydevsite.local
[Deleting] mydevsite.local

$ ghost list
Listing 1 host(s):
staging-server -> 67.207.136.164
staging-server.local -> 67.207.136.164

$ ghost modify staging-server.local 64.233.167.99
[Modifying] staging-server.local -> 64.233.167.99

$ ghost list
Listing 1 host(s):
staging-server.local -> 64.233.167.99

$ ghost empty
Emptied host list.
[Emptying] Done.

$ ghost list
Listing 0 host(s):

Expand Down
4 changes: 2 additions & 2 deletions ghost.gemspec
@@ -1,12 +1,12 @@
Gem::Specification.new do |s|
s.name = %q{ghost}
s.version = "0.1.0"
s.version = "0.1.2"
s.platform = %q{universal-darwin-9}

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Bodaniel Jeanes"]
s.autorequire = %q{ghost}
s.date = %q{2008-08-19}
s.date = %q{2008-08-20}
s.default_executable = %q{ghost}
s.description = %q{Allows you to create, list, and modify .local hostnames in 10.5 with ease}
s.email = %q{me@bjeanes.com}
Expand Down
2 changes: 1 addition & 1 deletion tasks/deployment.rake
@@ -1,7 +1,7 @@
require File.dirname(__FILE__) + '/rake_helper'

GEM = "ghost"
GEM_VERSION = [0,1,0]
GEM_VERSION = [0,1,2]
GEM_PLATFORM = "universal-darwin-9" # perhaps other *darwin* platforms...
AUTHOR = "Bodaniel Jeanes"
EMAIL = "me@bjeanes.com"
Expand Down

0 comments on commit 5e229c9

Please sign in to comment.