Skip to content

Commit

Permalink
Merge pull request #5095 from openSUSE/depfu/update/srcapi/rubocop-rs…
Browse files Browse the repository at this point in the history
…pec-1.26.0

Update rubocop-rspec: 1.25.1 → 1.26.0 (minor)
  • Loading branch information
ChrisBr committed Jun 12, 2018
2 parents d9a00f8 + 454db43 commit 9f03769
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,8 @@ Rails/Output:
# Disabled due to a bug
Rails/BulkChangeTable:
Enabled: false

# Disabled as we currently violate it everywhere in spec/features directory
# we first need to discuss if we want to move this directory and then fix the violation
Capybara/FeatureMethods:
Enabled: false
10 changes: 5 additions & 5 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2018-06-07 11:09:38 +0000 using RuboCop version 0.57.1.
# on 2018-06-11 09:56:13 +0000 using RuboCop version 0.57.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
Expand Down Expand Up @@ -201,7 +201,7 @@ Lint/UselessAssignment:
Metrics/AbcSize:
Max: 239

# Offense count: 485
# Offense count: 486
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/BlockLength:
Max: 493
Expand All @@ -214,7 +214,7 @@ Metrics/BlockNesting:
# Offense count: 90
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 1109
Max: 1097

# Offense count: 245
Metrics/CyclomaticComplexity:
Expand Down Expand Up @@ -855,7 +855,7 @@ Style/FormatStringToken:
- 'src/api/app/helpers/webui/project_helper.rb'
- 'src/api/lib/backend/connection_helper.rb'

# Offense count: 1004
# Offense count: 1007
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: when_needed, always, never
Expand Down Expand Up @@ -992,7 +992,7 @@ Style/RedundantBegin:
Style/RegexpLiteral:
Enabled: false

# Offense count: 24
# Offense count: 25
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: implicit, explicit
Expand Down
2 changes: 1 addition & 1 deletion src/api/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ GEM
rainbow (>= 2.2.2, < 4.0)
ruby-progressbar (~> 1.7)
unicode-display_width (~> 1.0, >= 1.0.1)
rubocop-rspec (1.25.1)
rubocop-rspec (1.26.0)
rubocop (>= 0.53.0)
ruby-ldap (0.9.19)
ruby-progressbar (1.9.0)
Expand Down
2 changes: 1 addition & 1 deletion src/api/spec/db/data/project_log_entry_user_name_spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'rails_helper'
require_relative '../../../db/data/20180214132015_project_log_entry_user_name.rb'

RSpec.feature 'ProjectLogEntryUserName', type: :model do
RSpec.describe ProjectLogEntryUserName, type: :model do
let(:user) { create(:confirmed_user) }
let(:other_user) { create(:confirmed_user) }

Expand Down

0 comments on commit 9f03769

Please sign in to comment.