Граф коммитов

6 Коммитов

Автор SHA1 Сообщение Дата
Eric Hanko e886717730 Add unified_mode true to all resources and update CHANGELOG 2021-06-04 13:54:22 -07:00
Jacob Zaval 6acd486359 cookstyle fixes 2020-06-18 14:04:50 -07:00
Tim Smith f4844d9484 Cookstyle fixes to the properties
Use true/false for readability
Don't set desired_state: true since that's just the default

Signed-off-by: Tim Smith <tsmith@chef.io>
2020-03-04 16:47:32 -08:00
Jacob Zaval 3b9f8cd2cd add test for upgrade action 2019-12-06 15:43:02 -08:00
Jacob Zaval de21f14bf1 create upgrade action that evaluates current version versus latest 2019-12-06 15:30:24 -08:00
Eammon Hanlon 51329e4dfe Release/2.10.0 (#179)
* Bump cookbook version in metadata.rb

* Add `command_line_tools` resource (#176)

* Update kitchen.yml to use 10.14.2 box

* Add command_line_tools resource

* Remove installed? check in command_line_tools library

* Add command_line_tools suite

* Add guard on execute block for command line tools

- Add ChefSpec tests for command_line_tools
- Update unnecessary tests from xcode_spec for command line tools resource

* Cookstyle fixes

* Add documentation for command_line_tools resource

* Add link to Command Line Tools doc in README

* Update documentation/resource_command_line_tools.md

Co-Authored-By: ehanlon <eahanl@microsoft.com>

* Bump default Xcode version in attributes file (#178)

* expect correct hash for string "correct-horse-battery-staple" (#177)

hash was originally for "correct-horse-battery-staplesudo"

* Update CHANGELOG

* New Xcode Property: download_url (#180)

* version bump

* Add functionality for --url support

xcode resource has a new property called download_url.

Most of the changes were done in xcversion which included a new
routine called xcode_install_options.

* fix rspec errors as Xcode.new was given one less argument

* add spec tests to check download_url setting

* add spec tests to check download_url setting

* add spec test to test for the original behavior if download url is left blank

* update xcode documentation

* update changelog

* Update libraries/xcversion.rb

Rename xcode_install_options to download_url_option

Co-Authored-By: mjmerin <33106688+mjmerin@users.noreply.github.com>

* Update libraries/xcversion.rb

Rename xcode_install_options to download_url_option

Co-Authored-By: mjmerin <33106688+mjmerin@users.noreply.github.com>

* update routine name

* update xcode docs to provide an example of installing xcode from a local url

* Add missing '=' for --url

* Add separate integration tests for installing Xcode from Apple or from URL

* Validate download_url property to prevent requirement for Apple Dev creds to be provided

* Update ChefSpec tests

* move XCVersion expectations to their own file

* change version tests to cover apple to semantic conversion expectations

* update formatting

* remove nil guard since the resource default is an empty string

* add another test for ignoring Apple version

* update test version

* update Xcode controls

* Only run xcode_from_apple suite on Mojave

* Update Inspec reporter

* Ensure suite names have dashes instead of underscores

* require some sugar

* add method to determine platform compatibility for xcode object

* add platform-specific expectations to xcode spec

* raise exception based on  compatibility method

* don't require that Xcode be initialized with empty URL string

* unchain version

* don't run Xcode URL install for Sierra

* Apply suggestions from code review

Co-Authored-By: ehanlon <eahanl@microsoft.com>
2019-01-17 16:45:23 -08:00