Re: [Puppet-dev] [PATCH/puppet 2/2] (#7498) Support setting the --in-reply-to flag when using rake mail_patches

2011-05-13 Thread Alex Sharp
The hard part of this is actually getting ahold of the Message-Id header field so you can set the In-Reply-To field :) In the meantime I suppose I'll just paste patches into a reply message. On May 12, 2011, at 2:16 PM, Jacob Helwig wrote: > It's handy to be able to support those people that wi

[Puppet-dev] [PATCH/puppet 1/1] (#7291) Monkeypatch Symbol with #sub method for ruby 1.9

2011-05-10 Thread Alex Sharp
nning under 1.9, we should try to find a non-monkeypatch solution Signed-off-by: Alex Sharp --- Local-branch: ticket/2.7.x/7291 lib/puppet/util/monkey_patches.rb |4 spec/unit/util/monkey_patches_spec.rb |6 ++ 2 files changed, 10 insertions(+), 0 deletions(-) diff --git a/lib/p

[Puppet-dev] [PATCH/puppet 1/1] (#7291) Monkeypatch Symbol class with #sub method in ruby 1.9

2011-05-09 Thread Alex Sharp
Ruby 1.9 removed Symbol#sub, and it's used in various places in the puppet codebase. This is a very simple patch that converts the symbol to a string, performs the #sub on the string and then reconverts the string back to a symbol. Crude, but it should work. Signed-off-by: Alex Sharp ---