puppetlabs/puppet — pull request #172 by joshcooper (2011-10-19 20:51:20+00:00)
Title: (#10161) Fix spurious ruby warning

Ruby 1.8.6 issues warnings when arguments to nested methods are not
parenthesized, e.g.

f.puts(YAML.dump metadata)

results in:

warning: parenthsize arguments(s) for future versions

These warnings were introduced during Windows development, but not
noticed on that platform due to using ruby 1.8.5, which doesn't issue
a warning. This commit just wraps the arguments in parenthesis.