<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>PostInstall.txt</filename>
    </added>
    <added>
      <filename>script/console</filename>
    </added>
    <added>
      <filename>statwhore.gemspec</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,10 +1,13 @@
 History.txt
 License.txt
 Manifest.txt
+PostInstall.txt
 README.txt
 Rakefile
 config/hoe.rb
 config/requirements.rb
+examples/account.rb
+examples/profile.rb
 examples/profiles.rb
 lib/statwhore.rb
 lib/statwhore/connection.rb
@@ -14,7 +17,7 @@ lib/statwhore/google/analytics/account.rb
 lib/statwhore/google/analytics/profile.rb
 lib/statwhore/google/feedburner.rb
 lib/statwhore/version.rb
-log/debug.log
+script/console
 script/destroy
 script/generate
 script/txt2html</diff>
      <filename>Manifest.txt</filename>
    </modified>
    <modified>
      <diff>@@ -7,6 +7,9 @@ GEM_NAME = 'statwhore' # what ppl will type to install your gem
 RUBYFORGE_PROJECT = 'statwhore' # The unix name for your project
 HOMEPATH = &quot;http://#{RUBYFORGE_PROJECT}.rubyforge.org&quot;
 DOWNLOAD_PATH = &quot;http://rubyforge.org/projects/#{RUBYFORGE_PROJECT}&quot;
+EXTRA_DEPENDENCIES = [ 
+  ['googlebase', '&gt;= 0.2.0'], ['activesupport', '&gt;= 2.0.2'], ['hpricot', '&gt;= 0.6']
+]
 
 @config_file = &quot;~/.rubyforge/user-config.yml&quot;
 @config = nil
@@ -28,42 +31,43 @@ Run 'rubyforge setup' to prepare your env for access to Rubyforge
 end
 
 
-REV = nil 
-# UNCOMMENT IF REQUIRED: 
-# REV = `svn info`.each {|line| if line =~ /^Revision:/ then k,v = line.split(': '); break v.chomp; else next; end} rescue nil
+REV = nil
+# UNCOMMENT IF REQUIRED:
+# REV = YAML.load(`svn info`)['Revision']
 VERS = Statwhore::VERSION::STRING + (REV ? &quot;.#{REV}&quot; : &quot;&quot;)
 RDOC_OPTS = ['--quiet', '--title', 'statwhore documentation',
     &quot;--opname&quot;, &quot;index.html&quot;,
-    &quot;--line-numbers&quot;, 
+    &quot;--line-numbers&quot;,
     &quot;--main&quot;, &quot;README&quot;,
     &quot;--inline-source&quot;]
 
 class Hoe
-  def extra_deps 
-    @extra_deps.reject! { |x| Array(x).first == 'hoe' } 
+  def extra_deps
+    @extra_deps.reject! { |x| Array(x).first == 'hoe' }
     @extra_deps
-  end 
+  end
 end
 
 # Generate all the Rake tasks
 # Run 'rake -T' to see list of generated tasks (from gem root directory)
-hoe = Hoe.new(GEM_NAME, VERS) do |p|
-  p.author = AUTHOR 
+$hoe = Hoe.new(GEM_NAME, VERS) do |p|
+  p.developer(AUTHOR, EMAIL)
   p.description = DESCRIPTION
-  p.email = EMAIL
   p.summary = DESCRIPTION
   p.url = HOMEPATH
   p.rubyforge_name = RUBYFORGE_PROJECT if RUBYFORGE_PROJECT
   p.test_globs = [&quot;test/**/test_*.rb&quot;]
   p.clean_globs |= ['**/.*.sw?', '*.gem', '.config', '**/.DS_Store']  #An array of file patterns to delete on clean.
-  
+
   # == Optional
-  p.changes = p.paragraphs_of(&quot;History.txt&quot;, 0..1).join(&quot;\\n\\n&quot;)
-  p.extra_deps = [ ['googlebase', '&gt;= 0.2.0'], ['activesupport', '&gt;= 2.0.2'], ['hpricot', '&gt;= 0.6'] ]
-  #p.spec_extras = {}    # A hash of extra values to set in the gemspec.
-  
-end
+  p.changes = p.paragraphs_of(&quot;History.txt&quot;, 0..1).join(&quot;\n\n&quot;)
+  p.extra_deps = EXTRA_DEPENDENCIES
+
+    #p.spec_extras = {}    # A hash of extra values to set in the gemspec.
+  end
 
-CHANGES = hoe.paragraphs_of('History.txt', 0..1).join(&quot;\\n\\n&quot;)
+CHANGES = $hoe.paragraphs_of('History.txt', 0..1).join(&quot;\\n\\n&quot;)
 PATH    = (RUBYFORGE_PROJECT == GEM_NAME) ? RUBYFORGE_PROJECT : &quot;#{RUBYFORGE_PROJECT}/#{GEM_NAME}&quot;
-hoe.remote_rdoc_dir = File.join(PATH.gsub(/^#{RUBYFORGE_PROJECT}\/?/,''), 'rdoc')
+$hoe.remote_rdoc_dir = File.join(PATH.gsub(/^#{RUBYFORGE_PROJECT}\/?/,''), 'rdoc')
+$hoe.rsync_args = '-av --delete --ignore-errors'
+$hoe.spec.post_install_message = File.open(File.dirname(__FILE__) + &quot;/../PostInstall.txt&quot;).read rescue &quot;&quot;
\ No newline at end of file</diff>
      <filename>config/hoe.rb</filename>
    </modified>
    <modified>
      <diff>@@ -13,5 +13,3 @@ require 'rubygems'
 end
 
 $:.unshift(File.join(File.dirname(__FILE__), %w[.. lib]))
-
-require 'statwhore'
\ No newline at end of file</diff>
      <filename>config/requirements.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,5 @@
 #!/usr/bin/env ruby
-APP_ROOT = File.join(File.dirname(__FILE__), '..')
+APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
 
 begin
   require 'rubigen'
@@ -10,5 +10,5 @@ end
 require 'rubigen/scripts/destroy'
 
 ARGV.shift if ['--help', '-h'].include?(ARGV[0])
-RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme]
+RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
 RubiGen::Scripts::Destroy.new.run(ARGV)</diff>
      <filename>script/destroy</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,5 @@
 #!/usr/bin/env ruby
-APP_ROOT = File.join(File.dirname(__FILE__), '..')
+APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
 
 begin
   require 'rubigen'
@@ -10,5 +10,5 @@ end
 require 'rubigen/scripts/generate'
 
 ARGV.shift if ['--help', '-h'].include?(ARGV[0])
-RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme]
+RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
 RubiGen::Scripts::Generate.new.run(ARGV)</diff>
      <filename>script/generate</filename>
    </modified>
    <modified>
      <diff>@@ -1,8 +1,12 @@
 #!/usr/bin/env ruby
 
+GEM_NAME = 'statwhore' # what ppl will type to install your gem
+RUBYFORGE_PROJECT = 'statwhore'
+
 require 'rubygems'
 begin
   require 'newgem'
+  require 'rubyforge'
 rescue LoadError
   puts &quot;\n\nGenerating the website requires the newgem RubyGem&quot;
   puts &quot;Install: gem install newgem\n\n&quot;
@@ -11,10 +15,14 @@ end
 require 'redcloth'
 require 'syntax/convertors/html'
 require 'erb'
-require File.dirname(__FILE__) + '/../lib/statwhore/version.rb'
+require File.dirname(__FILE__) + &quot;/../lib/#{GEM_NAME}/version.rb&quot;
 
 version  = Statwhore::VERSION::STRING
-download = 'http://rubyforge.org/projects/statwhore'
+download = &quot;http://rubyforge.org/projects/#{RUBYFORGE_PROJECT}&quot;
+
+def rubyforge_project_id
+  RubyForge.new.autoconfig[&quot;group_ids&quot;][RUBYFORGE_PROJECT]
+end
 
 class Fixnum
   def ordinal
@@ -42,10 +50,9 @@ end
 
 if ARGV.length &gt;= 1
   src, template = ARGV
-  template ||= File.join(File.dirname(__FILE__), '/../website/template.rhtml')
-  
+  template ||= File.join(File.dirname(__FILE__), '/../website/template.html.erb')
 else
-  puts(&quot;Usage: #{File.split($0).last} source.txt [template.rhtml] &gt; output.html&quot;)
+  puts(&quot;Usage: #{File.split($0).last} source.txt [template.html.erb] &gt; output.html&quot;)
   exit!
 end
 
@@ -55,7 +62,8 @@ title = nil
 body = nil
 File.open(src) do |fsrc|
   title_text = fsrc.readline
-  body_text = fsrc.read
+  body_text_template = fsrc.read
+  body_text = ERB.new(body_text_template).result(binding)
   syntax_items = []
   body_text.gsub!(%r!&lt;(pre|code)[^&gt;]*?syntax=['&quot;]([^'&quot;]+)[^&gt;]*&gt;(.*?)&lt;/\1&gt;!m){
     ident = syntax_items.length</diff>
      <filename>script/txt2html</filename>
    </modified>
    <modified>
      <diff>@@ -25,3 +25,10 @@ desc 'Install the package as a gem, without generating documentation(ri/rdoc)'
 task :install_gem_no_doc =&gt; [:clean, :package] do
   sh &quot;#{'sudo ' unless Hoe::WINDOZE }gem install pkg/*.gem --no-rdoc --no-ri&quot;
 end
+
+namespace :manifest do
+  desc 'Recreate Manifest.txt to include ALL files'
+  task :refresh do
+    `rake check_manifest | patch -p0 &gt; Manifest.txt`
+  end
+end
\ No newline at end of file</diff>
      <filename>tasks/deployment.rake</filename>
    </modified>
    <modified>
      <diff>@@ -1,14 +1,14 @@
 desc 'Generate website files'
 task :website_generate =&gt; :ruby_env do
-  # (Dir['website/**/*.txt'] - Dir['website/version*.txt']).each do |txt|
-  #   sh %{ #{RUBY_APP} script/txt2html #{txt} &gt; #{txt.gsub(/txt$/,'html')} }
-  # end
+  (Dir['website/**/*.txt'] - Dir['website/version*.txt']).each do |txt|
+    sh %{ #{RUBY_APP} script/txt2html #{txt} &gt; #{txt.gsub(/txt$/,'html')} }
+  end
 end
 
 desc 'Upload website files to rubyforge'
 task :website_upload do
   host = &quot;#{rubyforge_username}@rubyforge.org&quot;
-  remote_dir = &quot;/var/www/gforge-projects/#{RUBYFORGE_PROJECT}/&quot;
+  remote_dir = &quot;/var/www/gforge-projects/#{PATH}/&quot;
   local_dir = 'website'
   sh %{rsync -aCv #{local_dir}/ #{host}:#{remote_dir}}
 end</diff>
      <filename>tasks/website.rake</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>be06c44ff61159cf037388ad38940e0055b3791c</id>
    </parent>
  </parents>
  <author>
    <name>John Nunemaker</name>
    <email>nunemaker@gmail.com</email>
  </author>
  <url>http://github.com/jnunemaker/statwhore/commit/b0fb0ab88397831ab49ad0ce70a321de4483efea</url>
  <id>b0fb0ab88397831ab49ad0ce70a321de4483efea</id>
  <committed-date>2008-07-30T20:16:23-07:00</committed-date>
  <authored-date>2008-07-30T20:16:23-07:00</authored-date>
  <message>Updated manifest and added gemspec.</message>
  <tree>4769e6c58798fb87340a47cf6650d7c24358f2f2</tree>
  <committer>
    <name>John Nunemaker</name>
    <email>nunemaker@gmail.com</email>
  </committer>
</commit>
