]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
(#8792) Rename whole_line type to file_line
authorJeff McCune <jeff@puppetlabs.com>
Fri, 5 Aug 2011 02:17:48 +0000 (19:17 -0700)
committerJeff McCune <jeff@puppetlabs.com>
Fri, 5 Aug 2011 02:17:48 +0000 (19:17 -0700)
commit4c93090e1aad8dfdaa39b4f304d3c87704408b13
treed1fefe1700bc598fad79311f8c85d4767a81d090
parent07d0eca31780bba76f2283ce83f944473ce8fe00
(#8792) Rename whole_line type to file_line

Without this patch the resource whole_line would be included in the
stable stdlib module shipping in PE 1.2.  Ideally the name will be
stable and unchanging in the future.

There was quite a bit of concern over whole_line being an unwise name.
file_line appears to be the most suitable name and least likely to need
another rename in the future.
lib/puppet/provider/file_line/ruby.rb [moved from lib/puppet/provider/whole_line/ruby.rb with 82% similarity]
lib/puppet/type/file_line.rb [moved from lib/puppet/type/whole_line.rb with 93% similarity]
spec/unit/puppet/provider/file_line/ruby_spec.rb [moved from spec/unit/puppet/provider/whole_line/ruby_spec.rb with 87% similarity]
spec/unit/puppet/type/file_line_spec.rb [new file with mode: 0644]
spec/unit/puppet/type/whole_line_spec.rb [deleted file]