public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-ruby/tryouts/files: tryouts-0.8.5-fixes.patch
@ 2010-02-14  0:18 Diego Petteno (flameeyes)
  0 siblings, 0 replies; only message in thread
From: Diego Petteno (flameeyes) @ 2010-02-14  0:18 UTC (permalink / raw
  To: gentoo-commits

flameeyes    10/02/14 00:18:34

  Added:                tryouts-0.8.5-fixes.patch
  Log:
  Initial import of tryouts, needed for attic (and other packages') tests.
  (Portage version: 2.2_rc62/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-ruby/tryouts/files/tryouts-0.8.5-fixes.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/tryouts/files/tryouts-0.8.5-fixes.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/tryouts/files/tryouts-0.8.5-fixes.patch?rev=1.1&content-type=text/plain

Index: tryouts-0.8.5-fixes.patch
===================================================================
Index: tryouts-0.8.5/lib/tryouts.rb
===================================================================
--- tryouts-0.8.5.orig/lib/tryouts.rb
+++ tryouts-0.8.5/lib/tryouts.rb
@@ -2,10 +2,9 @@
 require 'time'
 require 'digest/sha1'
 
-autoload :Attic, 'attic'
-autoload :SysInfo, 'sysinfo'
-autoload :OpenStruct, 'ostruct'
-autoload :YAML, 'yaml'
+require 'attic'
+require 'sysinfo'
+require 'yaml'
 
 ## NOTE: Don't require rye here so
 ## we can still run tryouts on the
Index: tryouts-0.8.5/Rakefile
===================================================================
--- tryouts-0.8.5.orig/Rakefile
+++ tryouts-0.8.5/Rakefile
@@ -1,7 +1,6 @@
 require 'rubygems'
 require 'rake/clean'
 require 'rake/gempackagetask'
-require 'hanna/rdoctask'
 require 'fileutils'
 include FileUtils
  
@@ -65,6 +64,11 @@ end
 
 
 # RUBY DOCS TASK ==================================
+begin
+  require 'hanna/rdoctask'
+rescue LoadError
+  require 'rake/rdoctask'
+end
 
 Rake::RDocTask.new do |t|
 	t.rdoc_dir = 'doc'






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-02-14  0:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-14  0:18 [gentoo-commits] gentoo-x86 commit in dev-ruby/tryouts/files: tryouts-0.8.5-fixes.patch Diego Petteno (flameeyes)

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