<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,4 @@
+# encoding: utf-8
 current_dir = File.dirname(__FILE__)
 require File.join(current_dir, &quot;remarkable/lib/remarkable/version.rb&quot;)
 </diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,4 @@
+# encoding: utf-8
 current_dir = File.dirname(__FILE__)
 require File.join(current_dir, &quot;remarkable/lib/remarkable/version.rb&quot;)
 </diff>
      <filename>rake_helpers.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,4 @@
+# encoding: utf-8
 PROJECT_SUMMARY     = &quot;Remarkable: a framework for rspec matchers, with support to macros and I18n.&quot;
 PROJECT_DESCRIPTION = PROJECT_SUMMARY
 </diff>
      <filename>remarkable/Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,5 @@
 module Remarkable
+
   module Pending
 
     # We cannot put the alias method in the module because it's a Ruby 1.8 bug
@@ -6,6 +7,8 @@ module Remarkable
     #
     def self.extended(base) #:nodoc:
       class &lt;&lt; base
+        alias_method :example_without_pending, :example
+        alias_method :example, :example_with_pending
         alias :it :example
         alias :specify :example
       end
@@ -41,7 +44,7 @@ module Remarkable
       @_pending_group_execute = nil
     end
 
-    def example(description=nil, options={}, backtrace=nil, &amp;implementation) #:nodoc:
+    def example_with_pending(description=nil, options={}, backtrace=nil, &amp;implementation) #:nodoc:
       if block_given? &amp;&amp; @_pending_group
         pending_caller      = caller.detect{ |c| c !~ /method_missing'/ }
         pending_description = @_pending_group_description
@@ -52,11 +55,12 @@ module Remarkable
           proc{ pending(pending_description) }
         end
 
-        super(description, options, backtrace || pending_caller, &amp;pending_block)
+        example_without_pending(description, options, backtrace || pending_caller, &amp;pending_block)
       else
-        super(description, options, backtrace || caller(0)[1], &amp;implementation)
+        example_without_pending(description, options, backtrace || caller(0)[1], &amp;implementation)
       end
     end
 
   end
+
 end</diff>
      <filename>remarkable/lib/remarkable/pending.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,4 @@
+# encoding: utf-8
 require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
 
 describe Remarkable::DSL::Optionals do</diff>
      <filename>remarkable/spec/dsl/optionals_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,4 @@
+# encoding: utf-8
 require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
 
 describe Remarkable::Messages do</diff>
      <filename>remarkable/spec/messages_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,6 @@
 $TESTING=true
 
 require 'rubygems'
-require 'ruby-debug'
 
 dir = File.dirname(__FILE__)
 require File.join(dir, '..', 'lib', 'remarkable')</diff>
      <filename>remarkable/spec/spec_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,4 @@
+# encoding: utf-8
 PROJECT_SUMMARY     = &quot;Remarkable ActiveRecord: collection of matchers and macros with I18n for ActiveRecord&quot;
 PROJECT_DESCRIPTION = PROJECT_SUMMARY
 </diff>
      <filename>remarkable_activerecord/Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,5 @@
+# encoding: utf-8
 require 'rubygems'
-require 'ruby-debug'
 
 RAILS_VERSION = ENV['RAILS_VERSION'] || '2.3.2'
 </diff>
      <filename>remarkable_activerecord/spec/spec_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -161,9 +161,9 @@ describe 'validate_length_of' do
       it { should_not define_and_validate(:within =&gt; 2..6).within(3..6).with_kind_of(Variant) }
       it { should_not define_and_validate(:within =&gt; 3..7).within(3..6).with_kind_of(Variant) }
 
-      it &quot;should raise association type mismatch if with_kind_of is not supplied&quot; do
+      it &quot;should raise association type mismatch if with_kind_of does not match&quot; do
         lambda {
-          should_not define_and_validate(:within =&gt; 3..6).within(3..6)
+          should_not define_and_validate(:within =&gt; 3..6).within(3..6).with_kind_of(Product)
         }.should raise_error(ActiveRecord::AssociationTypeMismatch)
       end
     end</diff>
      <filename>remarkable_activerecord/spec/validate_length_of_matcher_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,4 @@
+# encoding: utf-8
 PROJECT_SUMMARY     = &quot;Remarkable Rails: collection of matchers and macros with I18n for Rails&quot;
 PROJECT_DESCRIPTION = PROJECT_SUMMARY
 </diff>
      <filename>remarkable_rails/Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,4 @@
 require 'rubygems'
-require 'ruby-debug'
 
 RAILS_ENV     = 'test'
 RAILS_VERSION = ENV['RAILS_VERSION'] || '2.3.2'</diff>
      <filename>remarkable_rails/spec/spec_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>95c851c28cc20b27789d70ad2df948bc75974e46</id>
    </parent>
  </parents>
  <author>
    <name>Iain Hecker</name>
    <email>github@iain.nl</email>
  </author>
  <url>http://github.com/carlosbrando/remarkable/commit/fb1d24a60fbbc294d4c554d3da2062dc84d863cb</url>
  <id>fb1d24a60fbbc294d4c554d3da2062dc84d863cb</id>
  <committed-date>2009-05-24T06:16:32-07:00</committed-date>
  <authored-date>2009-05-24T05:59:25-07:00</authored-date>
  <message>Ruby 1.9 compatibility

Signed-off-by: Jos&#233; Valim &lt;jose.valim@gmail.com&gt;</message>
  <tree>a949598d9ed50cb8618aff1ab2dcc10416ceeaa9</tree>
  <committer>
    <name>Jos&#233; Valim</name>
    <email>jose.valim@gmail.com</email>
  </committer>
</commit>
