[macruby-changes] [1797] MacRuby/branches/experimental

source_changes at macosforge.org source_changes at macosforge.org
Sun Jun 7 15:33:57 PDT 2009


Revision: 1797
          http://trac.macosforge.org/projects/ruby/changeset/1797
Author:   eloy.de.enige at gmail.com
Date:     2009-06-07 15:33:57 -0700 (Sun, 07 Jun 2009)
Log Message:
-----------
Temporary hack for mspec tag

Modified Paths:
--------------
    MacRuby/branches/experimental/TODO
    MacRuby/branches/experimental/mspec/lib/mspec/runner/mspec.rb

Modified: MacRuby/branches/experimental/TODO
===================================================================
--- MacRuby/branches/experimental/TODO	2009-06-07 13:15:49 UTC (rev 1796)
+++ MacRuby/branches/experimental/TODO	2009-06-07 22:33:57 UTC (rev 1797)
@@ -66,6 +66,7 @@
   [ ] Thread
   [ ] light threading
 [ ] rubyspec
+  [ ] make regexp specs pass so mspec tools work
   [/] integrate
   [ ] pass the 1.9 specs
 [/] all core-features benchmarks should run faster than yarv

Modified: MacRuby/branches/experimental/mspec/lib/mspec/runner/mspec.rb
===================================================================
--- MacRuby/branches/experimental/mspec/lib/mspec/runner/mspec.rb	2009-06-07 13:15:49 UTC (rev 1796)
+++ MacRuby/branches/experimental/mspec/lib/mspec/runner/mspec.rb	2009-06-07 22:33:57 UTC (rev 1797)
@@ -322,7 +322,9 @@
       lines = IO.readlines(file)
       File.open(file, "w") do |f|
         lines.each do |line|
-          unless pattern =~ line.chomp
+          # unless pattern =~ line.chomp
+          # FIXME: This is temporary until the regexp specs are passing
+          unless "#{tag.tag}:#{tag.description}" == line.chomp
             f.puts line unless line.empty?
           else
             deleted = true
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090607/cdec2f48/attachment.html>


More information about the macruby-changes mailing list