Skip to content

Releases: chefspec/chefspec

v4.0.1

27 Jun 16:58
Compare
Choose a tag to compare

Bugfixes:

  • Fix class comparisons
  • Update ChefZero API to work again
  • Use proper cookbook in the template_finder
  • Fix Ruby deprecations
  • Various documentation updates

v4.0.0

02 Jun 23:26
Compare
Choose a tag to compare

Breaking Changes:

  • Upgraded to RSpec 3! RSpec 3 brings many new API changes and syntaxes
  • Bump minimum required Chef version to 11.12! Without this change, Chef Zero will blow up

Bugfixes:

  • Gracefully fail if a resource does not report it's source line in the reporter
  • Pull the correct cookbook folder from the stack on Windows (88bfc6)
  • Cover resources in render_file matchers for reporting
  • Cover resources in link_to matchers for reporting
  • Cover resources in do_nothing matchers for reporting
  • Fix memory leak in LWRP Resource classes
  • Restore the original cookbook_path when using librarian-chef
  • Documentation fixes
  • Disable lazy loading of cached resources
  • Fix a bug that will happen in later Chef versions because FreeBSD is evil (13ff143)
  • Do not pass local file paths to preferred_filename_on_disk_location

Features:

  • Add runner methods for all the bash, csh, perl, etc resources
  • Upgraded fauxhai dependency and specs
  • Upgrade Chef Zero for multi-org support

Improvements:

  • Improved documentation around the define_runner_method method
  • Update badges to be all SVG
  • Test on Ruby 2.1
  • Use a randomly assigned port for Chef Zero
  • Remove references to .stub from documentation

v3.3.1

16 Mar 18:15
Compare
Choose a tag to compare

Bugfixes:

  • Various typographical fixes in the README
  • Remove unused JSON report
  • Restore coverage reporting for Berkshelf 2 users
  • Minor formatting changes for errors

Improvements:

  • Remove dependency on i18n and use native ERB instead
  • Vendor Berkshelf/Librarian in a "cookbooks" directory so we can shorten the pathname during coverage reporting

v3.3.0

16 Mar 18:15
Compare
Choose a tag to compare

Bugfixes:

  • Update documentation for setting automatic attributes
  • Update documentation for stubbing data_bags
  • Use a non-internal RSpec variable name for expecting exceptions
  • Fix the airity of the stub_node method

Improvements:

  • Better filtering protocols for resource coverage

v3.2.0

01 Feb 02:45
Compare
Choose a tag to compare

Bugfixes:

  • Fix coverage calculation when there are no resources in the collection
  • Fix misplaced quote in matcher output
  • Include all files in generated gem
  • Ensure compatability with Chef HEAD

Improvements:

  • Test Ruby 2.1 on Travis
  • Miscellaneous README typos
  • Add subscribe_to matchers
  • Add documentation for the with matcher
  • Add support for passing a node object directly to the server create_node method

v3.1.4

04 Jan 00:31
Compare
Choose a tag to compare

Bugfixes:

  • Correctly expand the node's run_list in server mode
  • Actually package i18n translations with the cookbook

Improvements:

  • Document setting a node's role
  • Add examples and features for stub_node

v3.1.3

04 Jan 00:27
Compare
Choose a tag to compare

Bugfixes:

  • Fix broken deprecations module
  • Update a broken test (@bknowles)

v3.1.2

02 Jan 23:33
Compare
Choose a tag to compare

Bugfixes:

  • Require i18n 0.6.9 or higher (but less than 1.0.0) (#289)

v3.1.1

02 Jan 23:33
Compare
Choose a tag to compare

Bugfixes:

  • Handle duplicate resources in the coverage reporter

v3.1.0

02 Jan 23:33
Compare
Choose a tag to compare

Bugfixes:

  • Only remove existing LWRP resources and providers when a new one is encountered (@Student)
  • Attempt to coerce dashes to underscores in LWRPs
  • Various documentation fixes and typos

Improvements:

  • Don't include deprecations module by default
  • Add examples for stubbing commands across recipes
  • Yield a block after cookbooks are compiled but before they are converged (@rteabeault)
  • Add IRC Channel #chefspec
  • Raise a nice error when cookbook_path cannot be determined (@ryotarai)

Features: