public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-ruby/yajl-ruby/files: yajl-ruby-0.7.6-gentoo.patch
@ 2010-05-23 22:35 Diego Petteno (flameeyes)
  0 siblings, 0 replies; 2+ messages in thread
From: Diego Petteno (flameeyes) @ 2010-05-23 22:35 UTC (permalink / raw
  To: gentoo-commits

flameeyes    10/05/23 22:35:47

  Added:                yajl-ruby-0.7.6-gentoo.patch
  Log:
  Initial import of the yajl bindings for Ruby, optionally used by the new versions of Rails.
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-ruby/yajl-ruby/files/yajl-ruby-0.7.6-gentoo.patch

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

Index: yajl-ruby-0.7.6-gentoo.patch
===================================================================
diff --git a/Rakefile b/Rakefile
index 2849894..50aba6b 100644
--- a/Rakefile
+++ b/Rakefile
@@ -18,6 +18,7 @@ rescue LoadError
   puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install jeweler -s http://gems.github.com"
 end
 
+begin
 require 'rake'
 require 'spec/rake/spectask'
 
@@ -33,3 +34,6 @@ Spec::Rake::SpecTask.new('spec') do |t|
   t.spec_files = FileList['spec/']
   t.spec_opts << '--options' << 'spec/spec.opts'
 end
\ No newline at end of file
+rescue LoadError
+  puts "RSpec, or one of its dependencies, is not available. Install it with: sudo gem install rspec"
+end
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index b68e348..952531a 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -3,5 +3,13 @@ $LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
 
 require 'rubygems'
 require 'yajl'
-require 'active_support/core_ext/kernel/reporting'
 require 'date'
+
+module Kernel
+  def silence_warnings
+    old_verbose, $VERBOSE = $VERBOSE, nil
+    yield
+  ensure
+    $VERBOSE = old_verbose
+  end
+end






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

* [gentoo-commits] gentoo-x86 commit in dev-ruby/yajl-ruby/files: yajl-ruby-0.7.6-gentoo.patch
@ 2010-07-29  2:02 Diego Petteno (flameeyes)
  0 siblings, 0 replies; 2+ messages in thread
From: Diego Petteno (flameeyes) @ 2010-07-29  2:02 UTC (permalink / raw
  To: gentoo-commits

flameeyes    10/07/29 02:02:11

  Removed:              yajl-ruby-0.7.6-gentoo.patch
  Log:
  Cleanup old version.
  (Portage version: 2.2_rc67/cvs/Linux x86_64)



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

end of thread, other threads:[~2010-07-29  2:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-23 22:35 [gentoo-commits] gentoo-x86 commit in dev-ruby/yajl-ruby/files: yajl-ruby-0.7.6-gentoo.patch Diego Petteno (flameeyes)
  -- strict thread matches above, loose matches on Subject: below --
2010-07-29  2:02 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