Skip to content

Commit d187b84

Browse files
committed
Minor rubocop tweaks
1 parent d9211fc commit d187b84

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

app/serializers/shipit/stack_serializer.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ class StackSerializer < ActiveModel::Serializer
77
has_one :lock_author
88

99
attributes :id, :repo_owner, :repo_name, :environment, :html_url, :url, :tasks_url, :deploy_url,
10-
:merge_requests_url, :deploy_spec, :undeployed_commits_count, :is_locked, :lock_reason, :continuous_deployment,
11-
:created_at, :updated_at, :locked_since, :last_deployed_at, :branch, :merge_queue_enabled, :is_archived,
12-
:archived_since, :ignore_ci
10+
:merge_requests_url, :deploy_spec, :undeployed_commits_count, :is_locked, :lock_reason,
11+
:continuous_deployment, :created_at, :updated_at, :locked_since, :last_deployed_at, :branch,
12+
:merge_queue_enabled, :is_archived, :archived_since, :ignore_ci
1313

1414
def url
1515
api_stack_url(object)

lib/shipit/stack_commands.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
# rubocop:disable Lint/MissingSuper
3+
# rubocop:disable Lint/MissingCopEnableDirective, Lint/MissingSuper
44
require 'pathname'
55
require 'fileutils'
66

lib/shipit/task_commands.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
# rubocop:disable Lint/MissingSuper
3+
# rubocop:disable Lint/MissingCopEnableDirective, Lint/MissingSuper
44
module Shipit
55
class TaskCommands < Commands
66
delegate :fetch_commit, :fetch, :fetched?, to: :stack_commands

0 commit comments

Comments
 (0)