<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>config/website.yml</filename>
    </added>
    <added>
      <filename>script/console</filename>
    </added>
    <added>
      <filename>website/template.html.erb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,4 +1,29 @@
-require 'config/requirements'
-require 'config/hoe' # setup Hoe + all gem configuration
+%w[rubygems rake rake/clean fileutils newgem rubigen].each { |f| require f }
+require File.dirname(__FILE__) + '/lib/ruby_plsql/version'
 
-Dir['tasks/**/*.rake'].each { |rake| load rake }
+# Generate all the Rake tasks
+# Run 'rake -T' to see list of generated tasks (from gem root directory)
+$hoe = Hoe.new('ruby-plsql', RubyPlsql::VERSION) do |p|
+  p.developer('Raimonds Simanovskis', 'raimonds.simanovskis@gmail.com')
+  p.changes              = p.paragraphs_of(&quot;History.txt&quot;, 0..1).join(&quot;\n\n&quot;)
+  p.rubyforge_name       = p.name # TODO this is default value
+  p.summary              = &quot;ruby-plsql gem provides simple Ruby API for calling Oracle PL/SQL procedures.&quot;
+  # p.extra_deps         = [
+  #   ['activesupport','&gt;= 2.0.2'],
+  # ]
+  p.extra_dev_deps = [
+    ['newgem', &quot;&gt;= #{::Newgem::VERSION}&quot;]
+  ]
+  
+  p.clean_globs |= %w[**/.DS_Store tmp *.log]
+  path = (p.rubyforge_name == p.name) ? p.rubyforge_name : &quot;\#{p.rubyforge_name}/\#{p.name}&quot;
+  p.remote_rdoc_dir = File.join(path.gsub(/^#{p.rubyforge_name}\/?/,''), 'rdoc')
+  p.rsync_args = '-av --delete --ignore-errors'
+end
+
+require 'newgem/tasks' # load /tasks/*.rake
+Dir['tasks/**/*.rake'].each { |t| load t }
+
+# want other tests/tasks run by default? Add them to the list
+remove_task :default
+task :default =&gt; [:spec]</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -1,9 +1,3 @@
 module RubyPlsql #:nodoc:
-  module VERSION #:nodoc:
-    MAJOR = 0
-    MINOR = 2
-    TINY  = 4
-
-    STRING = [MAJOR, MINOR, TINY].join('.')
-  end
+  VERSION = '0.3.0'
 end</diff>
      <filename>lib/ruby_plsql/version.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,20 +1,17 @@
 #!/usr/bin/env ruby
 
-require 'rubygems'
-begin
-  require 'newgem'
-rescue LoadError
-  puts &quot;\n\nGenerating the website requires the newgem RubyGem&quot;
-  puts &quot;Install: gem install newgem\n\n&quot;
-  exit(1)
-end
+load File.dirname(__FILE__) + &quot;/../Rakefile&quot;
+require 'rubyforge'
 require 'redcloth'
 require 'syntax/convertors/html'
 require 'erb'
-require File.dirname(__FILE__) + '/../lib/ruby_plsql/version.rb'
 
-version  = RubyPlsql::VERSION::STRING
-download = 'http://rubyforge.org/projects/ruby-plsql'
+download = &quot;http://rubyforge.org/projects/#{$hoe.rubyforge_name}&quot;
+version  = $hoe.version
+
+def rubyforge_project_id
+  RubyForge.new.configure.autoconfig[&quot;group_ids&quot;][$hoe.rubyforge_name]
+end
 
 class Fixnum
   def ordinal
@@ -42,10 +39,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 +51,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>@@ -14,8 +14,8 @@ EOS
   exit(0)
 end
 
-desc &quot;Run the specs under spec/*&quot;
+desc &quot;Run the specs under spec/models&quot;
 Spec::Rake::SpecTask.new do |t|
   t.spec_opts = ['--options', &quot;spec/spec.opts&quot;]
-  t.spec_files = FileList['spec/*/*_spec.rb']
+  t.spec_files = FileList['spec/**/*_spec.rb']
 end</diff>
      <filename>tasks/rspec.rake</filename>
    </modified>
    <modified>
      <diff>@@ -5,7 +5,7 @@
   &lt;link rel=&quot;stylesheet&quot; href=&quot;stylesheets/screen.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;
   &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
   &lt;title&gt;
-      Ruby API for PL/SQL
+      ruby-plsql
   &lt;/title&gt;
   &lt;script src=&quot;javascripts/rounded_corners_lite.inc.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
 &lt;style&gt;
@@ -30,12 +30,12 @@
 &lt;body&gt;
 &lt;div id=&quot;main&quot;&gt;
 
-    &lt;h1&gt;Ruby API for PL/SQL&lt;/h1&gt;
+    &lt;h1&gt;ruby-plsql&lt;/h1&gt;
     &lt;div id=&quot;version&quot; class=&quot;clickable&quot; onclick='document.location = &quot;http://rubyforge.org/projects/ruby-plsql&quot;; return false'&gt;
       &lt;p&gt;Get Version&lt;/p&gt;
-      &lt;a href=&quot;http://rubyforge.org/projects/ruby-plsql&quot; class=&quot;numbers&quot;&gt;0.2.4&lt;/a&gt;
+      &lt;a href=&quot;http://rubyforge.org/projects/ruby-plsql&quot; class=&quot;numbers&quot;&gt;0.3.0&lt;/a&gt;
     &lt;/div&gt;
-    &lt;h1&gt;&amp;amp;#x2192; &amp;#8216;ruby-plsql&amp;#8217;&lt;/h1&gt;
+    &lt;h1&gt;Ruby &lt;span class=&quot;caps&quot;&gt;API&lt;/span&gt; for PL/&lt;span class=&quot;caps&quot;&gt;SQL&lt;/span&gt;&lt;/h1&gt;
 &lt;h2&gt;What&lt;/h2&gt;
 &lt;p&gt;ruby-plsql gem provides simple Ruby &lt;span class=&quot;caps&quot;&gt;API&lt;/span&gt; for calling Oracle PL/&lt;span class=&quot;caps&quot;&gt;SQL&lt;/span&gt; procedures.&lt;br /&gt;
 ruby-plsql support both &lt;span class=&quot;caps&quot;&gt;MRI&lt;/span&gt; and JRuby runtime environments.&lt;br /&gt;
@@ -69,7 +69,7 @@ This gem requires ruby-oci8 library (if &lt;span class=&quot;caps&quot;&gt;MRI&lt;/span&gt; is used) o
 &lt;h2&gt;License&lt;/h2&gt;
 &lt;p&gt;This code is free to use under the terms of the &lt;span class=&quot;caps&quot;&gt;MIT&lt;/span&gt; license.&lt;/p&gt;
     &lt;p class=&quot;coda&quot;&gt;
-      &lt;a href=&quot;http://blog.rayapps.com&quot;&gt;Raimonds Simanovskis&lt;/a&gt;, 27th November 2008&lt;br&gt;
+      &lt;a href=&quot;http://blog.rayapps.com&quot;&gt;Raimonds Simanovskis&lt;/a&gt;, 21st April 2009&lt;br&gt;
       Theme extended from &lt;a href=&quot;http://rb2js.rubyforge.org/&quot;&gt;Paul Battley&lt;/a&gt;
     &lt;/p&gt;
 &lt;/div&gt;</diff>
      <filename>website/index.html</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,6 @@
-h1. Ruby API for PL/SQL
-
-h1. &amp;#x2192; 'ruby-plsql'
+h1. ruby-plsql
 
+h1. Ruby API for PL/SQL
 
 h2. What
 </diff>
      <filename>website/index.txt</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>config/hoe.rb</filename>
    </removed>
    <removed>
      <filename>config/requirements.rb</filename>
    </removed>
    <removed>
      <filename>tasks/deployment.rake</filename>
    </removed>
    <removed>
      <filename>tasks/environment.rake</filename>
    </removed>
    <removed>
      <filename>tasks/website.rake</filename>
    </removed>
    <removed>
      <filename>website/template.rhtml</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>095eeab86b4a7ae3bf077deb5d8b12553f08e13e</id>
    </parent>
  </parents>
  <author>
    <name>Raimonds Simanovskis</name>
    <email>raimonds.simanovskis@gmail.com</email>
  </author>
  <url>http://github.com/rsim/ruby-plsql/commit/a5272f58d79d490f5d6ef6c641a97d9c0bc40c12</url>
  <id>a5272f58d79d490f5d6ef6c641a97d9c0bc40c12</id>
  <committed-date>2009-04-20T15:27:28-07:00</committed-date>
  <authored-date>2009-04-20T15:27:28-07:00</authored-date>
  <message>migrated to latest newgem version</message>
  <tree>27fd09a5f64b3a18b340a4c30a1333a2d551e6ec</tree>
  <committer>
    <name>Raimonds Simanovskis</name>
    <email>raimonds.simanovskis@gmail.com</email>
  </committer>
</commit>
