This MR includes the following:
--no-rdoc have been deprecated in Ruby 2.6.0 and replaced by
This pull request will prepare the module for data-in-modules and provide a REFERENCE.md. Unfortunately this module uses a lot of classes and I need to figure out which one are private. Because some variables are named or used badly, this change will be backwards incompatible and end up in a major release.
The current documentation for triggering the webhook via curl only specifies an example for non-prefixed environments. With the current data structure format, it's unclear whether the full environment name needs to be specified in the 'ref' parameter. This PR implements clear documentation, noting that the full environment name is required.
Adding bitbucket support for a pull request event type.
This is kind of an unfortunate hack, but submitting it here in case it's useful to someone else.
WEBrick allows for logging to stderr if accesslogfile is nil, but with the default for the class parameter set to
/var/log/webhook/access.log, it wasn't possible to set accesslogfile to nil (undef in Puppet). This commit makes that possible by using the special string
stderr, while also maintaining backward compatibility.
Having webhook logging to stderr is useful if you want systemd journal to handle logging instead of having a separate log file.