[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Hello friendly Ruby people



Hi everyone.  I'm interested in helping out with Ruby packaging for Debian.  In particular I'm keen on a rather ambitious project -  to package elasticsearch and logstash.  There's some work in progress already on the debian-java list for the Java dependencies, and I thought I would also start looking at the Ruby gems required for logstash plugins.

My initial list of gems required for the logstash plugins is pretty long about thirty gems.  Too boring to list here?

Just to get my feet wet I've had an initial go at ruby-awesome-print using the instructions on the Teams/Ruby/Packaging wiki page.

http://anonscm.debian.org/cgit/users/tpot-guest/ruby-awesome-print/

There appears to be some different in the way dh_ruby runs rspec tests vs the command line so a patch is required:

--- ruby-awesome-print-1.2.0.orig/spec/spec_helper.rb
+++ ruby-awesome-print-1.2.0/spec/spec_helper.rb
@@ -16,7 +16,6 @@
 #
 $LOAD_PATH.unshift(File.dirname(__FILE__))
 $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
+require 'rspec'
 require 'awesome_print'

 def stub_dotfile!

I'm not sure whether making a patch using dpkg-source --commit is the correct approach though.  Does anyone care to chime in?


Regards,

Tim Potter
Cloud Systems Engineer
HP Cloud Services

timothy.potter@hp.com
M +61 419 749 832
Hewlett-Packard Australia Pty Ltd

This e-mail may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorised to receive for the recipient), please contact the sender by reply e-mail and delete all copies of this message.

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Reply to: