- Drop dependency on nokogiri (#21)
- Add ability to prepend when doing an append, vs. adding at the end
- Tweak name of matcher
- Add a bulk edit matcher
- Start using
provides
, breaks Chef 11 compat (#11) - Update CentOS testing from 6.6 to 6.7
- Update Berkshelf pin to ~> 4
- New rubocop complaints addressed
- Remove poise dependency, bump to v2.0.0 (#10)
- Close all file handles (#11)
- Ensure we pin to latest poise, so Berkshelf does not use xmledit with older poise
- Make compatible with poise 2.0 by adding
require 'poise'
to each resource and provider class.
- Remove comment that was preventing updates ot the file, fixes #9.
- New feature: bulk action with associated
edits
attribute. Pass an array of hashes that describe each edit, using the same parameters as the other actions. See README.md for an example.
- Load namespace in Nokogiri calls (#7)
- Normalize the output of modified XML. Nokogiri seems to be better at parsing files into normalized XML than just writing it out, so we added a very unfortunate temporary file workaround.
- Remove metadata that breaks chef 11 (source and issue url metadata, specifically)
- Add more unit tests and integration tests
- Update logic so that xml_edit resource truly reflects the state of the file resource being updated
- Do not parse a fragment or try to pass :remove action the fragment
- Add the ability to replace or append (action append_if_missing)
- Attempt to strip/format whitespace better when editing
- Rename actions to map better to nokogiri operations
- Implement remove and append actions
- Add missing xml cookbook dependency
- Initial release.