diff --git a/.rubocop_todo/layout/line_end_string_concatenation_indentation.yml b/.rubocop_todo/layout/line_end_string_concatenation_indentation.yml index eb1b3b881af40ea1b36fc58a2784de751a0a6365..9169a82792b2b658ad190a4f3f490307f149f039 100644 --- a/.rubocop_todo/layout/line_end_string_concatenation_indentation.yml +++ b/.rubocop_todo/layout/line_end_string_concatenation_indentation.yml @@ -20,12 +20,6 @@ Layout/LineEndStringConcatenationIndentation: - 'app/graphql/resolvers/concerns/project_search_arguments.rb' - 'app/graphql/resolvers/design_management/designs_resolver.rb' - 'app/graphql/resolvers/groups_resolver.rb' - - 'app/graphql/types/ci/detailed_status_type.rb' - - 'app/graphql/types/ci/job_token_scope/direction_enum.rb' - - 'app/graphql/types/ci/job_token_scope_type.rb' - - 'app/graphql/types/ci/job_trace_type.rb' - - 'app/graphql/types/ci/job_type.rb' - - 'app/graphql/types/ci/runner_membership_filter_enum.rb' - 'app/graphql/types/ci/runner_type.rb' - 'app/graphql/types/commit_type.rb' - 'app/graphql/types/container_registry/protection/rule_type.rb' diff --git a/app/graphql/types/ci/detailed_status_type.rb b/app/graphql/types/ci/detailed_status_type.rb index 02f0a870b40ea4230cd4fa65cb21d58b93156ec2..a4073cae0675c2b812a77bdfbff67ba9d4164214 100644 --- a/app/graphql/types/ci/detailed_status_type.rb +++ b/app/graphql/types/ci/detailed_status_type.rb @@ -28,7 +28,7 @@ class DetailedStatusType < BaseObject description: 'Icon of the status.', deprecated: { reason: 'The `icon` attribute is deprecated. Use `name` to ' \ - 'identify the status to display instead', + 'identify the status to display instead', milestone: '16.4' } field :id, GraphQL::Types::String, null: false, diff --git a/app/graphql/types/ci/job_token_scope/direction_enum.rb b/app/graphql/types/ci/job_token_scope/direction_enum.rb index f52cf891af8ffa6fa88a6b1b8d34b0bfefc1ad34..8025fa641a0956b8a2a5acff21f4cb1d21e9f93f 100644 --- a/app/graphql/types/ci/job_token_scope/direction_enum.rb +++ b/app/graphql/types/ci/job_token_scope/direction_enum.rb @@ -14,7 +14,7 @@ class DirectionEnum < BaseEnum value 'INBOUND', value: :inbound, description: 'Target projects in the inbound allowlist can access the scope project ' \ - 'through their job tokens.' + 'through their job tokens.' end end end diff --git a/app/graphql/types/ci/job_token_scope_type.rb b/app/graphql/types/ci/job_token_scope_type.rb index ddc823f8fe7d106822a7bbd5abfb22cf710ecff0..96176a4ca02379d72e23a53f7ebd01b22a2219ed 100644 --- a/app/graphql/types/ci/job_token_scope_type.rb +++ b/app/graphql/types/ci/job_token_scope_type.rb @@ -27,30 +27,30 @@ class JobTokenScopeType < BaseObject Types::ProjectType.connection_type, null: false, description: "Allowlist of projects that can access the current project " \ - "by authenticating with a CI/CD job token.", + "by authenticating with a CI/CD job token.", method: :inbound_projects field :groups_allowlist, Types::GroupType.connection_type, null: false, description: "Allowlist of groups that can access the current project " \ - "by authenticating with a CI/CD job token.", + "by authenticating with a CI/CD job token.", method: :groups field :inbound_allowlist_count, GraphQL::Types::Int, null: false, description: "Count of projects that can access the current project " \ - "by authenticating with a CI/CD job token. " \ - "The count does not include nested projects.", + "by authenticating with a CI/CD job token. " \ + "The count does not include nested projects.", method: :inbound_projects_count field :groups_allowlist_count, GraphQL::Types::Int, null: false, description: "Count of groups that can access the current project " \ - "by authenticating with a CI/CD job token. " \ - "The count does not include subgroups.", + "by authenticating with a CI/CD job token. " \ + "The count does not include subgroups.", method: :groups_count end end diff --git a/app/graphql/types/ci/job_trace_type.rb b/app/graphql/types/ci/job_trace_type.rb index 62fb9340b538080d92de367bffc3ed035fe51741..c905c9dd6ac34e0dde48ee05bedbaa5f8c8bd092 100644 --- a/app/graphql/types/ci/job_trace_type.rb +++ b/app/graphql/types/ci/job_trace_type.rb @@ -11,8 +11,8 @@ class JobTraceType < BaseObject field :html_summary, GraphQL::Types::String, null: false, alpha: { milestone: '15.11' }, description: 'HTML summary that contains the tail lines of the trace. ' \ - "Returns at most #{MAX_SIZE_KB}KB of raw bytes from the trace. " \ - 'The returned string might start with an unexpected invalid UTF-8 code point due to truncation.' do + "Returns at most #{MAX_SIZE_KB}KB of raw bytes from the trace. " \ + 'The returned string might start with an unexpected invalid UTF-8 code point due to truncation.' do argument :last_lines, Integer, required: false, default_value: 10, description: 'Number of tail lines to return, up to a maximum of 100 lines.' diff --git a/app/graphql/types/ci/job_type.rb b/app/graphql/types/ci/job_type.rb index 304c6f422dca5f936ff255628e3c620c74f5069b..2c86410103d84993c77ac9c1a6abc51524ae58fd 100644 --- a/app/graphql/types/ci/job_type.rb +++ b/app/graphql/types/ci/job_type.rb @@ -93,7 +93,7 @@ class JobType < BaseObject field :previous_stage_jobs_or_needs, Types::Ci::JobNeedUnion.connection_type, null: true, description: 'Jobs that must complete before the job runs. Returns `BuildNeed`, ' \ - 'which is the needed jobs if the job uses the `needs` keyword, or the previous stage jobs otherwise.', + 'which is the needed jobs if the job uses the `needs` keyword, or the previous stage jobs otherwise.', deprecated: { reason: 'Replaced by previousStageJobs and needs fields', milestone: '16.4' } field :ref_name, GraphQL::Types::String, null: true, description: 'Ref name of the job.' diff --git a/app/graphql/types/ci/runner_membership_filter_enum.rb b/app/graphql/types/ci/runner_membership_filter_enum.rb index c0bf3abf4bf4b25957eaa9d001fe7dc673ce5c54..3da895b7a510f61ca1fb801ac2844613e9121aa8 100644 --- a/app/graphql/types/ci/runner_membership_filter_enum.rb +++ b/app/graphql/types/ci/runner_membership_filter_enum.rb @@ -18,7 +18,7 @@ class RunnerMembershipFilterEnum < BaseEnum value 'ALL_AVAILABLE', description: "Include all runners. This list includes runners for all projects in the group " \ - "and subgroups, as well as for the parent groups and instance.", + "and subgroups, as well as for the parent groups and instance.", value: :all_available, alpha: { milestone: '15.5' } end