puppetlabs/packaging — pull request #274 by richardc (2014-02-25 12:03:07+00:00)
Title: maint - restore ruby 1.8.7 compatibility

In ruby 1.8.7 the Pathname#to_path method is called Pathname#TO_PATH. In both
1.9.3 and 1.8.7 it's also aliased to #to_s so switch over to using .to_s
everywhere instead.

http://www.ruby-doc.org/stdlib-1.8.7/libdoc/pathname/rdoc/Pathname.html#method-i-TO_PATH
http://www.ruby-doc.org/stdlib-1.9.3/libdoc/pathname/rdoc/Pathname.html#method-i-to_path