[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, experimental, updated. debian/2.6.8-1-844-g7ec39d5

Matt Robinson matt at puppetlabs.com
Tue May 10 08:13:55 UTC 2011


The following commit has been merged in the experimental branch:
commit 64c12bd7ef38979ff756f97fc72adc737fe7b608
Author: Matt Robinson <matt at puppetlabs.com>
Date:   Wed Apr 13 15:00:00 2011 -0700

    (#6830) Fix UTF-8 encoding issue for Ruby 1.9
    
    If you're going to use special characters in a file and use Ruby 1.9 you
    need to specify the character encoding at the top of the file.
    
    Reviewed-by: Daniel Pittman <daniel at puppetlabs.com>

diff --git a/spec/shared_behaviours/things_that_declare_options.rb b/spec/shared_behaviours/things_that_declare_options.rb
index f7512de..ac358ea 100755
--- a/spec/shared_behaviours/things_that_declare_options.rb
+++ b/spec/shared_behaviours/things_that_declare_options.rb
@@ -1,3 +1,4 @@
+# encoding: UTF-8
 shared_examples_for "things that declare options" do
   it "should support options without arguments" do
     subject = add_options_to { option "--bar" }

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list