[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/0.24.6-1-356-g5718585

Luke Kanies luke at madstop.com
Fri Jan 23 14:21:05 UTC 2009


The following commit has been merged in the master branch:
commit 6bc56aecdb08b894961563035551480a01e93d53
Author: Luke Kanies <luke at madstop.com>
Date:   Tue Sep 30 16:44:14 2008 -0500

    Aliasing the rspec 'should' method to 'must'
    so it does not conflict with the RAL 'should' method.
    
    Signed-off-by: Luke Kanies <luke at madstop.com>

diff --git a/spec/monkey_patches/alias_should_to_must.rb b/spec/monkey_patches/alias_should_to_must.rb
new file mode 100644
index 0000000..35d3342
--- /dev/null
+++ b/spec/monkey_patches/alias_should_to_must.rb
@@ -0,0 +1,5 @@
+class Object
+    # This is necessary because the RAL has a 'should'
+    # method.
+    alias :must :should
+end

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list