summaryrefslogtreecommitdiff
path: root/spec/unit/platform
Commit message (Collapse)AuthorAgeFilesLines
* fix Style/BlockDelimiters, Style/MultilineBlockLayout and 0.42.0 engine upgradeLamont Granquist2016-08-171-3/+3
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* autofixing whitespace copsLamont Granquist2016-02-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | 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-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-21/+21
| | | | | | | 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.
* Lazy load MSI provider, add check for MSI supportsalam/lazy-msiSalim Alam2015-09-221-0/+49
|
* Remove pesky whitespacemcquin/remove-constClaire McQuin2015-09-211-1/+0
|
* Safely clean up Win32 namespace after specsClaire McQuin2015-09-211-13/+2
|
* Remove Win32 after testsClaire McQuin2015-09-181-4/+25
|
* Don't add win_evt logger when on nano.Claire McQuin2015-09-181-7/+68
|
* Rename refresh_mode_disabled? to dsc_refresh_mode_disabled?mcquin/dsc_resource_specClaire McQuin2015-09-081-3/+3
|
* Skip tests unless RefreshMode is DisabledClaire McQuin2015-09-081-0/+24
|
* Stub `windows?` on ChefConfig so it applies to configdanielsdeleo2015-05-201-1/+1
|
* Added spec for supports_dsc_invoke_resource?Jay Mundrawala2015-03-201-0/+22
|
* Update to RSpec 3.Claire McQuin2014-10-291-5/+5
|
* DscScript resource will raise an error if dsc is not availableJay Mundrawala2014-09-191-0/+23
|
* CHEF-4888: Call WIN32OLE.ole_initialize in sub-threadsBryan McLellan2014-03-241-0/+32
An exception is raised when loading WIN32OLE (including via ruby-wmi) in one thread and used in a sub-thread without calling ole_initialize in that thread. This is common in irb/chef-shell's sub-shells that are created in recipe_mode and attribute_mode. Since it will be a while before this is fixed in Ruby and ruby-wmi/rdp-ruby-wmi are stale, we workaround the bug here. Ruby issue: https://bugs.ruby-lang.org/issues/2618