Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jun 25, 2015
  1. Merge pull request #607 from fnichol/windows-coverage-reporting

    authored
    Filter Windows and Unix paths for test coverage report with Berkshelf.
  2. @fnichol

    Filter Windows and Unix paths for test coverage report with Berkshelf.

    fnichol authored
    In debugging this issue on Windows, it turns out that a Resource's
    `#source_line` could be a path with Windows-style back slashes:
    
        C:\Users\jdoe\AppData\Local\Temp\xxyy\cookbooks\logrotate\recipes\default.rb:20
    
    or a path with Unix-style forward slashes:
    
        C:/Users/jdoe/AppData/Local/Temp/xxyy/cookbooks/logrotate/recipes/default.rb:20
    
    This commit normalizes the path delimeters to always be Unix-style
    forward slashes for the purpose of Regexp comparison.
    
    To guard against any behavior regressions in
    `ChefSpec::Coverage::BerkshelfFilter`, a minimal set of specs was added
    to exercise the behavior of the `#matches?` method. Normally, we would
    require the Berkshelf codebase to create a `Berkshelf::Berksfile`
    instance, but due to the soft-dependency nature of the Berkshelf code
    (i.e. optional and not required), a couple of Rspec code doubles was
    used instead to mimic the `Berksfile`'s behavior.
    
    Fixes #594
Commits on May 13, 2015
  1. Merge pull request #596 from twmartin/windows_service

    authored
    Add windows_service resource
  2. Correct windows_service documentation typos

    twmartin authored
  3. Add windows_service resource

    twmartin authored
Commits on Apr 21, 2015
  1. Merge pull request #589 from joelhandwell/master

    authored
    updating Cheffile site URL to supermerket.chef.io
  2. @joelhandwell
Commits on Apr 20, 2015
  1. Merge pull request #586 from sethvargo/sethvargo/with_content

    authored
    Extend render_file to yield the content as a block
  2. Merge pull request #585 from sethvargo/sethvargo/node_save

    authored
    Document the need to persist node changes back to the server
  3. Clarify text [ci skip]

    authored
  4. Merge pull request #584 from sethvargo/sethvargo/green

    authored
    Update matrix to be more betterer
  5. Turn on bundler caching

    authored
  6. @coderanger

    Fix for Chef 12.1.0 masking exceptions in converge.

    coderanger authored committed
    This is being tracked upstream in chef/chef#3078. The behavior of converge changed from re-raising exceptions to returning them. This will hopefully be resolved in 12.1.2 but this code will be needed to match things up for 12.1.0 and 12.1.1. Without this, you cannot test for exceptions being raised by recipe code.
  7. Do not test Chef 12 < 12.0.2

    authored
  8. Remove duplicate spec

    authored
  9. Remove yanked Chef version

    authored
  10. Merge pull request #583 from tknerr/patch-1

    authored
    Add a failing test and fix for #582 (package identity attribute not matched)
  11. @tknerr

    use Chef::Resource#declared_type first if available (Chef >= 12), oth…

    tknerr authored
    …erwise fall back to Chef::Resource#resource_name (Chef <= 11)
Commits on Apr 7, 2015
  1. @tknerr

    whoops whitespace

    tknerr authored
  2. @tknerr

    Add a failing test for #582

    tknerr authored
Commits on Apr 1, 2015
  1. @dustinspecker

    Fix README typos

    dustinspecker authored
Something went wrong with that request. Please try again.