summaryrefslogtreecommitdiff
path: root/spec/unit/knife/data_bag_from_file_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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-4/+4
| | | | | | | 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.
* autocorrecting Style/TrailingCommalcg/trailing_commaLamont Granquist2016-01-131-1/+1
| | | | chefstyle -a fixed 1044 occurrances
* Convert all uses of Chef::REST to Chef::ServerAPItm/no_more_restThom May2016-01-111-1/+1
| | | | | | | In the process, stop auto-expanding JSON in the HTTP client, and let individual classes control that themselves. Fixes #2737, Fixes #3518
* Stub `windows?` on ChefConfig so it applies to configdanielsdeleo2015-05-201-1/+1
|
* Update to RSpec 3.Claire McQuin2014-10-291-1/+1
|
* Trying to eradicate all traces of the JSON gem from Cheftyler-ball2014-10-071-1/+1
|
* data_bag_from_file_spec passes on windowsJay Mundrawala2014-09-291-0/+1
|
* Unsorted file listings were causing intermittent test failures on different ↵tyler-ball2014-09-291-20/+19
| | | | boxes - mocked out the file lister so the results are consistent now
* Trying to fix intermittent test failure on Travistyler-ball2014-09-291-11/+12
|
* Fixing broken tests and updating all tests to (attempt) to use ↵tyler-ball2014-09-291-118/+95
| | | | describe/context blocks for readability
* Fix expected format of JSON errors in integration testsdanielsdeleo2014-08-101-2/+0
| | | | | | | | The format was previously not stable because chef-zero (or other test code) would `require 'json'` and undo ffi-yajl's monkey patches to the JSON gem. We would probably be better off if we can get out of the business of monkeypatching JSON or attempting to provide compatibility at all, in which case this commit could be reverted.
* s/mock\(/double(/gLamont Granquist2014-01-291-1/+1
|
* s/stub!/stub/gLamont Granquist2014-01-291-14/+14
| | | | fix deprecation warnings
* [CHEF-3392] JSON serialize encrypted data bags, use random IVdanielsdeleo2012-11-141-0/+5
| | | | | | | * Use JSON instead of YAML to serialize encrypted data bag values before encrypting. * Use a random IV for each encrypted value for resilience against some types of crypto attacks. Fixes CHEF-3480.
* [OC-3564] move core Chef to the repo root \o/ \m/Seth Chisamore2012-10-301-0/+191
The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo!