public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-ruby/treetop/files: treetop-1.4.7-fix-tmpdir.patch
@ 2010-05-30  9:08 Hans de Graaff (graaff)
  0 siblings, 0 replies; 2+ messages in thread
From: Hans de Graaff (graaff) @ 2010-05-30  9:08 UTC (permalink / raw
  To: gentoo-commits

graaff      10/05/30 09:08:39

  Added:                treetop-1.4.7-fix-tmpdir.patch
  Log:
  Version bump. Fix (new) broken specs and run them. Drop keywords due to new dependency: #322053.
  (Portage version: 2.1.8.3/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-ruby/treetop/files/treetop-1.4.7-fix-tmpdir.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/treetop/files/treetop-1.4.7-fix-tmpdir.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/treetop/files/treetop-1.4.7-fix-tmpdir.patch?rev=1.1&content-type=text/plain

Index: treetop-1.4.7-fix-tmpdir.patch
===================================================================
diff --git a/spec/compiler/tt_compiler_spec.rb b/spec/compiler/tt_compiler_spec.rb
index a453ad5..946691c 100644
--- a/spec/compiler/tt_compiler_spec.rb
+++ b/spec/compiler/tt_compiler_spec.rb
@@ -8,11 +8,13 @@ ENV['PATH'] = File.expand_path(File.dirname(__FILE__) + '../../../bin' +
 $LOAD_PATH.unshift(File.expand_path('../../../../lib', __FILE__))
 
 describe "The 'tt' comand line compiler" do
+  before(:each) do
+    @tmpdir = Dir.tmpdir
+  end
 
   context 'when processing a single grammar file' do
     before(:each) do
       # create a fresh but dumb grammar file for each example
-      @tmpdir = Dir.tmpdir
       @test_base = "dumb-#{rand(1000)}"
       @test_path = "#{@tmpdir}/#{@test_base}"
       @test_grammar = "#{@test_path}.tt"






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-ruby/treetop/files: treetop-1.4.7-fix-tmpdir.patch
@ 2012-08-01 14:46 Diego Petteno (flameeyes)
  0 siblings, 0 replies; 2+ messages in thread
From: Diego Petteno (flameeyes) @ 2012-08-01 14:46 UTC (permalink / raw
  To: gentoo-commits

flameeyes    12/08/01 14:46:56

  Removed:              treetop-1.4.7-fix-tmpdir.patch
  Log:
  Move to use the new framework for rspec handling. This does not fix tests but at least simplifies the testing part. Also remove unused file.
  
  (Portage version: 2.2.0_alpha120/cvs/Linux x86_64)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-08-01 14:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-01 14:46 [gentoo-commits] gentoo-x86 commit in dev-ruby/treetop/files: treetop-1.4.7-fix-tmpdir.patch Diego Petteno (flameeyes)
  -- strict thread matches above, loose matches on Subject: below --
2010-05-30  9:08 Hans de Graaff (graaff)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox