File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
298298end
You can’t perform that action at this time.
0 commit comments