mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-09 00:49:07 +08:00
Merge pull request #2848 from urbanrotnik/ur-sci-4893-fix-hound
Fix RuboCop at hound supported version [SCI-4893]
This commit is contained in:
commit
5b564ed7d4
4 changed files with 14 additions and 13 deletions
|
@ -1,6 +1,6 @@
|
||||||
ruby:
|
ruby:
|
||||||
config_file: .rubocop.yml
|
config_file: .rubocop.yml
|
||||||
version: 0.75.0
|
version: 0.83.0
|
||||||
|
|
||||||
eslint:
|
eslint:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
|
@ -6,6 +6,7 @@ AllCops:
|
||||||
Exclude:
|
Exclude:
|
||||||
- "vendor/**/*"
|
- "vendor/**/*"
|
||||||
- "db/schema.rb"
|
- "db/schema.rb"
|
||||||
|
NewCops: enable
|
||||||
UseCache: false
|
UseCache: false
|
||||||
TargetRubyVersion: 2.6
|
TargetRubyVersion: 2.6
|
||||||
|
|
||||||
|
|
2
Gemfile
2
Gemfile
|
@ -124,7 +124,7 @@ group :development, :test do
|
||||||
gem 'pry-rails'
|
gem 'pry-rails'
|
||||||
gem 'rails-controller-testing'
|
gem 'rails-controller-testing'
|
||||||
gem 'rspec-rails', '>= 4.0.0.beta2'
|
gem 'rspec-rails', '>= 4.0.0.beta2'
|
||||||
gem 'rubocop', '>= 0.75.0', require: false
|
gem 'rubocop', '= 0.83.0', require: false
|
||||||
gem 'rubocop-performance'
|
gem 'rubocop-performance'
|
||||||
gem 'rubocop-rails'
|
gem 'rubocop-rails'
|
||||||
gem 'timecop'
|
gem 'timecop'
|
||||||
|
|
22
Gemfile.lock
22
Gemfile.lock
|
@ -110,7 +110,7 @@ GEM
|
||||||
ajax-datatables-rails (0.3.1)
|
ajax-datatables-rails (0.3.1)
|
||||||
railties (>= 3.1)
|
railties (>= 3.1)
|
||||||
aspector (0.14.0)
|
aspector (0.14.0)
|
||||||
ast (2.4.0)
|
ast (2.4.1)
|
||||||
auto_strip_attributes (2.5.0)
|
auto_strip_attributes (2.5.0)
|
||||||
activerecord (>= 4.0)
|
activerecord (>= 4.0)
|
||||||
autoprefixer-rails (9.7.0)
|
autoprefixer-rails (9.7.0)
|
||||||
|
@ -288,7 +288,6 @@ GEM
|
||||||
mini_magick (>= 4.9.5, < 5)
|
mini_magick (>= 4.9.5, < 5)
|
||||||
ruby-vips (>= 2.0.13, < 3)
|
ruby-vips (>= 2.0.13, < 3)
|
||||||
iniparse (1.4.4)
|
iniparse (1.4.4)
|
||||||
jaro_winkler (1.5.4)
|
|
||||||
jbuilder (2.9.1)
|
jbuilder (2.9.1)
|
||||||
activesupport (>= 4.2.0)
|
activesupport (>= 4.2.0)
|
||||||
jmespath (1.4.0)
|
jmespath (1.4.0)
|
||||||
|
@ -388,9 +387,9 @@ GEM
|
||||||
overcommit (0.49.1)
|
overcommit (0.49.1)
|
||||||
childprocess (>= 0.6.3, < 2.0)
|
childprocess (>= 0.6.3, < 2.0)
|
||||||
iniparse (~> 1.4)
|
iniparse (~> 1.4)
|
||||||
parallel (1.19.1)
|
parallel (1.19.2)
|
||||||
parser (2.6.5.0)
|
parser (2.7.1.4)
|
||||||
ast (~> 2.4.0)
|
ast (~> 2.4.1)
|
||||||
pg (1.1.4)
|
pg (1.1.4)
|
||||||
pg_search (2.3.0)
|
pg_search (2.3.0)
|
||||||
activerecord (>= 4.2)
|
activerecord (>= 4.2)
|
||||||
|
@ -464,6 +463,7 @@ GEM
|
||||||
responders (3.0.0)
|
responders (3.0.0)
|
||||||
actionpack (>= 5.0)
|
actionpack (>= 5.0)
|
||||||
railties (>= 5.0)
|
railties (>= 5.0)
|
||||||
|
rexml (3.2.4)
|
||||||
rgl (0.5.6)
|
rgl (0.5.6)
|
||||||
lazy_priority_queue (~> 0.1.0)
|
lazy_priority_queue (~> 0.1.0)
|
||||||
stream (~> 0.5.2)
|
stream (~> 0.5.2)
|
||||||
|
@ -493,13 +493,13 @@ GEM
|
||||||
rspec-mocks (~> 3.8)
|
rspec-mocks (~> 3.8)
|
||||||
rspec-support (~> 3.8)
|
rspec-support (~> 3.8)
|
||||||
rspec-support (3.8.2)
|
rspec-support (3.8.2)
|
||||||
rubocop (0.78.0)
|
rubocop (0.83.0)
|
||||||
jaro_winkler (~> 1.5.1)
|
|
||||||
parallel (~> 1.10)
|
parallel (~> 1.10)
|
||||||
parser (>= 2.6)
|
parser (>= 2.7.0.1)
|
||||||
rainbow (>= 2.2.2, < 4.0)
|
rainbow (>= 2.2.2, < 4.0)
|
||||||
|
rexml
|
||||||
ruby-progressbar (~> 1.7)
|
ruby-progressbar (~> 1.7)
|
||||||
unicode-display_width (>= 1.4.0, < 1.7)
|
unicode-display_width (>= 1.4.0, < 2.0)
|
||||||
rubocop-performance (1.5.1)
|
rubocop-performance (1.5.1)
|
||||||
rubocop (>= 0.71.0)
|
rubocop (>= 0.71.0)
|
||||||
rubocop-rails (2.4.0)
|
rubocop-rails (2.4.0)
|
||||||
|
@ -570,7 +570,7 @@ GEM
|
||||||
uglifier (4.2.0)
|
uglifier (4.2.0)
|
||||||
execjs (>= 0.3.0, < 3)
|
execjs (>= 0.3.0, < 3)
|
||||||
underscore-rails (1.8.3)
|
underscore-rails (1.8.3)
|
||||||
unicode-display_width (1.6.0)
|
unicode-display_width (1.7.0)
|
||||||
uniform_notifier (1.12.1)
|
uniform_notifier (1.12.1)
|
||||||
warden (1.2.8)
|
warden (1.2.8)
|
||||||
rack (>= 2.0.6)
|
rack (>= 2.0.6)
|
||||||
|
@ -678,7 +678,7 @@ DEPENDENCIES
|
||||||
rotp
|
rotp
|
||||||
rqrcode
|
rqrcode
|
||||||
rspec-rails (>= 4.0.0.beta2)
|
rspec-rails (>= 4.0.0.beta2)
|
||||||
rubocop (>= 0.75.0)
|
rubocop (= 0.83.0)
|
||||||
rubocop-performance
|
rubocop-performance
|
||||||
rubocop-rails
|
rubocop-rails
|
||||||
ruby-graphviz (~> 1.2)
|
ruby-graphviz (~> 1.2)
|
||||||
|
|
Loading…
Reference in a new issue