Class: RuboCop::Cop::Base
- Inherits:
-
Object
- Object
- RuboCop::Cop::Base
- Defined in:
- lib/rubocop/monkey_patches/base.rb
Direct Known Subclasses
Chef::Correctness::BlockGuardWithOnlyString, Chef::Correctness::ChefApplicationFatal, Chef::Correctness::ConditionalRubyShellout, Chef::Correctness::CookbookUsesNodeSave, Chef::Correctness::DnfPackageAllowDowngrades, Chef::Correctness::IncorrectLibraryInjection, Chef::Correctness::InvalidCookbookName, Chef::Correctness::InvalidDefaultAction, Chef::Correctness::InvalidNotificationResource, Chef::Correctness::InvalidNotificationTiming, Chef::Correctness::InvalidPlatformFamilyHelper, Chef::Correctness::InvalidPlatformFamilyInCase, Chef::Correctness::InvalidPlatformHelper, Chef::Correctness::InvalidPlatformInCase, Chef::Correctness::InvalidPlatformMetadata, Chef::Correctness::InvalidPlatformValueForPlatformFamilyHelper, Chef::Correctness::InvalidPlatformValueForPlatformHelper, Chef::Correctness::InvalidVersionMetadata, Chef::Correctness::LazyEvalNodeAttributeDefaults, Chef::Correctness::LazyInResourceGuard, Chef::Correctness::MacosUserdefaultsInvalidType, Chef::Correctness::MalformedPlatformValueForPlatformHelper, Chef::Correctness::MetadataMalformedDepends, Chef::Correctness::MetadataMissingName, Chef::Correctness::MetadataMissingVersion, Chef::Correctness::NodeNormal, Chef::Correctness::NodeNormalUnless, Chef::Correctness::NotifiesActionNotSymbol, Chef::Correctness::OctalModeAsString, Chef::Correctness::OpenSSLPasswordHelpers, Chef::Correctness::PowershellFileExists, Chef::Correctness::PowershellScriptDeleteFile, Chef::Correctness::PropertyWithoutType, Chef::Correctness::ResourceSetsInternalProperties, Chef::Correctness::ResourceSetsNameProperty, Chef::Correctness::ResourceWithNoneAction, Chef::Correctness::ScopedFileExist, Chef::Correctness::ServiceResource, Chef::Correctness::SupportsMustBeFloat, Chef::Correctness::TmpPath, Chef::Deprecations::ChefDKGenerators, Chef::Deprecations::ChefHandlerRecipe, Chef::Deprecations::ChefHandlerUsesSupports, Chef::Deprecations::ChefRewind, Chef::Deprecations::ChefShellout, Chef::Deprecations::ChefSpecCoverageReport, Chef::Deprecations::ChefSpecLegacyRunner, Chef::Deprecations::ChefSugarHelpers, Chef::Deprecations::ChefWindowsPlatformHelper, Chef::Deprecations::Cheffile, Chef::Deprecations::ChocolateyPackageUninstallAction, Chef::Deprecations::CookbookDependsOnCompatResource, Chef::Deprecations::CookbookDependsOnPartialSearch, Chef::Deprecations::CookbookDependsOnPoise, Chef::Deprecations::CookbooksDependsOnSelf, Chef::Deprecations::Delivery, Chef::Deprecations::DependsOnChefNginxCookbook, Chef::Deprecations::DependsOnChefReportingCookbook, Chef::Deprecations::DependsOnOmnibusUpdaterCookbook, Chef::Deprecations::DeprecatedChefSpecPlatform, Chef::Deprecations::DeprecatedPlatformMethods, Chef::Deprecations::DeprecatedShelloutMethods, Chef::Deprecations::DeprecatedSudoActions, Chef::Deprecations::DeprecatedWindowsVersionCheck, Chef::Deprecations::DeprecatedYumRepositoryActions, Chef::Deprecations::DeprecatedYumRepositoryProperties, Chef::Deprecations::EOLAuditModeUsage, Chef::Deprecations::EasyInstallResource, Chef::Deprecations::EpicFail, Chef::Deprecations::ErlCallResource, Chef::Deprecations::ExecutePathProperty, Chef::Deprecations::ExecuteRelativeCreatesWithoutCwd, Chef::Deprecations::FoodcriticFile, Chef::Deprecations::FoodcriticTesting, Chef::Deprecations::HWRPWithoutProvides, Chef::Deprecations::HWRPWithoutUnifiedTrue, Chef::Deprecations::IncludingXMLRubyRecipe, Chef::Deprecations::IncludingYumDNFCompatRecipe, Chef::Deprecations::LaunchdDeprecatedHashProperty, Chef::Deprecations::LegacyNotifySyntax, Chef::Deprecations::LegacyYumCookbookRecipes, Chef::Deprecations::LibrarianChefSpec, Chef::Deprecations::LocaleDeprecatedLcAllProperty, Chef::Deprecations::LogResourceNotifications, Chef::Deprecations::MacosUserdefaultsGlobalProperty, Chef::Deprecations::NamePropertyWithDefaultValue, Chef::Deprecations::NodeDeepFetch, Chef::Deprecations::NodeMethodsInsteadofAttributes, Chef::Deprecations::NodeSet, Chef::Deprecations::NodeSetUnless, Chef::Deprecations::NodeSetWithoutLevel, Chef::Deprecations::PartialSearchClassUsage, Chef::Deprecations::PartialSearchHelperUsage, Chef::Deprecations::PoiseArchiveUsage, Chef::Deprecations::PolicyfileCommunitySource, Chef::Deprecations::PowershellCookbookHelpers, Chef::Deprecations::RequireRecipe, Chef::Deprecations::ResourceInheritsFromCompatResource, Chef::Deprecations::ResourceOverridesProvidesMethod, Chef::Deprecations::ResourceUsesDslNameMethod, Chef::Deprecations::ResourceUsesOnlyResourceName, Chef::Deprecations::ResourceUsesProviderBaseMethod, Chef::Deprecations::ResourceUsesUpdatedMethod, Chef::Deprecations::ResourceWithoutUnifiedTrue, Chef::Deprecations::Ruby27KeywordArgumentWarnings, Chef::Deprecations::RubyBlockCreateAction, Chef::Deprecations::SearchUsesPositionalParameters, Chef::Deprecations::UseAutomaticResourceName, Chef::Deprecations::UseInlineResourcesDefined, Chef::Deprecations::UseYamlDump, Chef::Deprecations::UserDeprecatedSupportsProperty, Chef::Deprecations::UsesChefRESTHelpers, Chef::Deprecations::UsesDeprecatedMixins, Chef::Deprecations::UsesRunCommandHelper, Chef::Deprecations::VerifyPropertyUsesFileExpansion, Chef::Deprecations::WindowsFeatureServermanagercmd, Chef::Deprecations::WindowsPackageInstallerTypeString, Chef::Deprecations::WindowsTaskChangeAction, Chef::Deprecations::WindowsVersionHelpers, Chef::Effortless::Berksfile, Chef::Effortless::ChefVaultUsed, Chef::Effortless::CookbookUsesDatabags, Chef::Effortless::CookbookUsesEnvironments, Chef::Effortless::CookbookUsesPolicygroups, Chef::Effortless::CookbookUsesRoles, Chef::Effortless::CookbookUsesSearch, Chef::Effortless::DependsChefVault, Chef::Effortless::SearchForEnvironmentsOrRoles, Chef::Modernize::ActionMethodInResource, Chef::Modernize::AllowedActionsFromInitialize, Chef::Modernize::ChefGemNokogiri, Chef::Modernize::ClassEvalActionClass, Chef::Modernize::ConditionalUsingTest, Chef::Modernize::CronDFileOrTemplate, Chef::Modernize::CronManageResource, Chef::Modernize::CustomResourceWithAttributes, Chef::Modernize::DatabagHelpers, Chef::Modernize::DeclareActionClass, Chef::Modernize::DefaultActionFromInitialize, Chef::Modernize::DefinesChefSpecMatchers, Chef::Modernize::Definitions, Chef::Modernize::DependsOnChefVaultCookbook, Chef::Modernize::DependsOnChocolateyCookbooks, Chef::Modernize::DependsOnKernelModuleCookbook, Chef::Modernize::DependsOnLocaleCookbook, Chef::Modernize::DependsOnOpensslCookbook, Chef::Modernize::DependsOnTimezoneLwrpCookbook, Chef::Modernize::DependsOnWindowsFirewallCookbook, Chef::Modernize::DependsOnZypperCookbook, Chef::Modernize::DslIncludeInResource, Chef::Modernize::EmptyResourceInitializeMethod, Chef::Modernize::ExecuteAptUpdate, Chef::Modernize::ExecuteScExe, Chef::Modernize::ExecuteSysctl, Chef::Modernize::ExecuteTzUtil, Chef::Modernize::FoodcriticComments, Chef::Modernize::IfProvidesDefaultAction, Chef::Modernize::IncludingAptDefaultRecipe, Chef::Modernize::IncludingMixinShelloutInResources, Chef::Modernize::IncludingOhaiDefaultRecipe, Chef::Modernize::IncludingWindowsDefaultRecipe, Chef::Modernize::LegacyBerksfileSource, Chef::Modernize::LibarchiveFileResource, Chef::Modernize::MacOsXUserdefaults, Chef::Modernize::MinitestHandlerUsage, Chef::Modernize::NodeInitPackage, Chef::Modernize::NodeRolesInclude, Chef::Modernize::OpensslRsaKeyResource, Chef::Modernize::OpensslX509Resource, Chef::Modernize::OsxConfigProfileResource, Chef::Modernize::PowerShellGuardInterpreter, Chef::Modernize::PowershellInstallPackage, Chef::Modernize::PowershellInstallWindowsFeature, Chef::Modernize::PowershellScriptExpandArchive, Chef::Modernize::PropertyWithNameAttribute, Chef::Modernize::ProvidesFromInitialize, Chef::Modernize::ResourceForcingCompileTime, Chef::Modernize::ResourceNameFromInitialize, Chef::Modernize::RespondToCompileTime, Chef::Modernize::RespondToInMetadata, Chef::Modernize::RespondToProvides, Chef::Modernize::RespondToResourceName, Chef::Modernize::SetOrReturnInResources, Chef::Modernize::SevenZipArchiveResource, Chef::Modernize::ShellOutHelper, Chef::Modernize::ShellOutToChocolatey, Chef::Modernize::SimplifyAptPpaSetup, Chef::Modernize::SysctlParamResource, Chef::Modernize::UnnecessaryDependsChef14, Chef::Modernize::UnnecessaryDependsChef15, Chef::Modernize::UnnecessaryMixlibShelloutRequire, Chef::Modernize::UseBuildEssentialResource, Chef::Modernize::UseChefLanguageCloudHelpers, Chef::Modernize::UseChefLanguageEnvHelpers, Chef::Modernize::UseChefLanguageSystemdHelper, Chef::Modernize::UseMultipackageInstalls, Chef::Modernize::UseRequireRelative, Chef::Modernize::UsesZypperRepo, Chef::Modernize::WhyRunSupportedTrue, Chef::Modernize::WindowsRegistryUAC, Chef::Modernize::WindowsZipfileUsage, Chef::Modernize::ZipfileResource, Chef::RedundantCode::AptRepositoryDistributionDefault, Chef::RedundantCode::AptRepositoryNotifiesAptUpdate, Chef::RedundantCode::AttributeMetadata, Chef::RedundantCode::ConflictsMetadata, Chef::RedundantCode::CustomResourceWithAllowedActions, Chef::RedundantCode::DoubleCompileTime, Chef::RedundantCode::GroupingMetadata, Chef::RedundantCode::LongDescriptionMetadata, Chef::RedundantCode::MultiplePlatformChecks, Chef::RedundantCode::NamePropertyIsRequired, Chef::RedundantCode::OhaiAttributeToString, Chef::RedundantCode::PropertySplatRegex, Chef::RedundantCode::PropertyWithRequiredAndDefault, Chef::RedundantCode::ProvidesMetadata, Chef::RedundantCode::RecipeMetadata, Chef::RedundantCode::ReplacesMetadata, Chef::RedundantCode::ResourceWithNothingAction, Chef::RedundantCode::SensitivePropertyInResource, Chef::RedundantCode::StringPropertyWithNilDefault, Chef::RedundantCode::SuggestsMetadata, Chef::RedundantCode::UnnecessaryDesiredState, Chef::RedundantCode::UnnecessaryNameProperty, Chef::RedundantCode::UseCreateIfMissing, Chef::Ruby::GemspecLicense, Chef::Ruby::GemspecRequireRubygems, Chef::Ruby::LegacyPowershellOutMethods, Chef::Ruby::RequireNetHttps, Chef::Ruby::UnlessDefinedRequire, Chef::Security::SshPrivateKey, Chef::Sharing::DefaultMetadataMaintainer, Chef::Sharing::EmptyMetadataField, Chef::Sharing::IncludePropertyDescriptions, Chef::Sharing::IncludeResourceDescriptions, Chef::Sharing::IncludeResourceExamples, Chef::Sharing::InsecureCookbookURL, Chef::Sharing::InvalidLicenseString, Chef::Style::CommentFormat, Chef::Style::CommentSentenceSpacing, Chef::Style::CopyrightCommentFormat, Chef::Style::DefaultCopyrightComments, Chef::Style::FileMode, Chef::Style::ImmediateNotificationTiming, Chef::Style::IncludeRecipeWithParentheses, Chef::Style::NegatingOnlyIf, Chef::Style::OverlyComplexSupportsDependsMetadata, Chef::Style::SimplifyPlatformMajorVersionCheck, Chef::Style::TrueClassFalseClassResourceProperties, Chef::Style::UnnecessaryOSCheck, Chef::Style::UnnecessaryPlatformCaseStatement, Chef::Style::UsePlatformHelpers, InSpec::Deprecations::AttributeDefault, InSpec::Deprecations::AttributeHelper
Instance Method Summary collapse
-
#target_chef_version ⇒ Object
This is a copy of the #target_rails_version method from rubocop-rails.
Instance Method Details
#target_chef_version ⇒ Object
This is a copy of the #target_rails_version method from rubocop-rails
6 7 8 |
# File 'lib/rubocop/monkey_patches/base.rb', line 6 def target_chef_version @config.target_chef_version end |