Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

safari (5) Versions 0.1.0

Configures Safari browser

Berkshelf/Librarian
Policyfile
Knife
cookbook 'safari', '= 0.1.0'
cookbook 'safari', '= 0.1.0', :supermarket
knife cookbook site install safari
knife cookbook site download safari
README
Dependencies
Changelog
Quality 0%

Safari Cookbook

Cookbook Version Build Status GitHub Issues

This cookbook provides safari_version library method to retrieve safari version installed.

Requirements

Chef 11.14.2 or higher.

Platforms

  • Mac OS X

Usage

Include the safari as a dependency to make library method available.

Library method safari_version is provided to retrieve CFBundleShortVersionString by default:

version = safari_version # => 8.0.4

You can return other version types by passing its name (e.g. BuildVersion, CFBundleVersion, ProjectName or SourceVersion)

bundle_version = safari_version('CFBundleVersion') # => 10600.4.10.7

Tip: use allow_any_instance_of to stub safari_version method when testing with rspec:

allow_any_instance_of(Chef::Recipe).to receive(:safari_version).and_return('8.0.4')

Getting Help

Contributing

Please refer to CONTRIBUTING.

License

MIT - see the accompanying LICENSE file for details.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

safaridriver Applicable Versions

safari Changelog

1.0.9

  • Revert fix for apt-get issue with updated Google sign key

1.0.8

  • Add apt unit tests

1.0.7

  • Fix apt-get issue with updated Google sign key

1.0.6

  • Fix windows master preferences path

1.0.5

  • Fix mac issues

1.0.4

  • Fix rubocop offenses

1.0.3

  • Fix readme rendering issue on supermarket

1.0.2

  • Rename .chefignore to chefignore

1.0.1

  • Fix Chef Client 12 introduced error: undefined method `new' for safari:Module
  • Remove trailing space from safari_version
  • Add .chefignore

1.0.0

  • Support multiple platforms
  • Rename preferences resource to master_preferences

0.4.0

  • Add 64-bit support for windows

0.3.0

  • Add safari_version method
  • Install safari at compile time
  • Warn if not windows platform

0.2.0

  • Add preferences resource

0.1.0

  • Initial release

Foodcritic Metric
            

0.1.0 failed this metric

FC005: Avoid repetition of resource declarations: /tmp/cook/17ddefda99d32f6357c93460/safari/providers/extension.rb:7