<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,4 +1,4 @@
 = merb_global
 == Localization (L10n) and Internationalization (i18n) support for the Merb MVC Framework
 
-Please see README.markdown.
\ No newline at end of file
+Please see README.markdown.</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -27,7 +27,7 @@ spec = Gem::Specification.new do |s|
   s.autorequire = PLUGIN
   s.files = %w(LICENSE README Rakefile TODO) +
             Dir.glob(&quot;{lib,specs,*_generators}/**/*&quot;)
-  
+
   # rdoc
   s.has_rdoc = true
   s.extra_rdoc_files = %w( README LICENSE TODO )</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,3 @@
 = TODO
 
-This list will be added shortly. The list of things to do is long.
\ No newline at end of file
+This list will be added shortly. The list of things to do is long.</diff>
      <filename>TODO</filename>
    </modified>
    <modified>
      <diff>@@ -18,4 +18,4 @@ class AddTranslationsMigration &lt; Sequel::Migration
   def down
     drop_table :merb_global_languages, :merb_global_translations
   end
-end
\ No newline at end of file
+end</diff>
      <filename>activerecord_generators/translations_migration/templates/translations_migration.erb</filename>
    </modified>
    <modified>
      <diff>@@ -24,7 +24,7 @@ module Merb
     # ==== Options (opts)
     # :lang&lt;String&gt;:: A language to translate on
     # :n&lt;Fixnum&gt;:: A number of objects
-    # 
+    #
     # ==== Returns
     # translated&lt;String&gt;:: A translated string
     #</diff>
      <filename>lib/merb_global/base.rb</filename>
    </modified>
    <modified>
      <diff>@@ -29,27 +29,27 @@ module Merb
       def translate_to(singular, plural, opts)
         raise NoMethodError.new('method translate_to has not been implemented')
       end
-      
-      # call-seq: 
+
+      # call-seq:
       #     support?(lang) =&gt; supported
       #
       # Checks if the language is supported (i.e. if the translation exists).
       #
       # In normal merb app the language is checked automatically in controller
       # so probably you don't have to use this method
-      # 
+      #
       # ==== Parameters
-      # lang&lt;String&gt;:: A code of language 
+      # lang&lt;String&gt;:: A code of language
       #
       # ==== Returns
       # supported&lt;Boolean&gt;:: Is a program translated to this language
-      # 
+      #
       # ==== Raises
       # NoMethodError:: Raised by default implementation. Should not be thrown.
       def support?(lang)
         raise NoMethodError.new('method support? has not been implemented')
       end
-      
+
       # This method creates basic files and/or directory structures
       # (for example it adds migration) needed for provider to work.
       #</diff>
      <filename>lib/merb_global/provider.rb</filename>
    </modified>
    <modified>
      <diff>@@ -5,7 +5,7 @@ module Merb
     module Providers
       class Yaml &lt; Merb::Global::Provider #:nodoc:
         def initialize
-          # Not synchronized - make GC do it's work (may be not optimal 
+          # Not synchronized - make GC do it's work (may be not optimal
           # but I don't think that some problem will occure).
           # Shouldn't it be sort of cache with some expiration limit?
           @lang = Hash.new</diff>
      <filename>lib/merb_global/providers/yaml.rb</filename>
    </modified>
    <modified>
      <diff>@@ -15,4 +15,4 @@ class AddTranslationsMigration &lt; Sequel::Migration
   def down
     drop_table :merb_global_languages, :merb_global_translations
   end
-end
\ No newline at end of file
+end</diff>
      <filename>sequel_generators/translations_migration/templates/translations_migration.erb</filename>
    </modified>
    <modified>
      <diff>@@ -40,4 +40,3 @@ describe Merb::Controller do
     controller.lang.should == 'it'
   end
 end
-</diff>
      <filename>spec/controller_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -30,7 +30,7 @@ describe Merb::Global::Providers::Yaml do
       YAML.expects(:load_file).with(yaml_file).returns(nil)
       @provider.translate_to &quot;test&quot;, &quot;tests&quot;, :lang =&gt; 'en', :n =&gt; 1
     end
-    it 'should mark nil if file do not exists' do 
+    it 'should mark nil if file do not exists' do
       yaml_file = File.join Merb.root, 'app', 'locale', 'en.yaml'
       File.expects(:exist?).with(yaml_file).returns(false)
       @provider.translate_to &quot;test&quot;, &quot;tests&quot;, :lang =&gt; 'en', :n =&gt; 1</diff>
      <filename>spec/providers/yaml_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -3,8 +3,9 @@ require 'merb-core'
 
 Merb::Plugins.config[:merb_global] = {:provider=&gt; 'mock'}
 
-require 'merb_global'
+require 'pathname'
 require 'spec'
+require Pathname(__FILE__).dirname.parent.expand_path + 'lib/merb_global'
 
 Merb.start_environment(:testing =&gt; true, :adapter =&gt; 'runner', :environment =&gt; ENV['MERB_ENV'] || 'test')
 </diff>
      <filename>spec/spec_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>4fe17556e9bb1d2bc16ad2f67c5d2a7c4570ca4e</id>
    </parent>
  </parents>
  <author>
    <name>Alex Coles</name>
    <email>alexbcoles@mac.com</email>
  </author>
  <url>http://github.com/myabc/merb_global/commit/6b8b420365a465097c68586cb7af056ff9661c8a</url>
  <id>6b8b420365a465097c68586cb7af056ff9661c8a</id>
  <committed-date>2008-05-12T16:50:54-07:00</committed-date>
  <authored-date>2008-05-12T16:50:54-07:00</authored-date>
  <message>Updated spec_helper.rb so that merb_global is local version.

* Whitespace cleanup.</message>
  <tree>53f0b04b81f88e3791c7c9499bfe85a9d54bab4a</tree>
  <committer>
    <name>Alex Coles</name>
    <email>alexbcoles@mac.com</email>
  </committer>
</commit>
