From ef47fa6f85623e94e747bcf612d36fba342e2879 Mon Sep 17 00:00:00 2001 From: Kazunori Takaishi Date: Tue, 7 Sep 2021 23:10:56 +0900 Subject: [PATCH] [Change] Replace [Bool] with [Boolean] according to the YARD convention. --- lib/cocoapods/config.rb | 10 +++---- lib/cocoapods/executable.rb | 2 +- .../abstract_external_source.rb | 2 +- lib/cocoapods/external_sources/path_source.rb | 2 +- .../generator/copy_resources_script.rb | 2 +- lib/cocoapods/installer/analyzer.rb | 6 ++--- .../installer/analyzer/analysis_result.rb | 6 ++--- .../installer/analyzer/pod_variant.rb | 2 +- .../installer/analyzer/sandbox_analyzer.rb | 10 +++---- .../project_cache/project_cache_analyzer.rb | 4 +-- .../project_cache/target_cache_key.rb | 2 +- .../installer/xcode/pods_project_generator.rb | 2 +- .../file_references_installer.rb | 6 ++--- .../project_generator.rb | 2 +- lib/cocoapods/native_target_extension.rb | 2 +- lib/cocoapods/open-uri.rb | 2 +- lib/cocoapods/project.rb | 16 ++++++------ lib/cocoapods/resolver.rb | 6 ++--- .../resolver/resolver_specification.rb | 2 +- lib/cocoapods/sandbox.rb | 8 +++--- lib/cocoapods/sandbox/file_accessor.rb | 2 +- lib/cocoapods/sandbox/path_list.rb | 2 +- lib/cocoapods/sources_manager.rb | 2 +- lib/cocoapods/target/pod_target.rb | 4 +-- lib/cocoapods/user_interface.rb | 4 +-- lib/cocoapods/validator.rb | 26 +++++++++---------- 26 files changed, 67 insertions(+), 67 deletions(-) diff --git a/lib/cocoapods/config.rb b/lib/cocoapods/config.rb index 2bb7f7a5ef..07e9414d39 100644 --- a/lib/cocoapods/config.rb +++ b/lib/cocoapods/config.rb @@ -49,23 +49,23 @@ def with_changes(changes) # @!group UI - # @return [Bool] Whether CocoaPods should provide detailed output about the + # @return [Boolean] Whether CocoaPods should provide detailed output about the # performed actions. # attr_accessor :verbose alias_method :verbose?, :verbose - # @return [Bool] Whether CocoaPods should produce not output. + # @return [Boolean] Whether CocoaPods should produce not output. # attr_accessor :silent alias_method :silent?, :silent - # @return [Bool] Whether CocoaPods is allowed to run as root. + # @return [Boolean] Whether CocoaPods is allowed to run as root. # attr_accessor :allow_root alias_method :allow_root?, :allow_root - # @return [Bool] Whether a message should be printed when a new version of + # @return [Boolean] Whether a message should be printed when a new version of # CocoaPods is available. # attr_accessor :new_version_message @@ -75,7 +75,7 @@ def with_changes(changes) # @!group Installation - # @return [Bool] Whether the installer should skip the download cache. + # @return [Boolean] Whether the installer should skip the download cache. # attr_accessor :skip_download_cache alias_method :skip_download_cache?, :skip_download_cache diff --git a/lib/cocoapods/executable.rb b/lib/cocoapods/executable.rb index 49cd27ece3..4094a84cd5 100644 --- a/lib/cocoapods/executable.rb +++ b/lib/cocoapods/executable.rb @@ -36,7 +36,7 @@ def executable(name) # @param [Array<#to_s>] command # The command to send to the binary. # - # @param [Bool] raise_on_failure + # @param [Boolean] raise_on_failure # Whether it should raise if the command fails. # # @raise If the executable could not be located. diff --git a/lib/cocoapods/external_sources/abstract_external_source.rb b/lib/cocoapods/external_sources/abstract_external_source.rb index dea70004fe..80243d9b6b 100644 --- a/lib/cocoapods/external_sources/abstract_external_source.rb +++ b/lib/cocoapods/external_sources/abstract_external_source.rb @@ -36,7 +36,7 @@ def initialize(name, params, podfile_path, can_cache = true) @can_cache = can_cache end - # @return [Bool] whether an external source source is equal to another + # @return [Boolean] whether an external source source is equal to another # according to the {#name} and to the {#params}. # def ==(other) diff --git a/lib/cocoapods/external_sources/path_source.rb b/lib/cocoapods/external_sources/path_source.rb index fb7b013181..991547d912 100644 --- a/lib/cocoapods/external_sources/path_source.rb +++ b/lib/cocoapods/external_sources/path_source.rb @@ -45,7 +45,7 @@ def podspec_path path.exist? ? path : Pathname("#{path}.json") end - # @return [Bool] + # @return [Boolean] # def absolute?(path) Pathname(path).absolute? || path.to_s.start_with?('~') diff --git a/lib/cocoapods/generator/copy_resources_script.rb b/lib/cocoapods/generator/copy_resources_script.rb index d81c59d350..c674254018 100644 --- a/lib/cocoapods/generator/copy_resources_script.rb +++ b/lib/cocoapods/generator/copy_resources_script.rb @@ -59,7 +59,7 @@ def generate :tvos => Version.new('9.0'), } - # @return [Bool] Whether the external strings file is supported by the + # @return [Boolean] Whether the external strings file is supported by the # `ibtool` according to the deployment target of the platform. # def use_external_strings_file? diff --git a/lib/cocoapods/installer/analyzer.rb b/lib/cocoapods/installer/analyzer.rb index 97027364a4..5442d0c2c7 100644 --- a/lib/cocoapods/installer/analyzer.rb +++ b/lib/cocoapods/installer/analyzer.rb @@ -43,7 +43,7 @@ class Analyzer # attr_reader :plugin_sources - # @return [Bool] Whether the analysis has dependencies and thus sources must be configured. + # @return [Boolean] Whether the analysis has dependencies and thus sources must be configured. # # @note This is used by the `pod lib lint` command to prevent update of specs when not needed. # @@ -93,7 +93,7 @@ def initialize(sandbox, podfile, lockfile = nil, plugin_sources = nil, has_depen # compute which specification should be installed. The manifest of the # sandbox returns which specifications are installed. # - # @param [Bool] allow_fetches + # @param [Boolean] allow_fetches # whether external sources may be fetched # # @return [AnalysisResult] @@ -193,7 +193,7 @@ def sources # @!group Configuration - # @return [Bool] Whether the version of the dependencies which did not + # @return [Boolean] Whether the version of the dependencies which did not # change in the Podfile should be locked. # def update_mode? diff --git a/lib/cocoapods/installer/analyzer/analysis_result.rb b/lib/cocoapods/installer/analyzer/analysis_result.rb index 7da9fd6d06..267060b801 100644 --- a/lib/cocoapods/installer/analyzer/analysis_result.rb +++ b/lib/cocoapods/installer/analyzer/analysis_result.rb @@ -59,14 +59,14 @@ def all_user_build_configurations end end - # @return [Bool] Whether an installation should be performed or this + # @return [Boolean] Whether an installation should be performed or this # CocoaPods project is already up to date. # def needs_install? podfile_needs_install? || sandbox_needs_install? end - # @return [Bool] Whether the podfile has changes respect to the lockfile. + # @return [Boolean] Whether the podfile has changes respect to the lockfile. # def podfile_needs_install? state = podfile_state @@ -74,7 +74,7 @@ def podfile_needs_install? needing_install > 0 end - # @return [Bool] Whether the sandbox is in synch with the lockfile. + # @return [Boolean] Whether the sandbox is in synch with the lockfile. # def sandbox_needs_install? state = sandbox_state diff --git a/lib/cocoapods/installer/analyzer/pod_variant.rb b/lib/cocoapods/installer/analyzer/pod_variant.rb index 3ede1656dd..98d2c7186e 100644 --- a/lib/cocoapods/installer/analyzer/pod_variant.rb +++ b/lib/cocoapods/installer/analyzer/pod_variant.rb @@ -56,7 +56,7 @@ def root_spec # @note Non library specs are intentionally not included as part of the equality for pod variants since a pod # variant should not be affected by the number of test nor app specs included. # - # @return [Bool] whether the {PodVariant} is equal to another taking all all their attributes into account + # @return [Boolean] whether the {PodVariant} is equal to another taking all all their attributes into account # def ==(other) self.class == other.class && diff --git a/lib/cocoapods/installer/analyzer/sandbox_analyzer.rb b/lib/cocoapods/installer/analyzer/sandbox_analyzer.rb index d1df698aa3..a4b8d40c47 100644 --- a/lib/cocoapods/installer/analyzer/sandbox_analyzer.rb +++ b/lib/cocoapods/installer/analyzer/sandbox_analyzer.rb @@ -40,7 +40,7 @@ class SandboxAnalyzer # attr_reader :specs - # @return [Bool] Whether the installation is performed in update mode. + # @return [Boolean] Whether the installation is performed in update mode. # attr_reader :update_mode @@ -51,7 +51,7 @@ class SandboxAnalyzer # @param [Sandbox] sandbox @see sandbox # @param [Podfile] podfile @see podfile # @param [Array] specs @see specs - # @param [Bool] update_mode @see update_mode + # @param [Boolean] update_mode @see update_mode # def initialize(sandbox, podfile, specs, update_mode) @sandbox = sandbox @@ -105,7 +105,7 @@ def pod_state(pod) # @param [String] pod # the name of the Pod. # - # @return [Bool] Whether the Pod is added. + # @return [Boolean] Whether the Pod is added. # def pod_added?(pod) return true if resolved_pods.include?(pod) && !sandbox_pods.include?(pod) @@ -119,7 +119,7 @@ def pod_added?(pod) # @param [String] pod # the name of the Pod. # - # @return [Bool] Whether the Pod is deleted. + # @return [Boolean] Whether the Pod is deleted. # def pod_deleted?(pod) return true if !resolved_pods.include?(pod) && sandbox_pods.include?(pod) @@ -138,7 +138,7 @@ def pod_deleted?(pod) # @param [String] pod # the name of the Pod. # - # @return [Bool] Whether the Pod is changed. + # @return [Boolean] Whether the Pod is changed. # def pod_changed?(pod) spec = root_spec(pod) diff --git a/lib/cocoapods/installer/project_cache/project_cache_analyzer.rb b/lib/cocoapods/installer/project_cache/project_cache_analyzer.rb index b3ac5f00ae..ca1756eca9 100644 --- a/lib/cocoapods/installer/project_cache/project_cache_analyzer.rb +++ b/lib/cocoapods/installer/project_cache/project_cache_analyzer.rb @@ -38,7 +38,7 @@ class ProjectCacheAnalyzer # attr_reader :installation_options - # @return [Bool] Flag indicating if we want to ignore the cache and force a clean installation. + # @return [Boolean] Flag indicating if we want to ignore the cache and force a clean installation. # attr_reader :clean_install @@ -52,7 +52,7 @@ class ProjectCacheAnalyzer # @param [Array] pod_targets @see #pod_targets # @param [Array] aggregate_targets @see #aggregate_targets # @param [Hash] installation_options @see #installation_options - # @param [Bool] clean_install @see #clean_install + # @param [Boolean] clean_install @see #clean_install # def initialize(sandbox, cache, build_configurations, project_object_version, podfile_plugins, pod_targets, aggregate_targets, installation_options, clean_install: false) diff --git a/lib/cocoapods/installer/project_cache/target_cache_key.rb b/lib/cocoapods/installer/project_cache/target_cache_key.rb index 71969f9aff..7cf4998131 100644 --- a/lib/cocoapods/installer/project_cache/target_cache_key.rb +++ b/lib/cocoapods/installer/project_cache/target_cache_key.rb @@ -109,7 +109,7 @@ def self.from_cache_hash(sandbox, key_hash) # @param [PodTarget] pod_target # The pod target used to construct a TargetCacheKey object. # - # @param [Bool] is_local_pod + # @param [Boolean] is_local_pod # Used to also include its local files in the cache key. # # @param [Hash] checkout_options diff --git a/lib/cocoapods/installer/xcode/pods_project_generator.rb b/lib/cocoapods/installer/xcode/pods_project_generator.rb index 8e8dcfd1ad..c19ff6293b 100644 --- a/lib/cocoapods/installer/xcode/pods_project_generator.rb +++ b/lib/cocoapods/installer/xcode/pods_project_generator.rb @@ -195,7 +195,7 @@ def wire_target_dependencies(target_installation_results) # @param [String] pod The root name of the development pod. # - # @return [Bool] whether the scheme for the given development pod should be + # @return [Boolean] whether the scheme for the given development pod should be # shared. # def share_scheme_for_development_pod?(pod) diff --git a/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb b/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb index 0287213799..3215ad2b6a 100644 --- a/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb +++ b/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb @@ -21,7 +21,7 @@ class FileReferencesInstaller # attr_reader :pods_project - # @return [Bool] add support for preserving the file structure of externally sourced pods, in addition to local pods. + # @return [Boolean] add support for preserving the file structure of externally sourced pods, in addition to local pods. # attr_reader :preserve_pod_file_structure @@ -30,7 +30,7 @@ class FileReferencesInstaller # @param [Sandbox] sandbox @see #sandbox # @param [Array] pod_targets @see #pod_targets # @param [Project] pods_project @see #pods_project - # @param [Bool] preserve_pod_file_structure @see #preserve_pod_file_structure + # @param [Boolean] preserve_pod_file_structure @see #preserve_pod_file_structure # def initialize(sandbox, pod_targets, pods_project, preserve_pod_file_structure = false) @sandbox = sandbox @@ -207,7 +207,7 @@ def file_accessors # @param [Symbol] group_key # The key of the group of the Pods project. # - # @param [Bool] reflect_file_system_structure + # @param [Boolean] reflect_file_system_structure # Whether organizing a local pod's files in subgroups inside # the pod's group is allowed. # diff --git a/lib/cocoapods/installer/xcode/pods_project_generator/project_generator.rb b/lib/cocoapods/installer/xcode/pods_project_generator/project_generator.rb index 4c52c511d9..26ad7be400 100644 --- a/lib/cocoapods/installer/xcode/pods_project_generator/project_generator.rb +++ b/lib/cocoapods/installer/xcode/pods_project_generator/project_generator.rb @@ -38,7 +38,7 @@ class ProjectGenerator # attr_reader :podfile_path - # @return [Bool] Bool indicating if this project is a pod target subproject. + # @return [Boolean] Bool indicating if this project is a pod target subproject. # Used by `generate_multiple_pod_projects` installation option. # attr_reader :pod_target_subproject diff --git a/lib/cocoapods/native_target_extension.rb b/lib/cocoapods/native_target_extension.rb index 49c2a79318..912918d1b0 100644 --- a/lib/cocoapods/native_target_extension.rb +++ b/lib/cocoapods/native_target_extension.rb @@ -43,7 +43,7 @@ def self.add_cached_dependency(sandbox, target, metadata) # @param [TargetMetadata] cached_target # the target to search for. # - # @return [Bool] + # @return [Boolean] # def self.dependency_for_cached_target?(sandbox, target, cached_target) target.dependencies.find do |dep| diff --git a/lib/cocoapods/open-uri.rb b/lib/cocoapods/open-uri.rb index f85ce27a56..c9a711d897 100644 --- a/lib/cocoapods/open-uri.rb +++ b/lib/cocoapods/open-uri.rb @@ -24,7 +24,7 @@ module OpenURI # @param [URI::Generic] uri2 # the target uri where to where the redirect points to # - # @return [Bool] + # @return [Boolean] # def self.redirectable?(uri1, uri2) uri1.scheme.downcase == uri2.scheme.downcase || diff --git a/lib/cocoapods/project.rb b/lib/cocoapods/project.rb index cd89042e90..3291372337 100644 --- a/lib/cocoapods/project.rb +++ b/lib/cocoapods/project.rb @@ -26,7 +26,7 @@ class Project < Xcodeproj::Project # attr_reader :dependencies_group - # @return [Bool] Bool indicating if this project is a pod target subproject. + # @return [Boolean] Bool indicating if this project is a pod target subproject. # Used by `generate_multiple_pod_projects` installation option. # attr_reader :pod_target_subproject @@ -39,7 +39,7 @@ class Project < Xcodeproj::Project # Initialize a new instance # # @param [Pathname, String] path @see Xcodeproj::Project#path - # @param [Bool] skip_initialization Whether the project should be initialized from scratch. + # @param [Boolean] skip_initialization Whether the project should be initialized from scratch. # @param [Int] object_version Object version to use for serialization, defaults to Xcode 3.2 compatible. # def initialize(path, skip_initialization = false, @@ -107,10 +107,10 @@ def symroot=(symroot) # @param [#to_s] path # The path to the root of the Pod. # - # @param [Bool] development + # @param [Boolean] development # Whether the group should be added to the Development Pods group. # - # @param [Bool] absolute + # @param [Boolean] absolute # Whether the path of the group should be set as absolute. # # @return [PBXGroup] The new group. @@ -136,7 +136,7 @@ def add_pod_group(pod_name, path, development = false, absolute = false) # @param [Project] project # The subproject to be added. # - # @param [Bool] development + # @param [Boolean] development # Whether the project should be added to the Development Pods group. # For projects where `pod_target_subproject` is enabled, all subprojects are added into the Dependencies group. # @@ -156,7 +156,7 @@ def add_pod_subproject(project, development = false) # @param [TargetMetadata] metadata # The project metadata to be added. # - # @param [Bool] development + # @param [Boolean] development # Whether the project should be added to the Development Pods group. # For projects where `pod_target_subproject` is enabled, all subprojects are added into the Dependencies group. # @@ -253,7 +253,7 @@ def pod_support_files_group(pod_name, dir) # @param [PBXGroup] group # The group for the new file reference. # - # @param [Bool] reflect_file_system_structure + # @param [Boolean] reflect_file_system_structure # Whether group structure should reflect the file system structure. # If yes, where needed, intermediate groups are created, similar to # how mkdir -p operates. @@ -430,7 +430,7 @@ def defininition_for_build_configuration(name) # @param [PBXGroup] group # The parent group used as the base of the relative path. # - # @param [Bool] reflect_file_system_structure + # @param [Boolean] reflect_file_system_structure # Whether group structure should reflect the file system structure. # If yes, where needed, intermediate groups are created, similar to # how mkdir -p operates. diff --git a/lib/cocoapods/resolver.rb b/lib/cocoapods/resolver.rb index 35835aaca7..60c0fc6f7e 100644 --- a/lib/cocoapods/resolver.rb +++ b/lib/cocoapods/resolver.rb @@ -34,7 +34,7 @@ class Resolver # attr_reader :sources - # @return [Bool] Whether the resolver has sources repositories up-to-date. + # @return [Boolean] Whether the resolver has sources repositories up-to-date. # attr_reader :specs_updated alias specs_updated? specs_updated @@ -531,7 +531,7 @@ def handle_resolver_error(error) # # @param [Specification] spec # - # @return [Bool] + # @return [Boolean] # def spec_is_platform_compatible?(dependency_graph, dependency, spec) # This is safe since a pod will only be in locked dependencies if we're @@ -575,7 +575,7 @@ def hash # Whether the given `edge` should be followed to find dependencies for the # given `target_platform`. # - # @return [Bool] + # @return [Boolean] # def edge_is_valid_for_target_platform?(edge, target_platform) @edge_validity ||= Hash.new do |hash, edge_and_platform| diff --git a/lib/cocoapods/resolver/resolver_specification.rb b/lib/cocoapods/resolver/resolver_specification.rb index 49d4eda8e5..d88c5ebd49 100644 --- a/lib/cocoapods/resolver/resolver_specification.rb +++ b/lib/cocoapods/resolver/resolver_specification.rb @@ -12,7 +12,7 @@ class ResolverSpecification # attr_reader :source - # @return [Bool] whether this resolved specification is used by non-library targets. + # @return [Boolean] whether this resolved specification is used by non-library targets. # attr_reader :used_by_non_library_targets_only alias used_by_non_library_targets_only? used_by_non_library_targets_only diff --git a/lib/cocoapods/sandbox.rb b/lib/cocoapods/sandbox.rb index d7030a18d6..06c5434a8a 100644 --- a/lib/cocoapods/sandbox.rb +++ b/lib/cocoapods/sandbox.rb @@ -192,7 +192,7 @@ def pod_dir(name) # # @param [String] name # - # @return [Bool] true if originally absolute + # @return [Boolean] true if originally absolute # def local_path_was_absolute?(name) @pods_with_absolute_path.include? name @@ -342,7 +342,7 @@ def store_pre_downloaded_pod(name) # @param [String] name # The name of the Pod. # - # @return [Bool] Whether the Pod has been pre-downloaded. + # @return [Boolean] Whether the Pod has been pre-downloaded. # def predownloaded?(name) root_name = Specification.root_name(name) @@ -406,7 +406,7 @@ def remove_local_podspec(name) # @param [Pathname, String] path # The path to the local Podspec # - # @param [Bool] was_absolute + # @param [Boolean] was_absolute # True if the specified local path was absolute. # # @return [void] @@ -428,7 +428,7 @@ def store_local_path(name, path, was_absolute = false) # @param [String] name # The name of the Pod. # - # @return [Bool] Whether the Pod is locally sourced. + # @return [Boolean] Whether the Pod is locally sourced. # def local?(name) !local_podspec(name).nil? diff --git a/lib/cocoapods/sandbox/file_accessor.rb b/lib/cocoapods/sandbox/file_accessor.rb index b7771a185f..74e06b42ba 100644 --- a/lib/cocoapods/sandbox/file_accessor.rb +++ b/lib/cocoapods/sandbox/file_accessor.rb @@ -504,7 +504,7 @@ def paths_for_attribute(attribute, include_dirs = false) # @option options [Array] :exclude_patterns # The exclude patterns to pass to the PathList. # - # @option options [Bool] :include_dirs + # @option options [Boolean] :include_dirs # Whether directories should be also included or just plain # files. # diff --git a/lib/cocoapods/sandbox/path_list.rb b/lib/cocoapods/sandbox/path_list.rb index 33a3257058..7d85a01a5d 100644 --- a/lib/cocoapods/sandbox/path_list.rb +++ b/lib/cocoapods/sandbox/path_list.rb @@ -164,7 +164,7 @@ def relative_glob(patterns, options = {}) # @!group Private helpers - # @return [Bool] Wether a path is a directory. The result of this method + # @return [Boolean] Wether a path is a directory. The result of this method # computed without accessing the file system and is case # insensitive. # diff --git a/lib/cocoapods/sources_manager.rb b/lib/cocoapods/sources_manager.rb index 174afde3d2..c3a410244b 100644 --- a/lib/cocoapods/sources_manager.rb +++ b/lib/cocoapods/sources_manager.rb @@ -116,7 +116,7 @@ def search_index_path # # @param [String] source_name # - # @param [Bool] show_output + # @param [Boolean] show_output # # @return [void] # diff --git a/lib/cocoapods/target/pod_target.rb b/lib/cocoapods/target/pod_target.rb index 503e143da6..5686145daa 100644 --- a/lib/cocoapods/target/pod_target.rb +++ b/lib/cocoapods/target/pod_target.rb @@ -285,7 +285,7 @@ def product_basename_for_spec(spec) end end - # @return [Bool] Whether or not this target should be built. + # @return [Boolean] Whether or not this target should be built. # # A target should not be built if it has no source files. # @@ -947,7 +947,7 @@ def dependent_targets_for_app_spec(app_spec, configuration: nil) # Checks if warnings should be inhibited for this pod. # - # @return [Bool] + # @return [Boolean] # def inhibit_warnings? return @inhibit_warnings if defined? @inhibit_warnings diff --git a/lib/cocoapods/user_interface.rb b/lib/cocoapods/user_interface.rb index 0540afefe6..50b49bac3e 100644 --- a/lib/cocoapods/user_interface.rb +++ b/lib/cocoapods/user_interface.rb @@ -25,7 +25,7 @@ class << self # attr_accessor :output_io - # @return [Bool] Whether the wrapping of the strings to the width of the + # @return [Boolean] Whether the wrapping of the strings to the width of the # terminal should be disabled. # attr_accessor :disable_wrap @@ -370,7 +370,7 @@ def gets # # @param [String] message The message to print. # @param [Array] actions The actions that the user should take. - # @param [Bool] verbose_only + # @param [Boolean] verbose_only # Restrict the appearance of the warning to verbose mode only # # return [void] diff --git a/lib/cocoapods/validator.rb b/lib/cocoapods/validator.rb index 78c4c15bc1..b7751245b5 100644 --- a/lib/cocoapods/validator.rb +++ b/lib/cocoapods/validator.rb @@ -110,7 +110,7 @@ def platforms_to_lint(spec) # @note This method shows immediately which pod is being processed and # overrides the printed line once the result is known. # - # @return [Bool] whether the specification passed validation. + # @return [Boolean] whether the specification passed validation. # def validate @results = [] @@ -201,23 +201,23 @@ def failure_reason # @!group Configuration - # @return [Bool] whether the validation should skip the checks that + # @return [Boolean] whether the validation should skip the checks that # requires the download of the library. # attr_accessor :quick - # @return [Bool] whether the linter should not clean up temporary files + # @return [Boolean] whether the linter should not clean up temporary files # for inspection. # attr_accessor :no_clean - # @return [Bool] whether the linter should fail as soon as the first build + # @return [Boolean] whether the linter should fail as soon as the first build # variant causes an error. Helpful for i.e. multi-platforms specs, # specs with subspecs. # attr_accessor :fail_fast - # @return [Bool] whether the validation should be performed against the root of + # @return [Boolean] whether the validation should be performed against the root of # the podspec instead to its original source. # # @note Uses the `:path` option of the Podfile. @@ -225,7 +225,7 @@ def failure_reason attr_accessor :local alias_method :local?, :local - # @return [Bool] Whether the validator should fail on warnings, or only on errors. + # @return [Boolean] Whether the validator should fail on warnings, or only on errors. # attr_accessor :allow_warnings @@ -233,11 +233,11 @@ def failure_reason # attr_accessor :only_subspec - # @return [Bool] Whether the validator should validate all subspecs. + # @return [Boolean] Whether the validator should validate all subspecs. # attr_accessor :no_subspecs - # @return [Bool] Whether the validator should skip building and running tests. + # @return [Boolean] Whether the validator should skip building and running tests. # attr_accessor :skip_tests @@ -245,11 +245,11 @@ def failure_reason # attr_accessor :test_specs - # @return [Bool] Whether the validator should run Xcode Static Analysis. + # @return [Boolean] Whether the validator should run Xcode Static Analysis. # attr_accessor :analyze - # @return [Bool] Whether frameworks should be used for the installation. + # @return [Boolean] Whether frameworks should be used for the installation. # attr_accessor :use_frameworks @@ -983,7 +983,7 @@ def initialize(type, attribute_name, message, public_only = false) # the deployment target, which should be declared in # the Podfile. # - # @param [Bool] use_frameworks + # @param [Boolean] use_frameworks # whether frameworks should be used for the installation # # @param [Array] test_spec_names @@ -1122,7 +1122,7 @@ def _xcodebuild(command, raise_on_failure = false) # @param [Platform] platform # The platform to check # - # @return [Bool] True if the platform is valid + # @return [Boolean] True if the platform is valid # def valid_platform?(platform) VALID_PLATFORMS.any? { |p| p.name == platform.name } @@ -1136,7 +1136,7 @@ def valid_platform?(platform) # @param [Specification] spec # The specification which must support the provided platform # - # @return [Bool] Whether the platform is supported by the specification + # @return [Boolean] Whether the platform is supported by the specification # def supported_platform?(platform, spec) available_platforms = spec.available_platforms