Skip to content

Commit 6dba8a1

Browse files
Merge pull request #132 from publify/dependabot/bundler/rubocop-performance-tw-1.20.0
2 parents edaa131 + 189f5ac commit 6dba8a1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/helpers/base_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ def feed_for(type)
224224
elsif !@article.nil?
225225
@article.feed_url(type)
226226
elsif !@auto_discovery_url_atom.nil?
227-
instance_variable_get("@auto_discovery_url_#{type}")
227+
instance_variable_get(:"@auto_discovery_url_#{type}")
228228
end
229229
end
230230

app/uploaders/resource_uploader.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def store_dir
3030
end
3131

3232
def dynamic_resize_to_fit(size)
33-
resize_setting = model.blog.send("image_#{size}_size").to_i
33+
resize_setting = model.blog.send(:"image_#{size}_size").to_i
3434

3535
resize_to_fit(resize_setting, resize_setting)
3636
end

publify_core.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Gem::Specification.new do |s|
6060
s.add_development_dependency "rubocop", "~> 1.59.0"
6161
s.add_development_dependency "rubocop-capybara", "~> 2.19.0"
6262
s.add_development_dependency "rubocop-factory_bot", "~> 2.24.0"
63-
s.add_development_dependency "rubocop-performance", "~> 1.19.0"
63+
s.add_development_dependency "rubocop-performance", "~> 1.20.0"
6464
s.add_development_dependency "rubocop-rails", "~> 2.23.0"
6565
s.add_development_dependency "rubocop-rspec", "~> 2.25.0"
6666
s.add_development_dependency "shoulda-matchers", "~> 5.3"

0 commit comments

Comments
 (0)