<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,6 @@
+version 0.7.0:
+* Removed const redefined warnings if activesupport is already loaded
+
 version 0.6.0.1:
 * Removed dependency to utf8proc gem
 </diff>
      <filename>mack-localization/CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -5,6 +5,10 @@ Mack-Localization
 Mack-Localization gem provides localization support for the Mack Framework.
 Multi-byte support is provided by unicodechars gem.
 
+== Important Note
+If you use mack-active_record in your application, please make sure that you list mack-active_record before
+mack-localization in gems.rb file of your application.
+
 == Installation #TODO: gem must be uploaded to rubyforge
 sudo gem install mack-localization
 </diff>
      <filename>mack-localization/README</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,65 @@
+def undef_const(klass, k)
+  klass.remove_const(k) if klass.const_defined?(k)
+end
+
+# There are several constants being redefined by unicodechars gem in
+# the context of ActiveSupport.  So, if activesupport is in use
+# then requiring unicodechars gem will result in a bunch of
+# const redefined warning messages.
+if Object.const_defined?(&quot;ActiveSupport&quot;)
+  module ActiveSupport::Multibyte
+    class &lt;&lt; self; public :remove_const; end
+  end
+ 
+  mod = ActiveSupport::Multibyte
+  undef_const(mod, 'DEFAULT_NORMALIZATION_FORM')
+  undef_const(mod, 'NORMALIZATIONS_FORMS')
+  undef_const(mod, 'UNICODE_VERSION')
+  
+  module ActiveSupport::Multibyte
+    class &lt;&lt; self; private :remove_const; end
+  end
+
+  module ActiveSupport::Multibyte::Handlers
+    class UTF8Handler
+      class &lt;&lt; self
+        public :remove_const
+      end
+    end
+  end
+  
+  mod = ActiveSupport::Multibyte::Handlers::UTF8Handler
+  undef_const(mod, &quot;HANGUL_SBASE&quot;)
+  undef_const(mod, &quot;HANGUL_LBASE&quot;)
+  undef_const(mod, &quot;HANGUL_VBASE&quot;)
+  undef_const(mod, &quot;HANGUL_TBASE&quot;)
+  undef_const(mod, &quot;HANGUL_LCOUNT&quot;)
+  undef_const(mod, &quot;HANGUL_VCOUNT&quot;)
+  undef_const(mod, &quot;HANGUL_TCOUNT&quot;)
+  undef_const(mod, &quot;HANGUL_NCOUNT&quot;)
+  undef_const(mod, &quot;HANGUL_SCOUNT&quot;)
+  undef_const(mod, &quot;HANGUL_SLAST&quot;)
+  undef_const(mod, &quot;HANGUL_JAMO_FIRST&quot;)
+  undef_const(mod, &quot;HANGUL_JAMO_LAST&quot;)
+  undef_const(mod, &quot;UNICODE_WHITESPACE&quot;)
+  undef_const(mod, &quot;UNICODE_LEADERS_AND_TRAILERS&quot;)
+  undef_const(mod, &quot;UTF8_PAT&quot;)
+  undef_const(mod, &quot;UNICODE_TRAILERS_PAT&quot;)
+  undef_const(mod, &quot;UNICODE_LEADERS_PAT&quot;)
+  
+  module ActiveSupport::Multibyte::Handlers
+    class UTF8Handler
+      class &lt;&lt; self
+        
+        remove_const('UCD') if const_defined?('UCD')
+        
+        private :remove_const
+      end
+    end
+  end
+  
+end 
+
 require 'unicodechars'
 require 'yaml'
 </diff>
      <filename>mack-localization/lib/mack-localization.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>46b167c45cf5756dbddee9f9ca35fc0aaf3ba9ab</id>
    </parent>
  </parents>
  <author>
    <name>dsutedja</name>
    <email>dsutedja@helium.com</email>
  </author>
  <url>http://github.com/markbates/mack-more/commit/b3da0fa937ab3a0e85517c36c6f7d9a0d1744ceb</url>
  <id>b3da0fa937ab3a0e85517c36c6f7d9a0d1744ceb</id>
  <committed-date>2008-08-14T08:42:44-07:00</committed-date>
  <authored-date>2008-08-14T08:42:44-07:00</authored-date>
  <message>Removed L10N warning when mack-l10n is loaded after mack-active_record [#62 state:resolved]</message>
  <tree>99624463aaf210a6127ee5c765eb8a93af51f5f3</tree>
  <committer>
    <name>dsutedja</name>
    <email>dsutedja@helium.com</email>
  </committer>
</commit>
