<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,6 +1,6 @@
 LocalizedTemplates
 License: MIT
-Version: 0.3.1
+Version: 0.4
 
 Description
 ==================
@@ -19,16 +19,17 @@ And you can also localize rescue files:
 If you don't want to localize a file (like a xml file), simply don't move it and it will be
 rendered as default to all languages.
 
+This is an alternative to Rails 2.3 templates localization schema. If you are
+localizing almost all of your views, it definitely suits you better because
+your views will be better organized.
+
 Installation
 =================
 
-Install LocalizedTemplates is very easy. It is stored in GitHub, so if you have
-never installed a gem via GitHub run the following:
+Install LocalizedTemplates is very easy. If you are running run on Rails 2.3
+just do the following:
 
   gem sources -a http://gems.github.com
-
-Then install the gem:
-
   sudo gem install josevalim-localized_templates
 
 In RAILS_ROOT/config/environment.rb:
@@ -37,30 +38,16 @@ In RAILS_ROOT/config/environment.rb:
 
 If you want it as plugin, just do:
 
-    cd myapp
-    git clone git://github.com/josevalim/localized_templates.git
-    rm -rf vendor/plugins/localized_templates/.git
+   script/plugin install git://github.com/josevalim/localized_templates.git
 
-Adding a new locale
-=================
-
-To add a new locale, simply create a new file in config/locales. You can make your life easier by copying an existing
-locale and basing your new locale on it.
+If you are running on Rails 2.2, you should use version 0.3.1:
 
-Check installed locales
-=================
-
-To display a list of all locales installed in config/locales, you can use the following rake command:
-
-  rake locales
-
-Changing the default locale
-=================
-
-If you want to use a default locale other than en-US, you have to tell the i18n plugin the locale you want to use by
-default. Simply put the following line in an initializer in config/initializers or include it in your environment.rb:
+    cd myapp
+    git clone git://github.com/josevalim/localized_tempaltes.git
+    cd vendor/plugins/localized_templates
+    git checkout v0.3.1
+    rm -rf ./.git
 
-    I18n.default_locale = 'de-AT'
 
 Bugs and Feedback
 =================</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,2 @@
 require 'localized_rescue/actioncontroller/rescue'
-require 'localized_templates/actioncontroller/base'
-require 'localized_templates/actioncontroller/layout'
-require 'localized_templates/actionview/base'
-require 'localized_templates/actionview/partials'
\ No newline at end of file
+require 'localized_templates/actionview/paths'</diff>
      <filename>lib/localized_templates.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,11 +1,11 @@
 Gem::Specification.new do |s|
   s.name     = &quot;localized_templates&quot;
-  s.version  = &quot;0.3.1&quot;
+  s.version  = &quot;0.4&quot;
   s.date     = &quot;2008-12-18&quot;
-  s.summary  = &quot;Templates localization for Rails 2.2&quot;
+  s.summary  = &quot;Another templates localization schema for Rails 2.3&quot;
   s.email    = &quot;jose.valim@gmail.com&quot;
   s.homepage = &quot;http://github.com/josevalim/localized_templates&quot;
-  s.description = &quot;Templates localization for Rails 2.2&quot;
+  s.description = &quot;Another templates localization schema for Rails 2.3&quot;
   s.has_rdoc = true
   s.authors  = [ &quot;Jos&#233; Valim&quot; ]
   s.files    = [
@@ -13,13 +13,8 @@ Gem::Specification.new do |s|
     &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;,
-    &quot;lib/localized_templates/actionview/partials.rb&quot;
+    &quot;lib/localized_templates/actionview/paths.rb&quot;,
   ]
   s.test_files = [
     &quot;test/localized_rescue_test.rb&quot;,</diff>
      <filename>localized_templates.gemspec</filename>
    </modified>
    <modified>
      <diff>@@ -6,7 +6,7 @@ class LocalizedRescueController &lt; ActionController::Base
   end
 end
 
-class LocalizedRescueTest &lt; Test::Unit::TestCase
+class LocalizedRescueTest &lt; ActionController::TestCase
 
   def setup
     @controller = LocalizedRescueController.new
@@ -39,4 +39,4 @@ class LocalizedRescueTest &lt; Test::Unit::TestCase
     assert_equal body, @response.body
   end
 
-end
\ No newline at end of file
+end</diff>
      <filename>test/localized_rescue_test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -15,7 +15,7 @@ class ProjectsController &lt; ActionController::Base
   end
 end
 
-class LocalizedTemplatesTest &lt; Test::Unit::TestCase
+class LocalizedTemplatesTest &lt; ActionController::TestCase
 
   def setup
     @controller = ProjectsController.new
@@ -28,7 +28,7 @@ class LocalizedTemplatesTest &lt; Test::Unit::TestCase
     get :index
 
     assert_response 200
-    assert_equal &quot;&lt;none&gt;\n  none index view\n&lt;/none&gt;&quot;, @response.body
+    assert_equal &quot;&lt;none&gt;noneindexview&lt;/none&gt;&quot;, @response.body.gsub(/\s/, '')
   end
 
   def test_render_rss_without_localization
@@ -37,7 +37,7 @@ class LocalizedTemplatesTest &lt; Test::Unit::TestCase
     get :index
 
     assert_response 200
-    assert_equal &quot;&lt;none&gt;text&lt;/none&gt;\n&quot;, @response.body
+    assert_equal &quot;&lt;none&gt;text&lt;/none&gt;&quot;, @response.body.gsub(/\s/, '')
   end
 
   def test_render_with_localization
@@ -45,7 +45,7 @@ class LocalizedTemplatesTest &lt; Test::Unit::TestCase
     get :index
 
     assert_response 200
-    assert_equal &quot;&lt;pt-BR&gt;\n  pt-BR index view\n&lt;/pt-BR&gt;&quot;, @response.body
+    assert_equal &quot;&lt;pt-BR&gt;pt-BRindexview&lt;/pt-BR&gt;&quot;, @response.body.gsub(/\s/, '')
   end
 
   def test_render_rss_with_localization
@@ -54,7 +54,7 @@ class LocalizedTemplatesTest &lt; Test::Unit::TestCase
     get :index
 
     assert_response 200
-    assert_equal &quot;&lt;en_US&gt;text&lt;/en_US&gt;\n&quot;, @response.body
+    assert_equal &quot;&lt;en_US&gt;text&lt;/en_US&gt;&quot;, @response.body.gsub(/\s/, '')
   end
 
-end
\ No newline at end of file
+end</diff>
      <filename>test/localized_templates_test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,16 +1,29 @@
 # Those lines are plugin test settings
-ENV['RAILS_ENV'] = 'test'
+require 'test/unit'
+require 'rubygems'
+
+ENV[&quot;RAILS_ENV&quot;] = &quot;test&quot;
+
+require 'active_support'
+require 'action_controller'
+require 'action_controller/test_case'
+require 'action_controller/test_process'
 
-require File.dirname(__FILE__) + '/../../../../config/environment'
 require File.dirname(__FILE__) + '/../lib/localized_templates.rb'
-require 'test_help'
 
 FIXTURES_PATH = File.join(File.dirname(__FILE__), 'fixtures')
 ActionController::Base.view_paths = FIXTURES_PATH
-Rails.public_path = &quot;#{FIXTURES_PATH}/public&quot;
+
+# Mock Rails! :)
+#
+class Rails
+  def self.public_path
+    &quot;#{FIXTURES_PATH}/public&quot;
+  end
+end
 
 ActionController::Routing::Routes.draw do |map|
   map.connect ':controller/:action/:id'
 end
 
-I18n.locale = 'en-US'
\ No newline at end of file
+I18n.locale = 'en-US'</diff>
      <filename>test/setup.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>lib/localized_rescue/README</filename>
    </removed>
    <removed>
      <filename>lib/localized_templates/README</filename>
    </removed>
    <removed>
      <filename>lib/localized_templates/actioncontroller/base.rb</filename>
    </removed>
    <removed>
      <filename>lib/localized_templates/actioncontroller/layout.rb</filename>
    </removed>
    <removed>
      <filename>lib/localized_templates/actionview/base.rb</filename>
    </removed>
    <removed>
      <filename>lib/localized_templates/actionview/partials.rb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>2a52a6f76624c3ee0f182c82ec1889fed3185a28</id>
    </parent>
  </parents>
  <author>
    <name>Jos&#233; Valim</name>
    <email>jose.valim@gmail.com</email>
  </author>
  <url>http://github.com/josevalim/localized_templates/commit/e16fb5f88cce31bb9e316df678a7d16d632e010d</url>
  <id>e16fb5f88cce31bb9e316df678a7d16d632e010d</id>
  <committed-date>2009-02-05T10:12:46-08:00</committed-date>
  <authored-date>2009-02-05T10:12:46-08:00</authored-date>
  <message>Rails 2.3 compatible version!</message>
  <tree>a36707f31d219f6a7837e250a78d7fbbd0da98ee</tree>
  <committer>
    <name>Jos&#233; Valim</name>
    <email>jose.valim@gmail.com</email>
  </committer>
</commit>
