<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>countloc.rb</filename>
    </added>
    <added>
      <filename>test/test_nested_lifecycle.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -49,7 +49,6 @@ module Context
       # puts &quot;Creating context #{cls.context_name}&quot;
       cls.class_eval(&amp;block)
       (self.context_list ||= []) &lt;&lt; cls
-      
       const_set(&quot;Test#{name.to_class_name}#{cls.object_id.abs}&quot;, cls)
       cls
     end</diff>
      <filename>lib/context/context.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,7 +2,7 @@ class String
   # Replaces spaces and tabs with _ so we can use the string as a method name
   # Also replace dangerous punctuation
   def to_method_name
-    self.downcase.gsub(/[\s:',;!#]+/,'_')
+    self.downcase.gsub(/[\s:',;!#=]+/,'_')
   end
   
   # Borrowed from +camelize+ in ActiveSupport</diff>
      <filename>lib/context/core_ext/string.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,57 +1,57 @@
-require File.dirname(__FILE__) + '/test_helper.rb'
-
-class TestContext &lt; Test::Unit::TestCase
-  def test_can_write_tests_without_context
-    assert true
-  end
-  
-  def test_context_aliases
-    [:context, :contexts, :describe, :describes, :group, :specify, :specifies].each do |method_alias|
-      assert self.class.respond_to?(method_alias)
-    end
-  end
-  
-  context &quot;A new context&quot; do
-    context &quot;when not nested&quot; do
-      before do
-        @context = Class.new(Test::Unit::TestCase).context(&quot;When testing&quot;) do
-                    def test_this_thing
-                      true
-                    end
-                  end
-      end
-
-      it &quot;should set the context name&quot; do
-        assert_equal &quot;When testing&quot;, @context.context_name
-      end
-      
-      it &quot;should be a Test::Unit::TestCase&quot; do
-        assert @context.ancestors.include?(Test::Unit::TestCase)
-      end
-    end
-  
-    context &quot;when nested&quot; do
-      before do
-        @context = self.class.context(&quot;and we're testing&quot;) do
-          def self.nested
-            @nested
-          end
-          
-          @nested = context &quot;should be nested&quot; do
-            def test_this_thing
-              true
-            end
-          end
-        end
-      end
-      
-      it &quot;should set a nested context's name&quot; do
-        assert_equal &quot;A new context when nested and we're testing should be nested&quot;, @context.nested.context_name
-      end
-      
-      it &quot;should also be a Test::Unit::TestCase&quot; do
-        assert @context.nested.ancestors.include?(Test::Unit::TestCase)
-      end
-    end
-  end
-end
+require File.dirname(__FILE__) + '/test_helper.rb'
+
+class TestContext &lt; Test::Unit::TestCase
+  def test_can_write_tests_without_context
+    assert true
+  end
+  
+  def test_context_aliases
+    [:context, :contexts, :describe, :describes, :group, :specify, :specifies].each do |method_alias|
+      assert self.class.respond_to?(method_alias)
+    end
+  end
+  
+  context &quot;A new context&quot; do
+    context &quot;when not nested&quot; do
+      before do
+        @context = Class.new(Test::Unit::TestCase).context(&quot;When testing&quot;) do
+                    def test_this_thing
+                      true
+                    end
+                  end
+      end
+
+      it &quot;should set the context name&quot; do
+        assert_equal &quot;When testing&quot;, @context.context_name
+      end
+      
+      it &quot;should be a Test::Unit::TestCase&quot; do
+        assert @context.ancestors.include?(Test::Unit::TestCase)
+      end
+    end
+  
+    context &quot;when nested&quot; do
+      before do
+        @context = self.class.context(&quot;and we're testing&quot;) do
+          def self.nested
+            @nested
+          end
+          
+          @nested = context &quot;should be nested&quot; do
+            def test_this_thing
+              true
+            end
+          end
+        end
+      end
+      
+      it &quot;should set a nested context's name&quot; do
+        assert_equal &quot;A new context when nested and we're testing should be nested&quot;, @context.nested.context_name
+      end
+      
+      it &quot;should also be a Test::Unit::TestCase&quot; do
+        assert @context.nested.ancestors.include?(Test::Unit::TestCase)
+      end
+    end
+  end
+end</diff>
      <filename>test/test_context.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e09b8ef9d893aeb9e1cafb9ae7b2ac1b0037f88a</id>
    </parent>
  </parents>
  <author>
    <name>Matthias Hennemeyer</name>
    <email>mhennemeyer@gmail.com</email>
  </author>
  <url>http://github.com/jeremymcanally/context/commit/82908a46b66332a9b28388682caf243a3fbbe1e4</url>
  <id>82908a46b66332a9b28388682caf243a3fbbe1e4</id>
  <committed-date>2009-02-10T23:23:40-08:00</committed-date>
  <authored-date>2009-02-08T06:26:29-08:00</authored-date>
  <message>Added test for nested lifecycles.

Signed-off-by: Jeremy McAnally &lt;jeremymcanally@gmail.com&gt;</message>
  <tree>1c84cf88054412a33fd1e15fdc1a0d4d8085b73b</tree>
  <committer>
    <name>Jeremy McAnally</name>
    <email>jeremymcanally@gmail.com</email>
  </committer>
</commit>
