fix: rubocop warnings
This commit is contained in:
parent
d4e44332ea
commit
2c28c02673
4 changed files with 6 additions and 10 deletions
|
@ -6,13 +6,10 @@ AllCops:
|
|||
- bin/*
|
||||
TargetRubyVersion: 2.4
|
||||
|
||||
Gemspec/RequiredRubyVersion:
|
||||
Enabled: false
|
||||
|
||||
Naming/AccessorMethodName:
|
||||
Enabled: false
|
||||
|
||||
Style/RescueStandardError:
|
||||
Lint/RescueWithoutErrorClass:
|
||||
Enabled: false
|
||||
|
||||
Metrics/LineLength:
|
||||
|
|
6
Gemfile
6
Gemfile
|
@ -38,16 +38,16 @@ gem 'bootsnap', '>= 1.1.0', require: false
|
|||
|
||||
group :development, :test do
|
||||
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
||||
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
|
||||
gem 'byebug', platforms: %i[mri mingw x64_mingw]
|
||||
end
|
||||
|
||||
group :development do
|
||||
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
|
||||
gem 'web-console', '>= 3.3.0'
|
||||
gem 'listen', '>= 3.0.5', '< 3.2'
|
||||
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
|
||||
gem 'spring'
|
||||
gem 'spring-watcher-listen', '~> 2.0.0'
|
||||
gem 'web-console', '>= 3.3.0'
|
||||
end
|
||||
|
||||
group :test do
|
||||
|
@ -59,4 +59,4 @@ group :test do
|
|||
end
|
||||
|
||||
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
||||
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
||||
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby]
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
class HomeController < ApplicationController
|
||||
def index
|
||||
end
|
||||
def index; end
|
||||
end
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require "test_helper"
|
||||
require 'test_helper'
|
||||
|
||||
class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
|
||||
driven_by :selenium, using: :chrome, screen_size: [1400, 1400]
|
||||
|
|
Loading…
Reference in a new issue