<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,10 @@
+== 0.2.1 2009-08-30
+
+* Typing in an argument in the command line will launch to that specific search: 
+e.g. $ gembox rack #=&gt; opens gembox to the rack page.
+* If a search exactly matches a gem name it will open that gems info page instead of displaying search results
+* Updated to latest version of Vegas
+
 == 0.2.0 2009-07-06
 
 * Updated to latest version of Vegas for Windows compatability</diff>
      <filename>History.txt</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,4 @@
-%w[rubygems rake rake/clean fileutils newgem rubigen jeweler].each { |f| require f }
+%w[rubygems rake rake/clean fileutils newgem rubigen].each { |f| require f }
 require File.dirname(__FILE__) + '/lib/gembox'
 
 # Generate all the Rake tasks
@@ -13,7 +13,7 @@ $hoe = Hoe.new('gembox', Gembox::VERSION) do |p|
   p.url = ['http://code.quirkey.com/gembox', 'http://github.com/quirkey/gembox']
   p.extra_deps = [
    ['sinatra', '&gt;=0.9.2'],
-   ['vegas', '&gt;=0.0.3.1'],
+   ['vegas', '&gt;=0.1.0'],
    ['haml', '&gt;=2.0.9'],
    ['rdoc', '=2.4.3'],
    ['activesupport', '&gt;=2.2.2'],</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -6,4 +6,6 @@
 require File.expand_path(File.dirname(__FILE__) + &quot;/../lib/gembox&quot;)
 require 'vegas'
 
-Vegas::Runner.new(Gembox::App, 'gembox') 
\ No newline at end of file
+Vegas::Runner.new(Gembox::App, 'gembox', {
+ :launch_path =&gt; lambda {|r| r.args.first ? &quot;/gems/?search=#{r.args.first}&quot; : '' }
+})
\ No newline at end of file</diff>
      <filename>bin/gembox</filename>
    </modified>
    <modified>
      <diff>@@ -2,11 +2,11 @@
 
 Gem::Specification.new do |s|
   s.name = %q{gembox}
-  s.version = &quot;0.2.0&quot;
+  s.version = &quot;0.2.1&quot;
 
   s.required_rubygems_version = Gem::Requirement.new(&quot;&gt;= 0&quot;) if s.respond_to? :required_rubygems_version=
   s.authors = [&quot;Aaron Quint&quot;]
-  s.date = %q{2009-07-06}
+  s.date = %q{2009-08-30}
   s.default_executable = %q{gembox}
   s.description = %q{A sinatra based interface for browsing and admiring your gems.}
   s.email = [&quot;aaron@quirkey.com&quot;]
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
   s.rdoc_options = [&quot;--main&quot;, &quot;README.rdoc&quot;]
   s.require_paths = [&quot;lib&quot;]
   s.rubyforge_project = %q{quirkey}
-  s.rubygems_version = %q{1.3.3}
+  s.rubygems_version = %q{1.3.5}
   s.summary = %q{A sinatra based interface for browsing and admiring your gems.}
   s.test_files = [&quot;test/test_gembox_app.rb&quot;, &quot;test/test_gembox_gems.rb&quot;, &quot;test/test_helper.rb&quot;]
 
@@ -28,7 +28,7 @@ Gem::Specification.new do |s|
 
     if Gem::Version.new(Gem::RubyGemsVersion) &gt;= Gem::Version.new('1.2.0') then
       s.add_runtime_dependency(%q&lt;sinatra&gt;, [&quot;&gt;= 0.9.2&quot;])
-      s.add_runtime_dependency(%q&lt;vegas&gt;, [&quot;&gt;= 0.0.3.1&quot;])
+      s.add_runtime_dependency(%q&lt;vegas&gt;, [&quot;&gt;= 0.1.0&quot;])
       s.add_runtime_dependency(%q&lt;haml&gt;, [&quot;&gt;= 2.0.9&quot;])
       s.add_runtime_dependency(%q&lt;rdoc&gt;, [&quot;= 2.4.3&quot;])
       s.add_runtime_dependency(%q&lt;activesupport&gt;, [&quot;&gt;= 2.2.2&quot;])
@@ -38,7 +38,7 @@ Gem::Specification.new do |s|
       s.add_development_dependency(%q&lt;hoe&gt;, [&quot;&gt;= 1.8.0&quot;])
     else
       s.add_dependency(%q&lt;sinatra&gt;, [&quot;&gt;= 0.9.2&quot;])
-      s.add_dependency(%q&lt;vegas&gt;, [&quot;&gt;= 0.0.3.1&quot;])
+      s.add_dependency(%q&lt;vegas&gt;, [&quot;&gt;= 0.1.0&quot;])
       s.add_dependency(%q&lt;haml&gt;, [&quot;&gt;= 2.0.9&quot;])
       s.add_dependency(%q&lt;rdoc&gt;, [&quot;= 2.4.3&quot;])
       s.add_dependency(%q&lt;activesupport&gt;, [&quot;&gt;= 2.2.2&quot;])
@@ -49,7 +49,7 @@ Gem::Specification.new do |s|
     end
   else
     s.add_dependency(%q&lt;sinatra&gt;, [&quot;&gt;= 0.9.2&quot;])
-    s.add_dependency(%q&lt;vegas&gt;, [&quot;&gt;= 0.0.3.1&quot;])
+    s.add_dependency(%q&lt;vegas&gt;, [&quot;&gt;= 0.1.0&quot;])
     s.add_dependency(%q&lt;haml&gt;, [&quot;&gt;= 2.0.9&quot;])
     s.add_dependency(%q&lt;rdoc&gt;, [&quot;= 2.4.3&quot;])
     s.add_dependency(%q&lt;activesupport&gt;, [&quot;&gt;= 2.2.2&quot;])</diff>
      <filename>gembox.gemspec</filename>
    </modified>
    <modified>
      <diff>@@ -10,7 +10,7 @@ require 'will_paginate/array'
 require 'will_paginate/view_helpers'
 
 module Gembox
-  VERSION = '0.2.0'
+  VERSION = '0.2.1'
 end
 
 require 'gembox/extensions'</diff>
      <filename>lib/gembox.rb</filename>
    </modified>
    <modified>
      <diff>@@ -61,7 +61,11 @@ module Gembox
       show_layout = params[:layout] != 'false'
       @show_as = params[:as] || 'columns'
       if @search = params[:search]
-        @gems = Gembox::Gems.search(@search).paginate :page =&gt; params[:page] 
+        @gems = Gembox::Gems.search(@search).paginate :page =&gt; params[:page]
+        if !@gems.empty? &amp;&amp; gem = @gems.find {|k,v| k.strip == @search.strip }
+          gem = gem[1][0]
+          redirect &quot;/gems/#{gem.name}/#{gem.version}&quot; and return
+        end
       end
       haml &quot;gems_#{@show_as}&quot;.to_sym, :layout =&gt; show_layout
     end</diff>
      <filename>lib/gembox/app.rb</filename>
    </modified>
    <modified>
      <diff>@@ -110,7 +110,7 @@ describe &quot;Gembox App&quot; do
 
   describe 'getting gems/name/version' do
     before do
-      get '/gems/sinatra/0.9.0.4'
+      get &quot;/gems/sinatra/#{Sinatra::VERSION}&quot;
     end
 
     should &quot;display dependencies&quot; do
@@ -122,7 +122,7 @@ describe &quot;Gembox App&quot; do
     end
 
     should &quot;load gem spec specified version&quot; do
-      body.should have_element('.version', '0.9.0.4')
+      body.should have_element('.version', Sinatra::VERSION)
     end
 
     should &quot;display links to all versions&quot; do</diff>
      <filename>test/test_gembox_app.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>bc342caf106212621212e4b0419c3f83c89b68cb</id>
    </parent>
  </parents>
  <author>
    <name>Aaron Quint</name>
    <email>aaron@quirkey.com</email>
  </author>
  <url>http://github.com/quirkey/gembox/commit/2a4cfc2403d1cdd505249868db6e5f04c0fc66c5</url>
  <id>2a4cfc2403d1cdd505249868db6e5f04c0fc66c5</id>
  <committed-date>2009-08-30T12:41:01-07:00</committed-date>
  <authored-date>2009-08-30T12:41:01-07:00</authored-date>
  <message>Version Bump v0.2.1

This is a minor upgrade, mainly to take advantage of a new feature of Vegas. Namely you can now pass the name of a gem search to gembox on the command line.</message>
  <tree>92410af8595177a29b663d390d6638e6b921d5e8</tree>
  <committer>
    <name>Aaron Quint</name>
    <email>aaron@quirkey.com</email>
  </committer>
</commit>
