<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>History.rdoc</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,4 +1,4 @@
-History.txt
+History.rdoc
 Manifest.txt
 README.rdoc
 Rakefile</diff>
      <filename>Manifest.txt</filename>
    </modified>
    <modified>
      <diff>@@ -47,18 +47,6 @@ Sugar, sugar, sugar.
 
 Let's not overdo it, though. &lt;tt&gt;App.apis.flickr&lt;/tt&gt; just doesn't look right.
 
-If your &quot;app.yml&quot; gets out of hand, modularize:
-
-  # config/app/authenticate.yml
-  ---
-  username: password
-
-  # (elsewhere)
-  App::Authenticate[&quot;username&quot;] # =&gt; &quot;password&quot;
-
-
-Namespaces avoid collisions.
-
 
 == REQUIREMENTS
 
@@ -89,6 +77,19 @@ Or submodule:
   % script/generate app_config
 
 
+If your &quot;app.yml&quot; gets out of hand, modularize, like in this heavy-handed
+example:
+
+  % script/generate app_config apis/twitter
+        create  config/app/apis
+        create  config/app/apis/twitter.yml # Configure me!
+
+
+Namespaces avoid collisions:
+
+  App::Apis::Twitter.username
+
+
 == LICENSE
 
 (The MIT License)</diff>
      <filename>README.rdoc</filename>
    </modified>
    <modified>
      <diff>@@ -2,21 +2,22 @@
 
 Gem::Specification.new do |s|
   s.name = %q{app}
-  s.version = &quot;0.2.1&quot;
+  s.version = &quot;0.2.2&quot;
 
   s.required_rubygems_version = Gem::Requirement.new(&quot;&gt;= 0&quot;) if s.respond_to? :required_rubygems_version=
   s.authors = [&quot;Stephen Celis&quot;]
   s.date = %q{2009-04-17}
   s.description = %q{Move the config out of your app, and into App. Sure, it's been done before, and others will do it again, but this is my way, and I like it.}
   s.email = [&quot;stephen@stephencelis.com&quot;]
-  s.extra_rdoc_files = [&quot;History.txt&quot;, &quot;Manifest.txt&quot;]
-  s.files = [&quot;History.txt&quot;, &quot;Manifest.txt&quot;, &quot;README.rdoc&quot;, &quot;Rakefile&quot;, &quot;generators/app_config/app_config_generator.rb&quot;, &quot;generators/app_config/templates/app.yml&quot;, &quot;install.rb&quot;, &quot;lib/app.rb&quot;, &quot;test/app_test.rb&quot;, &quot;test/fixtures/app/authenticate/basic/config.yml&quot;, &quot;test/fixtures/app/authenticate.yml&quot;, &quot;test/fixtures/app.yml&quot;]
+  s.extra_rdoc_files = [&quot;History.rdoc&quot;, &quot;Manifest.txt&quot;, &quot;README.rdoc&quot;]
+  s.files = [&quot;History.rdoc&quot;, &quot;Manifest.txt&quot;, &quot;README.rdoc&quot;, &quot;Rakefile&quot;, &quot;generators/app_config/app_config_generator.rb&quot;, &quot;generators/app_config/templates/app.yml&quot;, &quot;install.rb&quot;, &quot;lib/app.rb&quot;, &quot;test/app_test.rb&quot;, &quot;test/fixtures/app/authenticate/basic/config.yml&quot;, &quot;test/fixtures/app/authenticate.yml&quot;, &quot;test/fixtures/app.yml&quot;]
   s.has_rdoc = true
   s.rdoc_options = [&quot;--main&quot;, &quot;README.rdoc&quot;]
   s.require_paths = [&quot;lib&quot;]
   s.rubyforge_project = %q{app}
   s.rubygems_version = %q{1.3.2}
   s.summary = %q{Move the config out of your app, and into App}
+  s.homepage = &quot;http://github.com/stephencelis/app&quot;
 
   if s.respond_to? :specification_version then
     current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION</diff>
      <filename>app.gemspec</filename>
    </modified>
    <modified>
      <diff>@@ -2,7 +2,7 @@
 #
 # What would your app be without it? Still an app, but without App.
 module App
-  VERSION = &quot;0.2.1&quot;
+  VERSION = &quot;0.2.2&quot;
 
   @@config = {} # Initialize.
   class &lt;&lt; self
@@ -41,6 +41,7 @@ module App
     raw = File.read Rails.root.join(&quot;config&quot;, &quot;#{name.underscore}.yml&quot;)
     all = YAML.load(ERB.new(raw).result)
     @@config = all[Rails.env] || all
+    @@config.freeze
   rescue Errno::ENOENT =&gt; e
     puts '** App: no file &quot;config/app.yml&quot;. Run `script/generate app_config`.'
   end</diff>
      <filename>lib/app.rb</filename>
    </modified>
    <modified>
      <diff>@@ -57,4 +57,8 @@ class AppTest &lt; ActiveSupport::TestCase
     assert_instance_of Module, App::Authenticate::Basic::Config
     assert_equal :basic, App::Authenticate::Basic::Config.authentication_type
   end
+
+  test &quot;should be frozen&quot; do
+    assert_raise(TypeError) { App.config[&quot;loaded_at&quot;] = Time.now }
+  end
 end</diff>
      <filename>test/app_test.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>History.txt</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>b8fb45945294d98683c6d9114137a24c8c02c6b8</id>
    </parent>
  </parents>
  <author>
    <name>Stephen Celis</name>
    <email>stephen@stephencelis.com</email>
  </author>
  <url>http://github.com/stephencelis/app/commit/626a7f62ec03a478ee67601ef968b3408e3b5721</url>
  <id>626a7f62ec03a478ee67601ef968b3408e3b5721</id>
  <committed-date>2009-04-17T17:12:30-07:00</committed-date>
  <authored-date>2009-04-17T16:12:29-07:00</authored-date>
  <message>Remember to better ensure immutability.</message>
  <tree>ad0e8f1e41e3d7e998d88a512351c580f102dbe2</tree>
  <committer>
    <name>Stephen Celis</name>
    <email>stephen@stephencelis.com</email>
  </committer>
</commit>
