commit
9d336ced99
|
@ -1,6 +1,5 @@
|
|||
AllCops:
|
||||
# TargetRubyVersion value is based on `required_ruby_version = '>= 2.3'` in the ransack.gemspec
|
||||
TargetRubyVersion: 2.3
|
||||
TargetRubyVersion: 2.6
|
||||
|
||||
DisabledByDefault: true
|
||||
|
||||
|
@ -31,6 +30,9 @@ Layout/SpaceInsideParens:
|
|||
Layout/TrailingEmptyLines:
|
||||
Enabled: true
|
||||
|
||||
Style/RedundantFileExtensionInRequire:
|
||||
Enabled: true
|
||||
|
||||
Style/RedundantReturn:
|
||||
Enabled: true
|
||||
|
||||
|
|
5
Gemfile
5
Gemfile
|
@ -50,7 +50,4 @@ group :test do
|
|||
gem 'simplecov', :require => false
|
||||
end
|
||||
|
||||
# RuboCop 0.81.0 is the last version which supports Ruby 2.3.
|
||||
# Once Ransack required_ruby_version is bumped, RuboCop version can be bumped.
|
||||
# https://github.com/rubocop-hq/rubocop/pull/7869
|
||||
gem 'rubocop', '=0.81.0', require: false
|
||||
gem 'rubocop', require: false
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require 'active_support/core_ext'
|
||||
require 'ransack/configuration'
|
||||
require 'ransack/adapters'
|
||||
require 'polyamorous/polyamorous.rb'
|
||||
require 'polyamorous/polyamorous'
|
||||
|
||||
Ransack::Adapters.object_mapper.require_constants
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'machinist/active_record'
|
||||
require 'polyamorous/polyamorous.rb'
|
||||
require 'polyamorous/polyamorous'
|
||||
require 'sham'
|
||||
require 'faker'
|
||||
require 'ransack'
|
||||
|
|
Loading…
Reference in New Issue