summaryrefslogtreecommitdiff
path: root/spec/unit/event_dispatch
Commit message (Collapse)AuthorAgeFilesLines
* Add spaces after attrsTim Smith2020-07-071-0/+3
| | | | | | This makes it easier to read the classes. Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove copyright dateslcg/remove-copyright-datesLamont Granquist2020-04-131-1/+1
| | | | | | | | Legally incredibly dubious, particularly since we don't follow it strictly as policy, and we have git history instead, which does it right. This is just a waste of time and a cargo cult. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* some spec typosVivek Singh2020-04-071-1/+1
| | | | Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
* Style/SymbolArrayLamont Granquist2019-07-021-1/+1
| | | | | | start enforcing using %i{} instead of arrays of symbols Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Extract Action Collection from Data CollectorLamont Granquist2019-03-111-4/+51
| | | | | | See the PR for details on this change. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Fix dispatcher tests.Noah Kantrowitz2016-09-061-2/+2
| | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* autofixing whitespace copsLamont Granquist2016-02-052-5/+4
| | | | | | | | | | | | | | | | | | | | | | 4174 Style/SpaceInsideHashLiteralBraces 1860 Style/SpaceAroundOperators 1336 Style/SpaceInsideBlockBraces 1292 Style/AlignHash 997 Style/SpaceAfterComma 860 Style/SpaceAroundEqualsInParameterDefault 310 Style/EmptyLines 294 Style/IndentationConsistency 267 Style/TrailingWhitespace 238 Style/ExtraSpacing 212 Style/SpaceBeforeBlockBraces 166 Style/MultilineOperationIndentation 144 Style/TrailingBlankLines 120 Style/EmptyLineBetweenDefs 101 Style/IndentationWidth 82 Style/SpaceAroundBlockParameters 40 Style/EmptyLinesAroundMethodBody 29 Style/EmptyLinesAroundAccessModifier 1 Style/RescueEnsureAlignment
* Copyright year update for 2016 and massive cleanup.Noah Kantrowitz2016-02-022-2/+2
| | | 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-142-15/+15
| | | | | | | 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.
* Fix dispatch when there are different receiversJohn Keiser2015-10-051-2/+45
| | | | | with different numbers of arguments. Fixes https://github.com/chef/chef-dk/issues/546)
* Reset Chef main class between testsJohn Keiser2015-09-011-4/+0
|
* Support forwards compatibility for event sinks.Noah Kantrowitz2015-07-311-2/+21
| | | | | | We can add new arguments and events without breaking compat as long as the new arguments are added at the end. The new args will be silently trimmed for sending to older event sinks, and new event types will be ignored.
* Merge remote-tracking branch 'origin/master' into chef_handlerRanjib Dey2015-06-241-12/+25
|\
* | add name class attribute for user defined handlers. more readable invalid ↵Ranjib Dey2015-06-231-2/+41
| | | | | | | | event handler exception name.
* | add spec for eventhandler dslRanjib Dey2015-06-131-0/+35
|/
* Allow inspection of event dispatch's subscribersinspect-dispatcher-subscribersdanielsdeleo2015-05-061-0/+61