Skip to content

Commit 97693c0

Browse files
authored
Merge pull request #4760 from rubyforgood/dependabot/bundler/rubocop-rails-2.27.0
build(deps-dev): bump rubocop-rails from 2.25.1 to 2.27.0
2 parents 2d13486 + cf54a76 commit 97693c0

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ group :development, :test do
157157
gem "rubocop"
158158
# Rails add-on for static analysis.
159159
gem 'rubocop-performance'
160-
gem "rubocop-rails", "~> 2.25.1"
160+
gem "rubocop-rails", "~> 2.27.0"
161161
# Default rules for Rubocop.
162162
gem "standard", "~> 1.40"
163163
# Erb linter.

Gemfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -593,10 +593,10 @@ GEM
593593
rubocop-performance (1.23.0)
594594
rubocop (>= 1.48.1, < 2.0)
595595
rubocop-ast (>= 1.31.1, < 2.0)
596-
rubocop-rails (2.25.1)
596+
rubocop-rails (2.27.0)
597597
activesupport (>= 4.2.0)
598598
rack (>= 1.1)
599-
rubocop (>= 1.33.0, < 2.0)
599+
rubocop (>= 1.52.0, < 2.0)
600600
rubocop-ast (>= 1.31.1, < 2.0)
601601
ruby-graphviz (1.2.5)
602602
rexml
@@ -789,7 +789,7 @@ DEPENDENCIES
789789
rspec-rails (~> 7.0.1)
790790
rubocop
791791
rubocop-performance
792-
rubocop-rails (~> 2.25.1)
792+
rubocop-rails (~> 2.27.0)
793793
sass-rails
794794
shoulda-matchers (~> 6.2)
795795
simple_form

app/models/organization.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,6 @@ def get_admin_email
293293
end
294294

295295
def logo_size_check
296-
errors.add(:logo, 'File size is greater than 1 MB') if logo.byte_size > 1.megabytes
296+
errors.add(:logo, 'File size is greater than 1 MB') if logo.byte_size > 1.megabyte
297297
end
298298
end

0 commit comments

Comments
 (0)