<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>lib/localized_rescue/README</filename>
    </added>
    <added>
      <filename>lib/localized_templates/README</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -2,7 +2,7 @@ Copyright (c) 2008 Jos&#233; Valim (jose.valim@gmail.com)
 http://www.pagestacker.com/
 http://josevalim.blogspot.com/
 License: MIT
-Version: 0.3
+Version: 0.3.1
 
 LocalizedTemplates
 ==================</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1 @@
-# Load all source files in the lib directory.
-require 'localized_templates'
-require 'localized_rescue'
+require File.join(File.dirname(__FILE__), 'lib', 'localized_templates')</diff>
      <filename>init.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,27 +1,4 @@
-# = Localized templates
-# 
-# This feature extends Rails template handling and allows the use of localized
-# templates on the root of your views folder like &lt;code&gt;pt-BR/projects/index.html.erb&lt;/code&gt;.
-# The plugin will pick the template matching the currently used locale
-# (&lt;code&gt;I18n#locale&lt;/code&gt;).
-#
-# If the localized template isn't found, the plugin will try to render the default
-# &lt;code&gt;projects/index.html.erb&lt;/code&gt;. If &lt;code&gt;index.html.erb&lt;/code&gt; doesn't
-# exist, a 404 will be raised.
-#
-# If you have a template that is the same for all languages (like a xml file)
-# just keep it without localization: &lt;code&gt;index.xml.builder&lt;/code&gt;.
-#
-# Theoretically, we just need to overwrite _pick_template and _pick_partial_template
-# methods in order to have LocalizedTemplates, but memoize doesn't help
-# since it doesn't see locale changes and would memoize values for only one locale.
-#
-# We can fix this by passing the locale to _pick_template as argument or creating a
-# localized memoize, that would memoize different values based on the locale.
-#
-# For now, we will use the first solution: pass the locale to _pick_template. As
-# consequence, we need to overwrite all methods that call _pick_template.
-#
+require 'localized_rescue/actioncontroller/rescue'
 require 'localized_templates/actioncontroller/base'
 require 'localized_templates/actioncontroller/layout'
 require 'localized_templates/actionview/base'</diff>
      <filename>lib/localized_templates.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,6 @@
 Gem::Specification.new do |s|
   s.name     = &quot;localized_templates&quot;
-  s.version  = &quot;0.3&quot;
+  s.version  = &quot;0.3.1&quot;
   s.date     = &quot;2008-12-18&quot;
   s.summary  = &quot;Templates localization for Rails 2.2&quot;
   s.email    = &quot;jose.valim@gmail.com&quot;
@@ -10,12 +10,12 @@ Gem::Specification.new do |s|
   s.authors  = [ &quot;Jos&#233; Valim&quot; ]
   s.files    = [
     &quot;MIT-LICENSE&quot;,
-		&quot;README&quot;,
-		&quot;Rakefile&quot;,
-		&quot;init.rb&quot;,
-		&quot;lib/localized_rescue.rb&quot;,
+    &quot;README&quot;,
+    &quot;Rakefile&quot;,
     &quot;lib/localized_templates.rb&quot;,
+    &quot;lib/localized_rescue/README&quot;,
     &quot;lib/localized_rescue/actioncontroller/rescue.rb&quot;,
+    &quot;lib/localized_templates/README&quot;,
     &quot;lib/localized_templates/actioncontroller/base.rb&quot;,
     &quot;lib/localized_templates/actioncontroller/layout.rb&quot;,
     &quot;lib/localized_templates/actionview/base.rb&quot;,</diff>
      <filename>localized_templates.gemspec</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>lib/localized_rescue.rb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>336aca1059d747926c7a8d83237bcb7a356ec6c3</id>
    </parent>
  </parents>
  <author>
    <name>Jose' Valim</name>
    <email>jose.valim@gmail.com</email>
  </author>
  <url>http://github.com/josevalim/localized_templates/commit/2ecb143f1e28c3abb8be89bd7149f3e5fc49e9b6</url>
  <id>2ecb143f1e28c3abb8be89bd7149f3e5fc49e9b6</id>
  <committed-date>2009-01-04T02:47:17-08:00</committed-date>
  <authored-date>2009-01-04T02:47:17-08:00</authored-date>
  <message>Bug fix in gem</message>
  <tree>9c05e571932211e1388043bbfade08561be2ea30</tree>
  <committer>
    <name>Jose' Valim</name>
    <email>jose.valim@gmail.com</email>
  </committer>
</commit>
