[DRE-commits] r5772 - in tags/librspec-ruby: . 1.3.0-3/debian 1.3.0-3/debian/patches

Tobias Grimm tiber-guest at alioth.debian.org
Mon Aug 16 23:31:59 UTC 2010


Author: tiber-guest
Date: 2010-08-16 23:31:59 +0000 (Mon, 16 Aug 2010)
New Revision: 5772

Added:
   tags/librspec-ruby/1.3.0-3/
   tags/librspec-ruby/1.3.0-3/debian/changelog
   tags/librspec-ruby/1.3.0-3/debian/control
   tags/librspec-ruby/1.3.0-3/debian/patches/14_ruby1.9.2-lambda.patch
   tags/librspec-ruby/1.3.0-3/debian/patches/15_ruby1.9.2-array-sort.patch
   tags/librspec-ruby/1.3.0-3/debian/patches/16_ruby1.9.2-class-variable.patch
   tags/librspec-ruby/1.3.0-3/debian/patches/17_ruby1.9.2-formatter-samples.patch
   tags/librspec-ruby/1.3.0-3/debian/patches/18_ruby1.9.2-minor-test-fix.patch
   tags/librspec-ruby/1.3.0-3/debian/patches/series
   tags/librspec-ruby/1.3.0-3/debian/rules
Removed:
   tags/librspec-ruby/1.3.0-3/debian/changelog
   tags/librspec-ruby/1.3.0-3/debian/control
   tags/librspec-ruby/1.3.0-3/debian/patches/series
   tags/librspec-ruby/1.3.0-3/debian/rules
Log:
[svn-buildpackage] Tagging librspec-ruby 1.3.0-3

Deleted: tags/librspec-ruby/1.3.0-3/debian/changelog
===================================================================
--- trunk/librspec-ruby/debian/changelog	2010-08-15 20:59:27 UTC (rev 5770)
+++ tags/librspec-ruby/1.3.0-3/debian/changelog	2010-08-16 23:31:59 UTC (rev 5772)
@@ -1,102 +0,0 @@
-librspec-ruby (1.3.0-2) unstable; urgency=low
-
-  * Fixed manpage creation by not including the current date in the diff
-    (Closes: #584385)
-
- -- Tobias Grimm <etobi at debian.org>  Thu, 03 Jun 2010 13:40:25 +0200
-
-librspec-ruby (1.3.0-1) unstable; urgency=low
-
-  * New upstream release
-  * Falling back to gemwatch for debian/watch, because the Rubyforge download
-    site hasn't been updated for months
-  * Standards-Version: 3.8.4
-  * Added Ruby 1.9.1 package
-  * Enabled tests depending on FakeFS
-  * source/format 3.0 (quilt)
-
- -- Tobias Grimm <etobi at debian.org>  Sat, 29 May 2010 20:31:49 +0200
-
-librspec-ruby (1.2.9-1) unstable; urgency=low
-
-  * New upstream release
-  * Fixed debian/watch to recognize .rc versions
-  * Removed 12_differ-test-fix.dpatch - fixed upstream
-  * Added 13_skip-unsupported-tests.dpatch
-  * Added README note about unavailable syntax library
-  * Added README.source referring to dpatch's README.source
-  * Standards-Version: 3.8.3
-  * Force local inline cache dir during build (parsetree uses
-    libinline-ruby which on-the-fly compiles C code)
-
- -- Tobias Grimm <etobi at debian.org>  Sun, 01 Nov 2009 11:17:07 +0100
-
-librspec-ruby (1.2.8-1) unstable; urgency=low
-
-  * New upstream release
-  * Added 12_differ-test-fix.dpatch (reported upstream as ticket #862)
-  * Increased standards version to 3.8.2
-  * Build-depend on rake (required to test the rake tasks)
-
- -- Tobias Grimm <etobi at debian.org>  Sat, 25 Jul 2009 15:40:48 +0200
-
-librspec-ruby (1.2.6-1) unstable; urgency=low
-
-  * New upstream release
-  * Added Debian Ruby Extras Maintainers to list of uploaders
-  * Added package VCS links to debian/control
-  * Dropped 99_fix-html-and-textmate-output (fixed upstream)
-
- -- Tobias Grimm <etobi at debian.org>  Sat, 02 May 2009 12:02:21 +0200
-
-librspec-ruby (1.2.4-1) unstable; urgency=low
-
-  * New upstream release (Closes: #521109)
-  * Dropped 20_fix-for-500625.dpatch - fixed upstream
-  * Changed section to 'ruby'
-  * Generate and install manpage for /usr/bin/spec
-  * Depend on `ruby1.8` instead of just `ruby`
-  * Run the tests in spec/spec during package build
-  * Updated 10-force-spec-binary-path.dpatch to fix the spec path in the
-    autotest plugin as well
-  * Added note about autotest to README.Debian
-  * Added 11_dont-require-rubygems.dpatch
-  * Added 99_fix-html-and-textmate-output.dpatch (a bugfix picked from the
-    upstream Git)
-  * Bumped standards version to 3.8.1
-  * Added Tobias Grimm <etobi at debian.org> to uploaders
-
- -- Tobias Grimm <etobi at debian.org>  Tue, 21 Apr 2009 22:16:30 +0200
-
-librspec-ruby (1.1.12-1) unstable; urgency=low
-
-  * Upload entirely prepared by Tobias Grimm (etobi at debian.org); thank you
-    very much for all the quality improvements.
-  * New upstream release (Closes: #517694).
-  * Bumped debhelper dependency / compat to >= 5
-  * Using cdbs now
-  * Updated 20_fix-for-500625.dpatch
-  * Added debian/watch
-  * Added Homepage field to debian/control
-
- -- Sebastien Delafond <seb at debian.org>  Fri, 06 Mar 2009 08:16:42 -0800
-
-librspec-ruby (1.1.3-3) unstable; urgency=low
-
-  * Put plugins, specs and stories in /usr/lib/ruby/1.8/spec/
-    (Closes: #500625).
-
- -- Sebastien Delafond <seb at debian.org>  Mon, 29 Sep 2008 14:03:10 -0700
-
-librspec-ruby (1.1.3-2) unstable; urgency=low
-
-  * Force spec script path to /usr/bin/spec (Closes: #490729).
-  * Bump up policy version.
-
- -- Sebastien Delafond <seb at debian.org>  Mon, 14 Jul 2008 14:55:09 -0700
-
-librspec-ruby (1.1.3-1) unstable; urgency=low
-
-  * Initial Release (Closes: #444623, #480441).
-
- -- Sebastien Delafond <seb at debian.org>  Sat, 10 May 2008 19:26:47 -0700

Copied: tags/librspec-ruby/1.3.0-3/debian/changelog (from rev 5771, trunk/librspec-ruby/debian/changelog)
===================================================================
--- tags/librspec-ruby/1.3.0-3/debian/changelog	                        (rev 0)
+++ tags/librspec-ruby/1.3.0-3/debian/changelog	2010-08-16 23:31:59 UTC (rev 5772)
@@ -0,0 +1,111 @@
+librspec-ruby (1.3.0-3) unstable; urgency=low
+
+  * Added support for Ruby 1.9.2 which introduced some breaking changes like no
+    '.' in the LOAD_PATH or requiring to pass blocks with a parameter to 
+    instance_eval (Closes: #593020)
+  * Standards-Version: 3.9.1
+
+ -- Tobias Grimm <etobi at debian.org>  Tue, 17 Aug 2010 01:16:27 +0200
+
+librspec-ruby (1.3.0-2) unstable; urgency=low
+
+  * Fixed manpage creation by not including the current date in the diff
+    (Closes: #584385)
+
+ -- Tobias Grimm <etobi at debian.org>  Thu, 03 Jun 2010 13:40:25 +0200
+
+librspec-ruby (1.3.0-1) unstable; urgency=low
+
+  * New upstream release
+  * Falling back to gemwatch for debian/watch, because the Rubyforge download
+    site hasn't been updated for months
+  * Standards-Version: 3.8.4
+  * Added Ruby 1.9.1 package
+  * Enabled tests depending on FakeFS
+  * source/format 3.0 (quilt)
+
+ -- Tobias Grimm <etobi at debian.org>  Sat, 29 May 2010 20:31:49 +0200
+
+librspec-ruby (1.2.9-1) unstable; urgency=low
+
+  * New upstream release
+  * Fixed debian/watch to recognize .rc versions
+  * Removed 12_differ-test-fix.dpatch - fixed upstream
+  * Added 13_skip-unsupported-tests.dpatch
+  * Added README note about unavailable syntax library
+  * Added README.source referring to dpatch's README.source
+  * Standards-Version: 3.8.3
+  * Force local inline cache dir during build (parsetree uses
+    libinline-ruby which on-the-fly compiles C code)
+
+ -- Tobias Grimm <etobi at debian.org>  Sun, 01 Nov 2009 11:17:07 +0100
+
+librspec-ruby (1.2.8-1) unstable; urgency=low
+
+  * New upstream release
+  * Added 12_differ-test-fix.dpatch (reported upstream as ticket #862)
+  * Increased standards version to 3.8.2
+  * Build-depend on rake (required to test the rake tasks)
+
+ -- Tobias Grimm <etobi at debian.org>  Sat, 25 Jul 2009 15:40:48 +0200
+
+librspec-ruby (1.2.6-1) unstable; urgency=low
+
+  * New upstream release
+  * Added Debian Ruby Extras Maintainers to list of uploaders
+  * Added package VCS links to debian/control
+  * Dropped 99_fix-html-and-textmate-output (fixed upstream)
+
+ -- Tobias Grimm <etobi at debian.org>  Sat, 02 May 2009 12:02:21 +0200
+
+librspec-ruby (1.2.4-1) unstable; urgency=low
+
+  * New upstream release (Closes: #521109)
+  * Dropped 20_fix-for-500625.dpatch - fixed upstream
+  * Changed section to 'ruby'
+  * Generate and install manpage for /usr/bin/spec
+  * Depend on `ruby1.8` instead of just `ruby`
+  * Run the tests in spec/spec during package build
+  * Updated 10-force-spec-binary-path.dpatch to fix the spec path in the
+    autotest plugin as well
+  * Added note about autotest to README.Debian
+  * Added 11_dont-require-rubygems.dpatch
+  * Added 99_fix-html-and-textmate-output.dpatch (a bugfix picked from the
+    upstream Git)
+  * Bumped standards version to 3.8.1
+  * Added Tobias Grimm <etobi at debian.org> to uploaders
+
+ -- Tobias Grimm <etobi at debian.org>  Tue, 21 Apr 2009 22:16:30 +0200
+
+librspec-ruby (1.1.12-1) unstable; urgency=low
+
+  * Upload entirely prepared by Tobias Grimm (etobi at debian.org); thank you
+    very much for all the quality improvements.
+  * New upstream release (Closes: #517694).
+  * Bumped debhelper dependency / compat to >= 5
+  * Using cdbs now
+  * Updated 20_fix-for-500625.dpatch
+  * Added debian/watch
+  * Added Homepage field to debian/control
+
+ -- Sebastien Delafond <seb at debian.org>  Fri, 06 Mar 2009 08:16:42 -0800
+
+librspec-ruby (1.1.3-3) unstable; urgency=low
+
+  * Put plugins, specs and stories in /usr/lib/ruby/1.8/spec/
+    (Closes: #500625).
+
+ -- Sebastien Delafond <seb at debian.org>  Mon, 29 Sep 2008 14:03:10 -0700
+
+librspec-ruby (1.1.3-2) unstable; urgency=low
+
+  * Force spec script path to /usr/bin/spec (Closes: #490729).
+  * Bump up policy version.
+
+ -- Sebastien Delafond <seb at debian.org>  Mon, 14 Jul 2008 14:55:09 -0700
+
+librspec-ruby (1.1.3-1) unstable; urgency=low
+
+  * Initial Release (Closes: #444623, #480441).
+
+ -- Sebastien Delafond <seb at debian.org>  Sat, 10 May 2008 19:26:47 -0700

Deleted: tags/librspec-ruby/1.3.0-3/debian/control
===================================================================
--- trunk/librspec-ruby/debian/control	2010-08-15 20:59:27 UTC (rev 5770)
+++ tags/librspec-ruby/1.3.0-3/debian/control	2010-08-16 23:31:59 UTC (rev 5772)
@@ -1,46 +0,0 @@
-Source: librspec-ruby
-Section: ruby
-Priority: optional
-Maintainer: Tobias Grimm <etobi at debian.org>
-Uploaders: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 5), cdbs, help2man
-Build-Depends-Indep: ruby1.8, ruby1.9.1, libdifflcs-ruby1.8, libdifflcs-ruby1.9.1,
- libheckle-ruby1.8, libfakefs-ruby1.8, libfakefs-ruby1.9.1, libnokogiri-ruby1.8,
- libnokogiri-ruby1.9.1, rake
-Standards-Version: 3.8.4
-Homepage: http://rspec.info
-Vcs-Browser: http://svn.debian.org/viewsvn/pkg-ruby-extras/trunk/librspec-ruby/
-Vcs-Svn: svn://svn.debian.org/svn/pkg-ruby-extras/trunk/librspec-ruby/
-
-Package: librspec-ruby1.8
-Architecture: all
-Depends: ${misc:Depends}, ruby1.8, libheckle-ruby1.8, libdifflcs-ruby1.8, rcov
-Description: Behaviour Driven Development framework for Ruby 1.8
- RSpec is a Behaviour Driven Development framework for Ruby 1.8. It
- provides two frameworks for writing and executing examples of how your
- Ruby application should behave:
-   * a Story Framework for describing behaviour at the application level
-   * a Spec Framework for describing behaviour at the object level
-
-Package: librspec-ruby1.9.1
-Architecture: all
-Depends: ${misc:Depends}, ruby1.9.1, libdifflcs-ruby1.9.1, rcov
-Description: Behaviour Driven Development framework for Ruby 1.9.1
- RSpec is a Behaviour Driven Development framework for Ruby 1.9.1. It
- provides two frameworks for writing and executing examples of how your
- Ruby application should behave:
-   * a Story Framework for describing behaviour at the application level
-   * a Spec Framework for describing behaviour at the object level
-
-Package: librspec-ruby
-Architecture: all
-Depends: ${misc:Depends}, librspec-ruby1.8
-Description: Behaviour Driven Development framework for Ruby
- RSpec is a Behaviour Driven Development framework for Ruby. It
- provides two frameworks for writing and executing examples of how your
- Ruby application should behave:
-   * a Story Framework for describing behaviour at the application level
-   * a Spec Framework for describing behaviour at the object level
- .
- This is a dependency package, which depends on a librspec package
- built for the default Ruby version.

Copied: tags/librspec-ruby/1.3.0-3/debian/control (from rev 5771, trunk/librspec-ruby/debian/control)
===================================================================
--- tags/librspec-ruby/1.3.0-3/debian/control	                        (rev 0)
+++ tags/librspec-ruby/1.3.0-3/debian/control	2010-08-16 23:31:59 UTC (rev 5772)
@@ -0,0 +1,46 @@
+Source: librspec-ruby
+Section: ruby
+Priority: optional
+Maintainer: Tobias Grimm <etobi at debian.org>
+Uploaders: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 5), cdbs, help2man
+Build-Depends-Indep: ruby1.8, ruby1.9.1, libdifflcs-ruby1.8, libdifflcs-ruby1.9.1,
+ libheckle-ruby1.8, libfakefs-ruby1.8, libfakefs-ruby1.9.1, libnokogiri-ruby1.8,
+ libnokogiri-ruby1.9.1, rake
+Standards-Version: 3.9.1
+Homepage: http://rspec.info
+Vcs-Browser: http://svn.debian.org/viewsvn/pkg-ruby-extras/trunk/librspec-ruby/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-ruby-extras/trunk/librspec-ruby/
+
+Package: librspec-ruby1.8
+Architecture: all
+Depends: ${misc:Depends}, ruby1.8, libheckle-ruby1.8, libdifflcs-ruby1.8, rcov
+Description: Behaviour Driven Development framework for Ruby 1.8
+ RSpec is a Behaviour Driven Development framework for Ruby 1.8. It
+ provides two frameworks for writing and executing examples of how your
+ Ruby application should behave:
+   * a Story Framework for describing behaviour at the application level
+   * a Spec Framework for describing behaviour at the object level
+
+Package: librspec-ruby1.9.1
+Architecture: all
+Depends: ${misc:Depends}, ruby1.9.1, libdifflcs-ruby1.9.1, rcov
+Description: Behaviour Driven Development framework for Ruby 1.9.1
+ RSpec is a Behaviour Driven Development framework for Ruby 1.9.1. It
+ provides two frameworks for writing and executing examples of how your
+ Ruby application should behave:
+   * a Story Framework for describing behaviour at the application level
+   * a Spec Framework for describing behaviour at the object level
+
+Package: librspec-ruby
+Architecture: all
+Depends: ${misc:Depends}, librspec-ruby1.8
+Description: Behaviour Driven Development framework for Ruby
+ RSpec is a Behaviour Driven Development framework for Ruby. It
+ provides two frameworks for writing and executing examples of how your
+ Ruby application should behave:
+   * a Story Framework for describing behaviour at the application level
+   * a Spec Framework for describing behaviour at the object level
+ .
+ This is a dependency package, which depends on a librspec package
+ built for the default Ruby version.

Copied: tags/librspec-ruby/1.3.0-3/debian/patches/14_ruby1.9.2-lambda.patch (from rev 5771, trunk/librspec-ruby/debian/patches/14_ruby1.9.2-lambda.patch)
===================================================================
--- tags/librspec-ruby/1.3.0-3/debian/patches/14_ruby1.9.2-lambda.patch	                        (rev 0)
+++ tags/librspec-ruby/1.3.0-3/debian/patches/14_ruby1.9.2-lambda.patch	2010-08-16 23:31:59 UTC (rev 5772)
@@ -0,0 +1,29 @@
+Author: Tobias Grimm <etobi at debian.org>
+Description: Ruby 1.9.2 requires a lambda block which is passed to instance_eval
+to contain an argument. instance_eval will pass self as this argument.
+Index: librspec-ruby-1.3.0/lib/spec/example/example_group_methods.rb
+===================================================================
+--- librspec-ruby-1.3.0.orig/lib/spec/example/example_group_methods.rb	2010-08-17 00:19:15.000000000 +0200
++++ librspec-ruby-1.3.0/lib/spec/example/example_group_methods.rb	2010-08-17 00:19:10.000000000 +0200
+@@ -77,7 +77,7 @@
+       end
+ 
+       def pending_implementation
+-        lambda { raise(Spec::Example::NotYetImplementedError) }
++        lambda { |*args| raise(Spec::Example::NotYetImplementedError) }
+       end
+ 
+       alias_method :it, :example
+Index: librspec-ruby-1.3.0/lib/spec/example/subject.rb
+===================================================================
+--- librspec-ruby-1.3.0.orig/lib/spec/example/subject.rb	2010-08-17 00:20:01.000000000 +0200
++++ librspec-ruby-1.3.0/lib/spec/example/subject.rb	2010-08-17 00:19:58.000000000 +0200
+@@ -40,7 +40,7 @@
+         end
+ 
+         def implicit_subject
+-          (described_class ? lambda {described_class.new} : lambda {description_args.first})
++          (described_class ? lambda {|*args| described_class.new} : lambda {|*args| description_args.first})
+         end
+       end
+ 

Copied: tags/librspec-ruby/1.3.0-3/debian/patches/15_ruby1.9.2-array-sort.patch (from rev 5771, trunk/librspec-ruby/debian/patches/15_ruby1.9.2-array-sort.patch)
===================================================================
--- tags/librspec-ruby/1.3.0-3/debian/patches/15_ruby1.9.2-array-sort.patch	                        (rev 0)
+++ tags/librspec-ruby/1.3.0-3/debian/patches/15_ruby1.9.2-array-sort.patch	2010-08-16 23:31:59 UTC (rev 5772)
@@ -0,0 +1,17 @@
+Author: Tobias Grimm <etobi at debian.org>
+Description: Ruby 1.9.2 defines a <=> operator on Object, so testing for
+it's existance doesn't make sense anymor. Instead just catch any error
+thrown, when sorting.
+Index: librspec-ruby-1.3.0/lib/spec/matchers/match_array.rb
+===================================================================
+--- librspec-ruby-1.3.0.orig/lib/spec/matchers/match_array.rb	2010-08-17 00:22:18.000000000 +0200
++++ librspec-ruby-1.3.0/lib/spec/matchers/match_array.rb	2010-08-17 00:22:11.000000000 +0200
+@@ -34,7 +34,7 @@
+       private
+ 
+         def safe_sort(array)
+-          array.all?{|item| item.respond_to?(:<=>)} ? array.sort : array
++          array.sort rescue array
+         end
+ 
+         def difference_between_arrays(array_1, array_2)

Copied: tags/librspec-ruby/1.3.0-3/debian/patches/16_ruby1.9.2-class-variable.patch (from rev 5771, trunk/librspec-ruby/debian/patches/16_ruby1.9.2-class-variable.patch)
===================================================================
--- tags/librspec-ruby/1.3.0-3/debian/patches/16_ruby1.9.2-class-variable.patch	                        (rev 0)
+++ tags/librspec-ruby/1.3.0-3/debian/patches/16_ruby1.9.2-class-variable.patch	2010-08-16 23:31:59 UTC (rev 5772)
@@ -0,0 +1,20 @@
+Author: Tobias Grimm <etobi at debian.org>
+Description: Ruby 1.9.2 allows class variable access again.
+Index: librspec-ruby-1.3.0/spec/spec/example/example_group_spec.rb
+===================================================================
+--- librspec-ruby-1.3.0.orig/spec/spec/example/example_group_spec.rb	2010-08-17 00:25:00.000000000 +0200
++++ librspec-ruby-1.3.0/spec/spec/example/example_group_spec.rb	2010-08-17 00:24:51.000000000 +0200
+@@ -24,11 +24,9 @@
+         end
+       end
+       
+-      it "can NOT access class variables in examples in Ruby 1.9" do
++      it "can access class variables in examples in Ruby 1.9" do
+         with_ruby 1.9 do
+-          lambda do
+-            @@class_variable.should == "a class variable"
+-          end.should raise_error(NameError)
++          @@class_variable.should == "a class variable"
+         end
+       end
+       

Copied: tags/librspec-ruby/1.3.0-3/debian/patches/17_ruby1.9.2-formatter-samples.patch (from rev 5771, trunk/librspec-ruby/debian/patches/17_ruby1.9.2-formatter-samples.patch)
===================================================================
--- tags/librspec-ruby/1.3.0-3/debian/patches/17_ruby1.9.2-formatter-samples.patch	                        (rev 0)
+++ tags/librspec-ruby/1.3.0-3/debian/patches/17_ruby1.9.2-formatter-samples.patch	2010-08-16 23:31:59 UTC (rev 5772)
@@ -0,0 +1,760 @@
+Author: Tobias Grimm <etobi at debian.org>
+Description: Sample formatter output for Ruby 1.9.2
+Index: librspec-ruby-1.3.0/spec/spec/runner/formatter/html_formatted-1.9.2.html
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ librspec-ruby-1.3.0/spec/spec/runner/formatter/html_formatted-1.9.2.html	2010-08-17 00:27:26.000000000 +0200
+@@ -0,0 +1,377 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<!DOCTYPE html 
++  PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
++  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
++<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
++<head>
++  <title>RSpec results</title>
++  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
++  <meta http-equiv="Expires" content="-1" />
++  <meta http-equiv="Pragma" content="no-cache" />
++  <style type="text/css">
++  body {
++    margin: 0;
++    padding: 0;
++    background: #fff;
++    font-size: 80%;
++  }
++  </style>
++  <script type="text/javascript">
++    // <![CDATA[
++function moveProgressBar(percentDone) {
++  document.getElementById("rspec-header").style.width = percentDone +"%";
++}
++function makeRed(element_id) {
++  document.getElementById(element_id).style.background = '#C40D0D';
++  document.getElementById(element_id).style.color = '#FFFFFF';
++}
++
++function makeYellow(element_id) {
++  if (element_id == "rspec-header" && document.getElementById(element_id).style.background != '#C40D0D')
++  {
++    document.getElementById(element_id).style.background = '#FAF834';
++    document.getElementById(element_id).style.color = '#000000';
++  }
++  else
++  {
++    document.getElementById(element_id).style.background = '#FAF834';
++    document.getElementById(element_id).style.color = '#000000';
++  }
++}
++
++    // ]]>
++  </script>
++  <style type="text/css">
++#rspec-header {
++  background: #65C400; color: #fff; height: 4em;
++}
++
++.rspec-report h1 {
++  margin: 0px 10px 0px 10px;
++  padding: 10px;
++  font-family: "Lucida Grande", Helvetica, sans-serif;
++  font-size: 1.8em;
++  position: absolute;
++}
++
++#summary {
++  margin: 0; padding: 5px 10px;
++  font-family: "Lucida Grande", Helvetica, sans-serif;
++  text-align: right;
++  top: 0px;
++  right: 0px;
++  float:right;
++}
++
++#summary p {
++  margin: 0 0 0 2px;
++}
++
++#summary #totals {
++  font-size: 1.2em;
++}
++
++.example_group {
++  margin: 0 10px 5px;
++  background: #fff;
++}
++
++dl {
++  margin: 0; padding: 0 0 5px;
++  font: normal 11px "Lucida Grande", Helvetica, sans-serif;
++}
++
++dt {
++  padding: 3px;
++  background: #65C400;
++  color: #fff;
++  font-weight: bold;
++}
++
++dd {
++  margin: 5px 0 5px 5px;
++  padding: 3px 3px 3px 18px;
++}
++
++dd.spec.passed {
++  border-left: 5px solid #65C400;
++  border-bottom: 1px solid #65C400;
++  background: #DBFFB4; color: #3D7700;
++}
++
++dd.spec.failed {
++  border-left: 5px solid #C20000;
++  border-bottom: 1px solid #C20000;
++  color: #C20000; background: #FFFBD3;
++}
++
++dd.spec.not_implemented {
++  border-left: 5px solid #FAF834;
++  border-bottom: 1px solid #FAF834;
++  background: #FCFB98; color: #131313;
++}
++
++dd.spec.pending_fixed {
++  border-left: 5px solid #0000C2;
++  border-bottom: 1px solid #0000C2;
++  color: #0000C2; background: #D3FBFF;
++}
++
++.backtrace {
++  color: #000;
++  font-size: 12px;
++}
++
++a {
++  color: #BE5C00;
++}
++
++/* Ruby code, style similar to vibrant ink */
++.ruby {
++  font-size: 12px;
++  font-family: monospace;
++  color: white;
++  background-color: black;
++  padding: 0.1em 0 0.2em 0;
++}
++
++.ruby .keyword { color: #FF6600; }
++.ruby .constant { color: #339999; }
++.ruby .attribute { color: white; }
++.ruby .global { color: white; }
++.ruby .module { color: white; }
++.ruby .class { color: white; }
++.ruby .string { color: #66FF00; }
++.ruby .ident { color: white; }
++.ruby .method { color: #FFCC00; }
++.ruby .number { color: white; }
++.ruby .char { color: white; }
++.ruby .comment { color: #9933CC; }
++.ruby .symbol { color: white; }
++.ruby .regex { color: #44B4CC; }
++.ruby .punct { color: white; }
++.ruby .escape { color: white; }
++.ruby .interp { color: white; }
++.ruby .expr { color: white; }
++
++.ruby .offending { background-color: gray; }
++.ruby .linenum {
++  width: 75px;
++  padding: 0.1em 1em 0.2em 0;
++  color: #000000;
++  background-color: #FFFBD3;
++}
++
++  </style>
++</head>
++<body>
++<div class="rspec-report">
++
++<div id="rspec-header">
++  <div id="label">
++    <h1>RSpec Code Examples</h1>
++  </div>
++
++  <div id="summary">
++    <p id="totals">&nbsp;</p>
++    <p id="duration">&nbsp;</p>
++  </div>
++</div>
++
++<div class="results">
++<div class="example_group">
++  <dl>
++  <dt id="example_group_1">Mocker</dt>
++    <script type="text/javascript">moveProgressBar('5.8');</script>
++    <dd class="spec passed"><span class="passed_spec_name">should be able to call mock()</span></dd>
++    <script type="text/javascript">makeRed('rspec-header');</script>
++    <script type="text/javascript">makeRed('example_group_1');</script>
++    <script type="text/javascript">moveProgressBar('11.7');</script>
++    <dd class="spec failed">
++      <span class="failed_spec_name">should fail when expected message not received</span>
++      <div class="failure" id="failure_1">
++        <div class="message"><pre>Mock &quot;poke me&quot; expected :poke with (any args) once, but received it 0 times</pre></div>
++        <div class="backtrace"><pre>./examples/failing/mocking_example.rb:11:in `block (2 levels) in <top (required)>'
++./spec/spec_helper.rb:42:in `run_with'
++./spec/spec/runner/formatter/html_formatter_spec.rb:41:in `block (4 levels) in <module:Formatter>'
++./spec/spec/runner/formatter/html_formatter_spec.rb:29:in `chdir'
++./spec/spec/runner/formatter/html_formatter_spec.rb:29:in `block (3 levels) in <module:Formatter>'</pre></div>
++    <pre class="ruby"><code><span class="linenum">9</span>  <span class="ident">it</span> <span class="punct">&quot;</span><span class="string">should fail when expected message not received</span><span class="punct">&quot;</span> <span class="keyword">do</span>
++<span class="linenum">10</span>    <span class="ident">mock</span> <span class="punct">=</span> <span class="ident">mock</span><span class="punct">(&quot;</span><span class="string">poke me</span><span class="punct">&quot;)</span>
++<span class="offending"><span class="linenum">11</span>    <span class="ident">mock</span><span class="punct">.</span><span class="ident">should_receive</span><span class="punct">(</span><span class="symbol">:poke</span><span class="punct">)</span></span>
++<span class="linenum">12</span>  <span class="keyword">end</span>
++<span class="linenum">13</span>  </code></pre>
++      </div>
++    </dd>
++    <script type="text/javascript">moveProgressBar('17.6');</script>
++    <dd class="spec failed">
++      <span class="failed_spec_name">should fail when messages are received out of order</span>
++      <div class="failure" id="failure_2">
++        <div class="message"><pre>Mock &quot;one two three&quot; received :three out of order</pre></div>
++        <div class="backtrace"><pre>./examples/failing/mocking_example.rb:20:in `block (2 levels) in <top (required)>'
++./spec/spec_helper.rb:42:in `run_with'
++./spec/spec/runner/formatter/html_formatter_spec.rb:41:in `block (4 levels) in <module:Formatter>'
++./spec/spec/runner/formatter/html_formatter_spec.rb:29:in `chdir'
++./spec/spec/runner/formatter/html_formatter_spec.rb:29:in `block (3 levels) in <module:Formatter>'</pre></div>
++    <pre class="ruby"><code><span class="linenum">18</span>    <span class="ident">mock</span><span class="punct">.</span><span class="ident">should_receive</span><span class="punct">(</span><span class="symbol">:three</span><span class="punct">).</span><span class="ident">ordered</span>
++<span class="linenum">19</span>    <span class="ident">mock</span><span class="punct">.</span><span class="ident">one</span>
++<span class="offending"><span class="linenum">20</span>    <span class="ident">mock</span><span class="punct">.</span><span class="ident">three</span></span>
++<span class="linenum">21</span>    <span class="ident">mock</span><span class="punct">.</span><span class="ident">two</span>
++<span class="linenum">22</span>  <span class="keyword">end</span></code></pre>
++      </div>
++    </dd>
++    <script type="text/javascript">moveProgressBar('23.5');</script>
++    <dd class="spec failed">
++      <span class="failed_spec_name">should get yelled at when sending unexpected messages</span>
++      <div class="failure" id="failure_3">
++        <div class="message"><pre>Mock &quot;don't talk to me&quot; expected :any_message_at_all with (no args) 0 times, but received it once</pre></div>
++        <div class="backtrace"><pre>./examples/failing/mocking_example.rb:27:in `block (2 levels) in <top (required)>'
++./spec/spec_helper.rb:42:in `run_with'
++./spec/spec/runner/formatter/html_formatter_spec.rb:41:in `block (4 levels) in <module:Formatter>'
++./spec/spec/runner/formatter/html_formatter_spec.rb:29:in `chdir'
++./spec/spec/runner/formatter/html_formatter_spec.rb:29:in `block (3 levels) in <module:Formatter>'</pre></div>
++    <pre class="ruby"><code><span class="linenum">25</span>    <span class="ident">mock</span> <span class="punct">=</span> <span class="ident">mock</span><span class="punct">(&quot;</span><span class="string">don't talk to me</span><span class="punct">&quot;)</span>
++<span class="linenum">26</span>    <span class="ident">mock</span><span class="punct">.</span><span class="ident">should_not_receive</span><span class="punct">(</span><span class="symbol">:any_message_at_all</span><span class="punct">)</span>
++<span class="offending"><span class="linenum">27</span>    <span class="ident">mock</span><span class="punct">.</span><span class="ident">any_message_at_all</span></span>
++<span class="linenum">28</span>  <span class="keyword">end</span></code></pre>
++      </div>
++    </dd>
++    <script type="text/javascript">moveProgressBar('29.4');</script>
++    <dd class="spec pending_fixed">
++      <span class="failed_spec_name">has a bug we need to fix</span>
++      <div class="failure" id="failure_4">
++        <div class="message"><pre>Expected pending 'here is the bug' to fail. No Error was raised.</pre></div>
++        <div class="backtrace"><pre>./examples/failing/mocking_example.rb:31:in `block (2 levels) in <top (required)>'
++./spec/spec_helper.rb:42:in `run_with'
++./spec/spec/runner/formatter/html_formatter_spec.rb:41:in `block (4 levels) in <module:Formatter>'
++./spec/spec/runner/formatter/html_formatter_spec.rb:29:in `chdir'
++./spec/spec/runner/formatter/html_formatter_spec.rb:29:in `block (3 levels) in <module:Formatter>'</pre></div>
++    <pre class="ruby"><code><span class="linenum">29</span>
++<span class="linenum">30</span>  <span class="ident">it</span> <span class="punct">&quot;</span><span class="string">has a bug we need to fix</span><span class="punct">&quot;</span> <span class="keyword">do</span>
++<span class="offending"><span class="linenum">31</span>    <span class="ident">pending</span> <span class="punct">&quot;</span><span class="string">here is the bug</span><span class="punct">&quot;</span> <span class="keyword">do</span></span>
++<span class="linenum">32</span>      <span class="comment"># Actually, no. It's fixed. This will fail because it passes :-)</span>
++<span class="linenum">33</span>      <span class="ident">mock</span> <span class="punct">=</span> <span class="ident">mock</span><span class="punct">(&quot;</span><span class="string">Bug</span><span class="punct">&quot;)</span></code></pre>
++      </div>
++    </dd>
++  </dl>
++</div>
++<div class="example_group">
++  <dl>
++  <dt id="example_group_2">Running specs with --diff</dt>
++    <script type="text/javascript">makeRed('example_group_2');</script>
++    <script type="text/javascript">moveProgressBar('35.2');</script>
++    <dd class="spec failed">
++      <span class="failed_spec_name">should print diff of different strings</span>
++      <div class="failure" id="failure_5">
++        <div class="message"><pre>expected: &quot;RSpec is a\nbehaviour driven development\nframework for Ruby\n&quot;,
++     got: &quot;RSpec is a\nbehavior driven development\nframework for Ruby\n&quot; (using ==)
++
++ Diff:
++@@ -1,4 +1,4 @@
++ RSpec is a
++-behaviour driven development
+++behavior driven development
++ framework for Ruby
++</pre></div>
++        <div class="backtrace"><pre>./examples/failing/diffing_spec.rb:13:in `block (2 levels) in <top (required)>'
++./spec/spec_helper.rb:42:in `run_with'
++./spec/spec/runner/formatter/html_formatter_spec.rb:41:in `block (4 levels) in <module:Formatter>'
++./spec/spec/runner/formatter/html_formatter_spec.rb:29:in `chdir'
++./spec/spec/runner/formatter/html_formatter_spec.rb:29:in `block (3 levels) in <module:Formatter>'</pre></div>
++    <pre class="ruby"><code><span class="linenum">11</span><span class="ident">framework</span> <span class="keyword">for</span> <span class="constant">Ruby</span>
++<span class="linenum">12</span><span class="constant">EOF</span>
++<span class="offending"><span class="linenum">13</span>    <span class="ident">usa</span><span class="punct">.</span><span class="ident">should</span> <span class="punct">==</span> <span class="ident">uk</span></span>
++<span class="linenum">14</span>  <span class="keyword">end</span></code></pre>
++      </div>
++    </dd>
++    <script type="text/javascript">moveProgressBar('41.1');</script>
++    <dd class="spec failed">
++      <span class="failed_spec_name">should print diff of different objects' pretty representation</span>
++      <div class="failure" id="failure_6">
++        <div class="message"><pre>
++expected &lt;Animal
++name=bob,
++species=tortoise
++&gt;
++
++     got &lt;Animal
++name=bob,
++species=giraffe
++&gt;
++
++
++(compared using eql?)
++</pre></div>
++        <div class="backtrace"><pre>./examples/failing/diffing_spec.rb:34:in `block (2 levels) in <top (required)>'
++./spec/spec_helper.rb:42:in `run_with'
++./spec/spec/runner/formatter/html_formatter_spec.rb:41:in `block (4 levels) in <module:Formatter>'
++./spec/spec/runner/formatter/html_formatter_spec.rb:29:in `chdir'
++./spec/spec/runner/formatter/html_formatter_spec.rb:29:in `block (3 levels) in <module:Formatter>'</pre></div>
++    <pre class="ruby"><code><span class="linenum">32</span>    <span class="ident">expected</span> <span class="punct">=</span> <span class="constant">Animal</span><span class="punct">.</span><span class="ident">new</span> <span class="punct">&quot;</span><span class="string">bob</span><span class="punct">&quot;,</span> <span class="punct">&quot;</span><span class="string">giraffe</span><span class="punct">&quot;</span>
++<span class="linenum">33</span>    <span class="ident">actual</span>   <span class="punct">=</span> <span class="constant">Animal</span><span class="punct">.</span><span class="ident">new</span> <span class="punct">&quot;</span><span class="string">bob</span><span class="punct">&quot;,</span> <span class="punct">&quot;</span><span class="string">tortoise</span><span class="punct">&quot;</span>
++<span class="offending"><span class="linenum">34</span>    <span class="ident">expected</span><span class="punct">.</span><span class="ident">should</span> <span class="ident">eql</span><span class="punct">(</span><span class="ident">actual</span><span class="punct">)</span></span>
++<span class="linenum">35</span>  <span class="keyword">end</span>
++<span class="linenum">36</span><span class="keyword">end</span></code></pre>
++      </div>
++    </dd>
++  </dl>
++</div>
++<div class="example_group">
++  <dl>
++  <dt id="example_group_3">A consumer of a stub</dt>
++    <script type="text/javascript">moveProgressBar('47.0');</script>
++    <dd class="spec passed"><span class="passed_spec_name">should be able to stub methods on any Object</span></dd>
++  </dl>
++</div>
++<div class="example_group">
++  <dl>
++  <dt id="example_group_4">A stubbed method on a class</dt>
++    <script type="text/javascript">moveProgressBar('52.9');</script>
++    <dd class="spec passed"><span class="passed_spec_name">should return the stubbed value</span></dd>
++    <script type="text/javascript">moveProgressBar('58.8');</script>
++    <dd class="spec passed"><span class="passed_spec_name">should revert to the original method after each spec</span></dd>
++    <script type="text/javascript">moveProgressBar('64.7');</script>
++    <dd class="spec passed"><span class="passed_spec_name">can stub! and mock the same message</span></dd>
++  </dl>
++</div>
++<div class="example_group">
++  <dl>
++  <dt id="example_group_5">A mock</dt>
++    <script type="text/javascript">moveProgressBar('70.5');</script>
++    <dd class="spec passed"><span class="passed_spec_name">can stub!</span></dd>
++    <script type="text/javascript">moveProgressBar('76.4');</script>
++    <dd class="spec passed"><span class="passed_spec_name">can stub! and mock</span></dd>
++    <script type="text/javascript">moveProgressBar('82.3');</script>
++    <dd class="spec passed"><span class="passed_spec_name">can stub! and mock the same message</span></dd>
++  </dl>
++</div>
++<div class="example_group">
++  <dl>
++  <dt id="example_group_6">pending example (using pending method)</dt>
++    <script type="text/javascript">makeYellow('example_group_6');</script>
++    <script type="text/javascript">moveProgressBar('88.2');</script>
++    <dd class="spec not_implemented"><span class="not_implemented_spec_name">should be reported as &quot;PENDING: for some reason&quot; (PENDING: for some reason)</span></dd>
++  </dl>
++</div>
++<div class="example_group">
++  <dl>
++  <dt id="example_group_7">pending example (with no block)</dt>
++    <script type="text/javascript">makeYellow('example_group_7');</script>
++    <script type="text/javascript">moveProgressBar('94.1');</script>
++    <dd class="spec not_implemented"><span class="not_implemented_spec_name">should be reported as &quot;PENDING: Not Yet Implemented&quot; (PENDING: Not Yet Implemented)</span></dd>
++  </dl>
++</div>
++<div class="example_group">
++  <dl>
++  <dt id="example_group_8">pending example (with block for pending)</dt>
++    <script type="text/javascript">makeYellow('example_group_8');</script>
++    <script type="text/javascript">moveProgressBar('100.0');</script>
++    <dd class="spec not_implemented"><span class="not_implemented_spec_name">should have a failing block, passed to pending, reported as &quot;PENDING: for some reason&quot; (PENDING: for some reason)</span></dd>
++  </dl>
++</div>
++<script type="text/javascript">document.getElementById('duration').innerHTML = "Finished in <strong>x seconds</strong>";</script>
++<script type="text/javascript">document.getElementById('totals').innerHTML = "17 examples, 6 failures, 3 pending";</script>
++</div>
++</div>
++</body>
++</html>
+Index: librspec-ruby-1.3.0/spec/spec/runner/formatter/text_mate_formatted-1.9.2.html
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ librspec-ruby-1.3.0/spec/spec/runner/formatter/text_mate_formatted-1.9.2.html	2010-08-17 00:27:14.000000000 +0200
+@@ -0,0 +1,371 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<!DOCTYPE html 
++  PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
++  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
++<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
++<head>
++  <title>RSpec results</title>
++  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
++  <meta http-equiv="Expires" content="-1" />
++  <meta http-equiv="Pragma" content="no-cache" />
++  <style type="text/css">
++  body {
++    margin: 0;
++    padding: 0;
++    background: #fff;
++    font-size: 80%;
++  }
++  </style>
++  <script type="text/javascript">
++    // <![CDATA[
++function moveProgressBar(percentDone) {
++  document.getElementById("rspec-header").style.width = percentDone +"%";
++}
++function makeRed(element_id) {
++  document.getElementById(element_id).style.background = '#C40D0D';
++  document.getElementById(element_id).style.color = '#FFFFFF';
++}
++
++function makeYellow(element_id) {
++  if (element_id == "rspec-header" && document.getElementById(element_id).style.background != '#C40D0D')
++  {
++    document.getElementById(element_id).style.background = '#FAF834';
++    document.getElementById(element_id).style.color = '#000000';
++  }
++  else
++  {
++    document.getElementById(element_id).style.background = '#FAF834';
++    document.getElementById(element_id).style.color = '#000000';
++  }
++}
++
++    // ]]>
++  </script>
++  <style type="text/css">
++#rspec-header {
++  background: #65C400; color: #fff; height: 4em;
++}
++
++.rspec-report h1 {
++  margin: 0px 10px 0px 10px;
++  padding: 10px;
++  font-family: "Lucida Grande", Helvetica, sans-serif;
++  font-size: 1.8em;
++  position: absolute;
++}
++
++#summary {
++  margin: 0; padding: 5px 10px;
++  font-family: "Lucida Grande", Helvetica, sans-serif;
++  text-align: right;
++  top: 0px;
++  right: 0px;
++  float:right;
++}
++
++#summary p {
++  margin: 0 0 0 2px;
++}
++
++#summary #totals {
++  font-size: 1.2em;
++}
++
++.example_group {
++  margin: 0 10px 5px;
++  background: #fff;
++}
++
++dl {
++  margin: 0; padding: 0 0 5px;
++  font: normal 11px "Lucida Grande", Helvetica, sans-serif;
++}
++
++dt {
++  padding: 3px;
++  background: #65C400;
++  color: #fff;
++  font-weight: bold;
++}
++
++dd {
++  margin: 5px 0 5px 5px;
++  padding: 3px 3px 3px 18px;
++}
++
++dd.spec.passed {
++  border-left: 5px solid #65C400;
++  border-bottom: 1px solid #65C400;
++  background: #DBFFB4; color: #3D7700;
++}
++
++dd.spec.failed {
++  border-left: 5px solid #C20000;
++  border-bottom: 1px solid #C20000;
++  color: #C20000; background: #FFFBD3;
++}
++
++dd.spec.not_implemented {
++  border-left: 5px solid #FAF834;
++  border-bottom: 1px solid #FAF834;
++  background: #FCFB98; color: #131313;
++}
++
++dd.spec.pending_fixed {
++  border-left: 5px solid #0000C2;
++  border-bottom: 1px solid #0000C2;
++  color: #0000C2; background: #D3FBFF;
++}
++
++.backtrace {
++  color: #000;
++  font-size: 12px;
++}
++
++a {
++  color: #BE5C00;
++}
++
++/* Ruby code, style similar to vibrant ink */
++.ruby {
++  font-size: 12px;
++  font-family: monospace;
++  color: white;
++  background-color: black;
++  padding: 0.1em 0 0.2em 0;
++}
++
++.ruby .keyword { color: #FF6600; }
++.ruby .constant { color: #339999; }
++.ruby .attribute { color: white; }
++.ruby .global { color: white; }
++.ruby .module { color: white; }
++.ruby .class { color: white; }
++.ruby .string { color: #66FF00; }
++.ruby .ident { color: white; }
++.ruby .method { color: #FFCC00; }
++.ruby .number { color: white; }
++.ruby .char { color: white; }
++.ruby .comment { color: #9933CC; }
++.ruby .symbol { color: white; }
++.ruby .regex { color: #44B4CC; }
++.ruby .punct { color: white; }
++.ruby .escape { color: white; }
++.ruby .interp { color: white; }
++.ruby .expr { color: white; }
++
++.ruby .offending { background-color: gray; }
++.ruby .linenum {
++  width: 75px;
++  padding: 0.1em 1em 0.2em 0;
++  color: #000000;
++  background-color: #FFFBD3;
++}
++
++  </style>
++</head>
++<body>
++<div class="rspec-report">
++
++<div id="rspec-header">
++  <div id="label">
++    <h1>RSpec Code Examples</h1>
++  </div>
++
++  <div id="summary">
++    <p id="totals">&nbsp;</p>
++    <p id="duration">&nbsp;</p>
++  </div>
++</div>
++
++<div class="results">
++<div class="example_group">
++  <dl>
++  <dt id="example_group_1">Mocker</dt>
++    <script type="text/javascript">moveProgressBar('5.8');</script>
++    <dd class="spec passed"><span class="passed_spec_name">should be able to call mock()</span></dd>
++    <script type="text/javascript">makeRed('rspec-header');</script>
++    <script type="text/javascript">makeRed('example_group_1');</script>
++    <script type="text/javascript">moveProgressBar('11.7');</script>
++    <dd class="spec failed">
++      <span class="failed_spec_name">should fail when expected message not received</span>
++      <div class="failure" id="failure_1">
++        <div class="message"><pre>Mock &quot;poke me&quot; expected :poke with (any args) once, but received it 0 times</pre></div>
++        <div class="backtrace"><pre><a href="txmt://open?url=file://./examples/failing/mocking_example.rb&line=11">./examples/failing/mocking_example.rb:11</a> :in `block (2 levels) in <top (required)>'
++<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=49">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:49</a> :in `block (4 levels) in <module:Formatter>'
++<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=45">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45</a> :in `chdir'
++<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=45">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45</a> :in `block (3 levels) in <module:Formatter>'</pre></div>
++    <pre class="ruby"><code><span class="linenum">9</span>  <span class="ident">it</span> <span class="punct">&quot;</span><span class="string">should fail when expected message not received</span><span class="punct">&quot;</span> <span class="keyword">do</span>
++<span class="linenum">10</span>    <span class="ident">mock</span> <span class="punct">=</span> <span class="ident">mock</span><span class="punct">(&quot;</span><span class="string">poke me</span><span class="punct">&quot;)</span>
++<span class="offending"><span class="linenum">11</span>    <span class="ident">mock</span><span class="punct">.</span><span class="ident">should_receive</span><span class="punct">(</span><span class="symbol">:poke</span><span class="punct">)</span></span>
++<span class="linenum">12</span>  <span class="keyword">end</span>
++<span class="linenum">13</span>  </code></pre>
++      </div>
++    </dd>
++    <script type="text/javascript">moveProgressBar('17.6');</script>
++    <dd class="spec failed">
++      <span class="failed_spec_name">should fail when messages are received out of order</span>
++      <div class="failure" id="failure_2">
++        <div class="message"><pre>Mock &quot;one two three&quot; received :three out of order</pre></div>
++        <div class="backtrace"><pre><a href="txmt://open?url=file://./examples/failing/mocking_example.rb&line=20">./examples/failing/mocking_example.rb:20</a> :in `block (2 levels) in <top (required)>'
++<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=49">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:49</a> :in `block (4 levels) in <module:Formatter>'
++<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=45">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45</a> :in `chdir'
++<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=45">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45</a> :in `block (3 levels) in <module:Formatter>'</pre></div>
++    <pre class="ruby"><code><span class="linenum">18</span>    <span class="ident">mock</span><span class="punct">.</span><span class="ident">should_receive</span><span class="punct">(</span><span class="symbol">:three</span><span class="punct">).</span><span class="ident">ordered</span>
++<span class="linenum">19</span>    <span class="ident">mock</span><span class="punct">.</span><span class="ident">one</span>
++<span class="offending"><span class="linenum">20</span>    <span class="ident">mock</span><span class="punct">.</span><span class="ident">three</span></span>
++<span class="linenum">21</span>    <span class="ident">mock</span><span class="punct">.</span><span class="ident">two</span>
++<span class="linenum">22</span>  <span class="keyword">end</span></code></pre>
++      </div>
++    </dd>
++    <script type="text/javascript">moveProgressBar('23.5');</script>
++    <dd class="spec failed">
++      <span class="failed_spec_name">should get yelled at when sending unexpected messages</span>
++      <div class="failure" id="failure_3">
++        <div class="message"><pre>Mock &quot;don't talk to me&quot; expected :any_message_at_all with (no args) 0 times, but received it once</pre></div>
++        <div class="backtrace"><pre><a href="txmt://open?url=file://./examples/failing/mocking_example.rb&line=27">./examples/failing/mocking_example.rb:27</a> :in `block (2 levels) in <top (required)>'
++<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=49">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:49</a> :in `block (4 levels) in <module:Formatter>'
++<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=45">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45</a> :in `chdir'
++<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=45">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45</a> :in `block (3 levels) in <module:Formatter>'</pre></div>
++    <pre class="ruby"><code><span class="linenum">25</span>    <span class="ident">mock</span> <span class="punct">=</span> <span class="ident">mock</span><span class="punct">(&quot;</span><span class="string">don't talk to me</span><span class="punct">&quot;)</span>
++<span class="linenum">26</span>    <span class="ident">mock</span><span class="punct">.</span><span class="ident">should_not_receive</span><span class="punct">(</span><span class="symbol">:any_message_at_all</span><span class="punct">)</span>
++<span class="offending"><span class="linenum">27</span>    <span class="ident">mock</span><span class="punct">.</span><span class="ident">any_message_at_all</span></span>
++<span class="linenum">28</span>  <span class="keyword">end</span></code></pre>
++      </div>
++    </dd>
++    <script type="text/javascript">moveProgressBar('29.4');</script>
++    <dd class="spec pending_fixed">
++      <span class="failed_spec_name">has a bug we need to fix</span>
++      <div class="failure" id="failure_4">
++        <div class="message"><pre>Expected pending 'here is the bug' to fail. No Error was raised.</pre></div>
++        <div class="backtrace"><pre><a href="txmt://open?url=file://./examples/failing/mocking_example.rb&line=31">./examples/failing/mocking_example.rb:31</a> :in `block (2 levels) in <top (required)>'
++<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=49">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:49</a> :in `block (4 levels) in <module:Formatter>'
++<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=45">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45</a> :in `chdir'
++<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=45">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45</a> :in `block (3 levels) in <module:Formatter>'</pre></div>
++    <pre class="ruby"><code><span class="linenum">29</span>
++<span class="linenum">30</span>  <span class="ident">it</span> <span class="punct">&quot;</span><span class="string">has a bug we need to fix</span><span class="punct">&quot;</span> <span class="keyword">do</span>
++<span class="offending"><span class="linenum">31</span>    <span class="ident">pending</span> <span class="punct">&quot;</span><span class="string">here is the bug</span><span class="punct">&quot;</span> <span class="keyword">do</span></span>
++<span class="linenum">32</span>      <span class="comment"># Actually, no. It's fixed. This will fail because it passes :-)</span>
++<span class="linenum">33</span>      <span class="ident">mock</span> <span class="punct">=</span> <span class="ident">mock</span><span class="punct">(&quot;</span><span class="string">Bug</span><span class="punct">&quot;)</span></code></pre>
++      </div>
++    </dd>
++  </dl>
++</div>
++<div class="example_group">
++  <dl>
++  <dt id="example_group_2">Running specs with --diff</dt>
++    <script type="text/javascript">makeRed('example_group_2');</script>
++    <script type="text/javascript">moveProgressBar('35.2');</script>
++    <dd class="spec failed">
++      <span class="failed_spec_name">should print diff of different strings</span>
++      <div class="failure" id="failure_5">
++        <div class="message"><pre>expected: &quot;RSpec is a\nbehaviour driven development\nframework for Ruby\n&quot;,
++     got: &quot;RSpec is a\nbehavior driven development\nframework for Ruby\n&quot; (using ==)
++
++ Diff:
++@@ -1,4 +1,4 @@
++ RSpec is a
++-behaviour driven development
+++behavior driven development
++ framework for Ruby
++</pre></div>
++        <div class="backtrace"><pre><a href="txmt://open?url=file://./examples/failing/diffing_spec.rb&line=13">./examples/failing/diffing_spec.rb:13</a> :in `block (2 levels) in <top (required)>'
++<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=49">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:49</a> :in `block (4 levels) in <module:Formatter>'
++<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=45">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45</a> :in `chdir'
++<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=45">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45</a> :in `block (3 levels) in <module:Formatter>'</pre></div>
++    <pre class="ruby"><code><span class="linenum">11</span><span class="ident">framework</span> <span class="keyword">for</span> <span class="constant">Ruby</span>
++<span class="linenum">12</span><span class="constant">EOF</span>
++<span class="offending"><span class="linenum">13</span>    <span class="ident">usa</span><span class="punct">.</span><span class="ident">should</span> <span class="punct">==</span> <span class="ident">uk</span></span>
++<span class="linenum">14</span>  <span class="keyword">end</span></code></pre>
++      </div>
++    </dd>
++    <script type="text/javascript">moveProgressBar('41.1');</script>
++    <dd class="spec failed">
++      <span class="failed_spec_name">should print diff of different objects' pretty representation</span>
++      <div class="failure" id="failure_6">
++        <div class="message"><pre>
++expected &lt;Animal
++name=bob,
++species=tortoise
++&gt;
++
++     got &lt;Animal
++name=bob,
++species=giraffe
++&gt;
++
++
++(compared using eql?)
++</pre></div>
++        <div class="backtrace"><pre><a href="txmt://open?url=file://./examples/failing/diffing_spec.rb&line=34">./examples/failing/diffing_spec.rb:34</a> :in `block (2 levels) in <top (required)>'
++<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=49">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:49</a> :in `block (4 levels) in <module:Formatter>'
++<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=45">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45</a> :in `chdir'
++<a href="txmt://open?url=file://./spec/spec/runner/formatter/text_mate_formatter_spec.rb&line=45">./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45</a> :in `block (3 levels) in <module:Formatter>'</pre></div>
++    <pre class="ruby"><code><span class="linenum">32</span>    <span class="ident">expected</span> <span class="punct">=</span> <span class="constant">Animal</span><span class="punct">.</span><span class="ident">new</span> <span class="punct">&quot;</span><span class="string">bob</span><span class="punct">&quot;,</span> <span class="punct">&quot;</span><span class="string">giraffe</span><span class="punct">&quot;</span>
++<span class="linenum">33</span>    <span class="ident">actual</span>   <span class="punct">=</span> <span class="constant">Animal</span><span class="punct">.</span><span class="ident">new</span> <span class="punct">&quot;</span><span class="string">bob</span><span class="punct">&quot;,</span> <span class="punct">&quot;</span><span class="string">tortoise</span><span class="punct">&quot;</span>
++<span class="offending"><span class="linenum">34</span>    <span class="ident">expected</span><span class="punct">.</span><span class="ident">should</span> <span class="ident">eql</span><span class="punct">(</span><span class="ident">actual</span><span class="punct">)</span></span>
++<span class="linenum">35</span>  <span class="keyword">end</span>
++<span class="linenum">36</span><span class="keyword">end</span></code></pre>
++      </div>
++    </dd>
++  </dl>
++</div>
++<div class="example_group">
++  <dl>
++  <dt id="example_group_3">A consumer of a stub</dt>
++    <script type="text/javascript">moveProgressBar('47.0');</script>
++    <dd class="spec passed"><span class="passed_spec_name">should be able to stub methods on any Object</span></dd>
++  </dl>
++</div>
++<div class="example_group">
++  <dl>
++  <dt id="example_group_4">A stubbed method on a class</dt>
++    <script type="text/javascript">moveProgressBar('52.9');</script>
++    <dd class="spec passed"><span class="passed_spec_name">should return the stubbed value</span></dd>
++    <script type="text/javascript">moveProgressBar('58.8');</script>
++    <dd class="spec passed"><span class="passed_spec_name">should revert to the original method after each spec</span></dd>
++    <script type="text/javascript">moveProgressBar('64.7');</script>
++    <dd class="spec passed"><span class="passed_spec_name">can stub! and mock the same message</span></dd>
++  </dl>
++</div>
++<div class="example_group">
++  <dl>
++  <dt id="example_group_5">A mock</dt>
++    <script type="text/javascript">moveProgressBar('70.5');</script>
++    <dd class="spec passed"><span class="passed_spec_name">can stub!</span></dd>
++    <script type="text/javascript">moveProgressBar('76.4');</script>
++    <dd class="spec passed"><span class="passed_spec_name">can stub! and mock</span></dd>
++    <script type="text/javascript">moveProgressBar('82.3');</script>
++    <dd class="spec passed"><span class="passed_spec_name">can stub! and mock the same message</span></dd>
++  </dl>
++</div>
++<div class="example_group">
++  <dl>
++  <dt id="example_group_6">pending example (using pending method)</dt>
++    <script type="text/javascript">makeYellow('example_group_6');</script>
++    <script type="text/javascript">moveProgressBar('88.2');</script>
++    <dd class="spec not_implemented"><span class="not_implemented_spec_name">should be reported as &quot;PENDING: for some reason&quot; (PENDING: for some reason)</span></dd>
++  </dl>
++</div>
++<div class="example_group">
++  <dl>
++  <dt id="example_group_7">pending example (with no block)</dt>
++    <script type="text/javascript">makeYellow('example_group_7');</script>
++    <script type="text/javascript">moveProgressBar('94.1');</script>
++    <dd class="spec not_implemented"><span class="not_implemented_spec_name">should be reported as &quot;PENDING: Not Yet Implemented&quot; (PENDING: Not Yet Implemented)</span></dd>
++  </dl>
++</div>
++<div class="example_group">
++  <dl>
++  <dt id="example_group_8">pending example (with block for pending)</dt>
++    <script type="text/javascript">makeYellow('example_group_8');</script>
++    <script type="text/javascript">moveProgressBar('100.0');</script>
++    <dd class="spec not_implemented"><span class="not_implemented_spec_name">should have a failing block, passed to pending, reported as &quot;PENDING: for some reason&quot; (PENDING: for some reason)</span></dd>
++  </dl>
++</div>
++<script type="text/javascript">document.getElementById('duration').innerHTML = "Finished in <strong>x seconds</strong>";</script>
++<script type="text/javascript">document.getElementById('totals').innerHTML = "17 examples, 6 failures, 3 pending";</script>
++</div>
++</div>
++</body>
++</html>

Copied: tags/librspec-ruby/1.3.0-3/debian/patches/18_ruby1.9.2-minor-test-fix.patch (from rev 5771, trunk/librspec-ruby/debian/patches/18_ruby1.9.2-minor-test-fix.patch)
===================================================================
--- tags/librspec-ruby/1.3.0-3/debian/patches/18_ruby1.9.2-minor-test-fix.patch	                        (rev 0)
+++ tags/librspec-ruby/1.3.0-3/debian/patches/18_ruby1.9.2-minor-test-fix.patch	2010-08-16 23:31:59 UTC (rev 5772)
@@ -0,0 +1,14 @@
+Author: Tobias Grimm <etobi at debian.org>
+Description: Fixes a minor issue in a test with Ruby 1.9.2
+Index: librspec-ruby-1.3.0/spec/spec/example/example_group_proxy_spec.rb
+===================================================================
+--- librspec-ruby-1.3.0.orig/spec/spec/example/example_group_proxy_spec.rb	2010-08-17 00:31:52.000000000 +0200
++++ librspec-ruby-1.3.0/spec/spec/example/example_group_proxy_spec.rb	2010-08-17 00:31:43.000000000 +0200
+@@ -32,6 +32,7 @@
+         end
+         
+         it "is deprecated" do
++          group.stub!(:nested_descriptions => ["ignore","the","description"])
+           Spec.should_receive(:deprecate)
+           proxy.filtered_description(/(ignore)/)
+         end

Deleted: tags/librspec-ruby/1.3.0-3/debian/patches/series
===================================================================
--- trunk/librspec-ruby/debian/patches/series	2010-08-15 20:59:27 UTC (rev 5770)
+++ tags/librspec-ruby/1.3.0-3/debian/patches/series	2010-08-16 23:31:59 UTC (rev 5772)
@@ -1,3 +0,0 @@
-10-force-spec-binary-path.patch
-11_dont-require-rubygems.patch
-13_skip-unsupported-tests.patch

Copied: tags/librspec-ruby/1.3.0-3/debian/patches/series (from rev 5771, trunk/librspec-ruby/debian/patches/series)
===================================================================
--- tags/librspec-ruby/1.3.0-3/debian/patches/series	                        (rev 0)
+++ tags/librspec-ruby/1.3.0-3/debian/patches/series	2010-08-16 23:31:59 UTC (rev 5772)
@@ -0,0 +1,8 @@
+10-force-spec-binary-path.patch
+11_dont-require-rubygems.patch
+13_skip-unsupported-tests.patch
+14_ruby1.9.2-lambda.patch
+15_ruby1.9.2-array-sort.patch
+16_ruby1.9.2-class-variable.patch
+17_ruby1.9.2-formatter-samples.patch
+18_ruby1.9.2-minor-test-fix.patch

Deleted: tags/librspec-ruby/1.3.0-3/debian/rules
===================================================================
--- trunk/librspec-ruby/debian/rules	2010-08-15 20:59:27 UTC (rev 5770)
+++ tags/librspec-ruby/1.3.0-3/debian/rules	2010-08-16 23:31:59 UTC (rev 5772)
@@ -1,27 +0,0 @@
-#!/usr/bin/make -f
-
-include /usr/share/cdbs/1/rules/debhelper.mk
-
-DEB_INSTALL_CHANGELOGS_ALL := History.rdoc
-
-build: build-stamp
-
-build-stamp:
-	INLINEDIR=. help2man --no-info --include=debian/spec.h2m "ruby1.8 bin/spec" >spec.1
-	INLINEDIR=. help2man --no-info --include=debian/spec1.9.1.h2m "ruby1.8 bin/spec" >spec1.9.1.1
-	patch spec.1 <debian/spec.1.diff
-	patch spec1.9.1.1 <debian/spec.1.diff
-	patch spec1.9.1.1 <debian/spec1.9.1.1.diff
-	touch build-stamp
-
-install/librspec-ruby1.8::
-	INLINEDIR=. ruby1.8 bin/spec --options spec/spec.opts spec/spec
-
-install/librspec-ruby1.9.1::
-	mv spec/spec/interop/test debian/test.backup
-	INLINEDIR=. ruby1.9.1 bin/spec --options spec/spec.opts spec/spec
-
-clean::
-	[ ! -d debian/test.backup ] || mv debian/test.backup spec/spec/interop/test
-	rm -f spec*.1 build-stamp
-	rm -rf .ruby_inline

Copied: tags/librspec-ruby/1.3.0-3/debian/rules (from rev 5771, trunk/librspec-ruby/debian/rules)
===================================================================
--- tags/librspec-ruby/1.3.0-3/debian/rules	                        (rev 0)
+++ tags/librspec-ruby/1.3.0-3/debian/rules	2010-08-16 23:31:59 UTC (rev 5772)
@@ -0,0 +1,27 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+DEB_INSTALL_CHANGELOGS_ALL := History.rdoc
+
+build: build-stamp
+
+build-stamp:
+	INLINEDIR=. help2man --no-info --include=debian/spec.h2m "ruby1.8 bin/spec" >spec.1
+	INLINEDIR=. help2man --no-info --include=debian/spec1.9.1.h2m "ruby1.8 bin/spec" >spec1.9.1.1
+	patch spec.1 <debian/spec.1.diff
+	patch spec1.9.1.1 <debian/spec.1.diff
+	patch spec1.9.1.1 <debian/spec1.9.1.1.diff
+	touch build-stamp
+
+install/librspec-ruby1.8::
+	INLINEDIR=. ruby1.8 bin/spec --options spec/spec.opts spec/spec
+
+install/librspec-ruby1.9.1::
+	mv spec/spec/interop/test debian/test.backup
+	INLINEDIR=. ruby1.9.1 -I. bin/spec --options spec/spec.opts spec/spec
+
+clean::
+	[ ! -d debian/test.backup ] || mv debian/test.backup spec/spec/interop/test
+	rm -f spec*.1 build-stamp
+	rm -rf .ruby_inline




More information about the Pkg-ruby-extras-commits mailing list