Skip to content

Commit f08da4f

Browse files
committed
Update RuboCop version
1 parent a781447 commit f08da4f

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.rubocop.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ inherit_from:
44
require: rubocop-rspec
55

66
AllCops:
7-
TargetRubyVersion: 2.6
7+
TargetRubyVersion: 2.5
88
Exclude:
99
- bin/*
1010
- db/schema.rb
@@ -22,6 +22,10 @@ RSpec/MultipleExpectations:
2222
# Default is 1
2323
Max: 5
2424

25+
RSpec/MultipleMemoizedHelpers:
26+
# Default is 5
27+
Max: 10
28+
2529
RSpec/NestedGroups:
2630
# Default is 3
2731
Max: 5

active_storage_db.gemspec

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ Gem::Specification.new do |spec|
1616
spec.description = 'An ActiveStorage service plugin to store files in database.'
1717
spec.license = 'MIT'
1818

19+
spec.required_ruby_version = '>= 2.5.0'
20+
1921
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
2022
# to allow pushing to a single host or delete this section to allow pushing to any host.
2123
if spec.respond_to?(:metadata)
@@ -38,7 +40,7 @@ Gem::Specification.new do |spec|
3840
spec.add_development_dependency 'pry', '~> 0.13'
3941
spec.add_development_dependency 'rspec_junit_formatter', '~> 0.4'
4042
spec.add_development_dependency 'rspec-rails', '~> 4.0'
41-
spec.add_development_dependency 'rubocop', '~> 0.89'
43+
spec.add_development_dependency 'rubocop', '~> 0.91'
4244
spec.add_development_dependency 'rubocop-rspec', '~> 1.42'
4345
spec.add_development_dependency 'selenium-webdriver', '~> 3.142'
4446
spec.add_development_dependency 'simplecov', '~> 0.18'

0 commit comments

Comments
 (0)