summaryrefslogtreecommitdiff
path: root/lib/chef/handler.rb
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup a bit of YARD and add a few thingsTim Smith2018-01-221-3/+1
| | | | | | Mostly remove some warnings when running yard on the CLI Signed-off-by: Tim Smith <tsmith@chef.io>
* wire up chef handlers directly from librarieslcg/better-handler-wiringLamont Granquist2016-05-131-0/+33
| | | | | | | | | | | | | | | | | | | smear just a little bit of minimal DSL wiring into the Chef::Report class so that classes can wire themselves up automatically as handlers. this also extends the Chef::Config[*_handler] arrays to take classes as well as instances. in the case of passing a class that is not a singleton, a new instance will be created when the report is run. it will obviously be difficult to pass any state into this instance. if the class that is passed supports calling `#instance` we assume it is a Singleton and get the instance and use that. this is to support other chef code grabbing/creating the singleton instance and poking it with data (probably configuring where the reporter goes and what creds it needs to publish and other stuff).
* Update all auth email address from opscode.com and getchef.com to chef.io.Noah Kantrowitz2016-02-021-1/+1
| | | Generated via git ls-files | xargs perl -pi -e "s/(Author.*?<[^@]+@)(?:opscode\\.com|getchef\\.com)(>)/\\1chef.io\\2/gi"
* Replace all Opscode copyrights with Chef Software.Noah Kantrowitz2016-02-021-1/+1
| | | Created via git ls-files | xargs perl -pi -e "s/(Copyright.*?), Opscode(,)? Inc(\.)?/\\1, Chef Software Inc./gi"
* Copyright year update for 2016 and massive cleanup.Noah Kantrowitz2016-02-021-1/+1
| | | Generated via git ls-files | xargs perl -pi -e "s/[Cc]opyright (?:\([Cc]\) )?((?\!$(date +%Y))\\d{4})(-\\d{4})?([, ][ \d]+)*(,|(?= ))/Copyright \\1-$(date +%Y),/g"
* Use double quotes by defaultThom May2016-01-141-2/+2
| | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing.
* [OC-3564] move core Chef to the repo root \o/ \m/Seth Chisamore2012-10-301-0/+235
The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo!