Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update to RSpec 3. | Claire McQuin | 2014-10-29 | 14 | -409/+409 |
| | |||||
* | Fixing test | tyler-ball | 2014-10-07 | 1 | -16/+19 |
| | |||||
* | Moving documentation to a more logical place. Also no longer dis-allowing ↵ | tyler-ball | 2014-10-07 | 1 | -7/+13 |
| | | | | users from running brew as root. | ||||
* | homebrew_owner now tries to run homebrew as the user who owns the `brew` ↵ | tyler-ball | 2014-10-07 | 2 | -65/+91 |
| | | | | executable, or an optional homebrew_package resource attribute | ||||
* | Restoring https://github.com/opscode/chef/pull/1921 to master - somehow it ↵ | tyler-ball | 2014-09-19 | 1 | -0/+65 |
| | | | | got deleted from the git log | ||||
* | fixing travis LC_ALL errors | Lamont Granquist | 2014-09-09 | 1 | -6/+6 |
| | |||||
* | unicode shell_out fixes plus mixlib-shellout 2.x | Lamont Granquist | 2014-09-08 | 1 | -64/+134 |
| | | | | | | - use en_US.UTF-8 explicitly rather than relying on mixlib-shellout's 'C' locale in order to force the LANG by default (restores unicode to most chef-client calls now) | ||||
* | CHEF-4101: DeepMerge - support overwriting hash values with nil | Malte Swart | 2014-08-23 | 1 | -0/+14 |
| | |||||
* | Make FileVendor configuration specific to the two implementations | danielsdeleo | 2014-07-30 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | FileVendor previously was configured by storing a closure/anonymous function as a class instance variable. This had the following downsides: * The API was too general, which caused a lot of code repetition * The block was lazily evaluated, which hid errors and made testing more difficult * The closures captured references to classes with references to large data structures, which complicates GC. Since we've only ever had the same two implementations of FileVendor, we can encapsulate configuration of the FileVendor factory by wrapping each configuration option in a method. As a side benefit, arguments to these methods will be eagerly evaluated, which makes it easier to detect errors. | ||||
* | Set environment option's 'LC_ALL' to nil if not present in option. | Claire McQuin | 2014-06-27 | 1 | -102/+53 |
| | |||||
* | Properly modify environment option based on ENV | Claire McQuin | 2014-06-27 | 1 | -31/+114 |
| | |||||
* | Fix shell_out_with_systems_locale logic, add specs. | Claire McQuin | 2014-06-27 | 1 | -0/+58 |
| | |||||
* | Merge pull request #1000 from ljagiello/CHEF-4562 | Claire McQuin | 2014-06-09 | 1 | -0/+4 |
|\ | | | | | [CHEF-4562] Remove leading underscore | ||||
| * | Unit test for CHEF-4562 | Lukasz Jagiello | 2013-10-03 | 1 | -0/+4 |
| | | |||||
* | | Fix warnings caused by reloading Config | danielsdeleo | 2014-04-24 | 1 | -20/+18 |
| | | |||||
* | | Use safe_dup for DeepMerge#deep_merge to avoid TypeError | danielsdeleo | 2014-03-24 | 1 | -0/+4 |
| | | |||||
* | | Rescue TypeError duping un-dupable types in deep merge | danielsdeleo | 2014-03-24 | 1 | -0/+6 |
| | | |||||
* | | [CHEF-4918] Don't destructively merge subhashes in hash_only_merge! | Steven Danna | 2014-03-19 | 1 | -0/+7 |
| | | | | | | | | | | | | hash_only_merge dups its inputs and then passes it to hash_only_merge!. Unfortunately, dup does not make a deep copy, leading hash_only_merge to mutate deeply nested structures. | ||||
* | | fix should_not raise_error(SpecificException) | Lamont Granquist | 2014-01-29 | 2 | -104/+104 |
| | | |||||
* | | s/mock\(/double(/g | Lamont Granquist | 2014-01-29 | 1 | -1/+1 |
| | | |||||
* | | s/stub!/stub/g | Lamont Granquist | 2014-01-29 | 6 | -17/+17 |
| | | | | | | | | fix deprecation warnings | ||||
* | | CHEF-4734: Stop enforcing group/owner regular expressions | Lamont Granquist | 2014-01-09 | 1 | -3/+77 |
| | | | | | | | | | | | | | | | | | | | | for unix: - user/group cannot start with '-', '+' or '~' - user/group cannot contain ':', ',' or non-space-whitespace or null byte - we already allowed spaces (i don't know why, but it was tested for) - this fixes UTF-8 chars as well windows: - AD users can be pulled in via LDAP | ||||
* | | allow chef to be invoked with empty environment (env -i) | Ranjib Dey | 2013-12-20 | 1 | -0/+6 |
| | | |||||
* | | Mark popen4 tests "volatile" to prevent spurious Ci failures | danielsdeleo | 2013-10-18 | 1 | -1/+1 |
| | | |||||
* | | Use the platform's line endings when rendering templates. | sersut | 2013-10-02 | 1 | -0/+34 |
| | | |||||
* | | revert another checksum to pre-whitespace state | Lamont Granquist | 2013-09-26 | 1 | -1/+1 |
| | | |||||
* | | Normalize whitespace on all files | Seth Vargo | 2013-09-26 | 6 | -92/+92 |
|/ | |||||
* | Don't bother cleaning up Chef::Config after tests or initializing things to ↵ | John Keiser | 2013-09-16 | 1 | -1/+0 |
| | | | | default values before | ||||
* | Reset configuration before each test | John Keiser | 2013-09-16 | 1 | -9/+0 |
| | |||||
* | Use Chef::Config.reset in tests instead of save/load config | John Keiser | 2013-09-13 | 1 | -7/+3 |
| | |||||
* | Upgrade rspec to 2.13.x | danielsdeleo | 2013-07-11 | 1 | -1/+1 |
| | |||||
* | Rename #delay_eval helper to #lazy. Update specs to account for change. | Chris Roberts | 2013-06-19 | 1 | -7/+3 |
| | |||||
* | More specs for more coverage on delayed evaluator usage | Chris Roberts | 2013-06-19 | 1 | -4/+22 |
| | |||||
* | Allow delayed attribute evaluation. Add tests for delayed evaluation | Chris Roberts | 2013-06-19 | 1 | -0/+21 |
| | | | | | Conflicts: lib/chef/mixin/params_validate.rb | ||||
* | don't depend on line separator in partial tests | danielsdeleo | 2013-06-14 | 1 | -6/+6 |
| | | | | | | | | | | | In some windows testing environments no line separator conversion is happening. This may be a function of git settings, or something else in our test cluster environment. In any case, line separators are irrelevant to these tests, as they are testing the partial template feature. We could remove the line endings from the test fixture files, but editors like vim add hidden newlines at the end of files, so this is difficult to maintain. Stripping the line endings within the test code is more sustainable option. | ||||
* | Improve line separator conversion on windows | Daniel DeLeo | 2013-06-07 | 1 | -3/+5 |
| | | | | | | | | * Unconditionally convert \r\n or \n to \r\n. This fixes cases where double converversion would result in \r\r\n * Use binmode to avoid double conversion in IO streams * Use binmode in tests to make sure we're not processing content before testing it. | ||||
* | Remove line endings from template tests to fix them on windows. | sersut | 2013-05-31 | 1 | -4/+4 |
| | |||||
* | Fix method override warnings tests for the new methods. | sersut | 2013-05-30 | 1 | -8/+9 |
| | |||||
* | Make sure that windows line endings are protected during template rendering. | sersut | 2013-05-30 | 1 | -50/+28 |
| | |||||
* | Add warning when overriding core template functionality | danielsdeleo | 2013-05-30 | 1 | -0/+31 |
| | |||||
* | Pass template extensions through to partials | danielsdeleo | 2013-05-29 | 1 | -3/+6 |
| | | | | | | | - move the new TemplateContext code into mixin/template and consolidate with ChefContext - Copy extension modules from parent template to partial template. - Functional tests for helpers with partials. | ||||
* | fix spec broken by FAC fix | Lamont Granquist | 2013-03-29 | 1 | -0/+1 |
| | |||||
* | locate objects closer to their primary concerns | Lamont Granquist | 2013-03-20 | 1 | -1/+1 |
| | |||||
* | fix tests for content provider | Lamont Granquist | 2013-03-18 | 1 | -16/+13 |
| | |||||
* | OC-4739: OC-4748: Create powershell and batch providers in core Chef | adamedx | 2013-02-19 | 1 | -0/+83 |
| | |||||
* | add hash-only merge to deep merge | danielsdeleo | 2013-01-25 | 1 | -0/+12 |
| | |||||
* | WIP tests for array-smashing merge | danielsdeleo | 2013-01-25 | 1 | -0/+25 |
| | |||||
* | [CHEF-3783] Make deprecated constants available | danielsdeleo | 2013-01-23 | 1 | -0/+23 |
| | | | | | | * Make deprecated constants in Chef::Mixin available by loading the relevant files from the chef/dsl files that replace them. * Add deprecation warnings via const_missing hook. | ||||
* | Fix dynamic inclusion of windows securable behavior | danielsdeleo | 2013-01-04 | 1 | -3/+5 |
| | |||||
* | [CHEF-3715] rename ChecksumCache => Digester | danielsdeleo | 2012-12-21 | 1 | -2/+2 |
| |