]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
Rename private() to assert_private()
authorFranz Pletz <fpletz@fnordicwalking.de>
Fri, 19 Dec 2014 11:25:21 +0000 (12:25 +0100)
committerTravis Fields <travis@puppetlabs.com>
Thu, 5 Mar 2015 18:59:31 +0000 (10:59 -0800)
commit56d815bcfc5f57d8dff974fd8bba192c6b141f89
treed64a5cf7d5223e6bcba82248108ca32dd10ecadf
parent706b9e8205f1ff205226ef53e7d9b58de5cb6e54
Rename private() to assert_private()

As mentioned in #270, private is a reserved keyword in the future parser
which is to be released with Puppet 4. As it stands, this function is
not useable with the future parser so it needs to renamed.

This is a breaking change.
README.markdown
lib/puppet/parser/functions/assert_private.rb [moved from lib/puppet/parser/functions/private.rb with 83% similarity]
spec/functions/assert_private_spec.rb [moved from spec/functions/private_spec.rb with 92% similarity]