lib/rubocop/cop/chef/deprecation/deprecated_chefspec_platform.rb in cookstyle-7.21.0 vs lib/rubocop/cop/chef/deprecation/deprecated_chefspec_platform.rb in cookstyle-7.22.3

- old
+ new

@@ -17,20 +17,20 @@ # module RuboCop module Cop module Chef module Deprecations - # Use currently supported platforms in ChefSpec listed at https://github.com/chefspec/fauxhai/blob/master/PLATFORMS.md. Fauxhai / ChefSpec will perform fuzzy matching on platform version values so it's always best to be less specific ie. 10 instead of 10.3 + # Use currently supported platforms in ChefSpec listed at https://github.com/chefspec/fauxhai/blob/main/PLATFORMS.md. Fauxhai / ChefSpec will perform fuzzy matching on platform version values so it's always best to be less specific ie. 10 instead of 10.3 # # @example # # let(:chef_run) { ChefSpec::ServerRunner.new(platform: 'ubuntu', version: '14.04') } # class DeprecatedChefSpecPlatform < Base include RuboCop::Chef::CookbookHelpers extend AutoCorrector - MSG = "Use currently supported platforms in ChefSpec listed at https://github.com/chefspec/fauxhai/blob/master/PLATFORMS.md. Fauxhai / ChefSpec will perform fuzzy matching on platform version so it's always best to be less specific ie. 10 instead of 10.3" + MSG = "Use currently supported platforms in ChefSpec listed at https://github.com/chefspec/fauxhai/blob/main/PLATFORMS.md. Fauxhai / ChefSpec will perform fuzzy matching on platform version so it's always best to be less specific ie. 10 instead of 10.3" DEPRECATED_MAPPING = { 'amazon' => { '2017.12' => '2', },