Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rubocop-performance requirement from ~> 1.19.0 to ~> 1.20.0 #132

Merged
merged 2 commits into from
Dec 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/helpers/base_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def feed_for(type)
elsif [email protected]?
@article.feed_url(type)
elsif !@auto_discovery_url_atom.nil?
instance_variable_get("@auto_discovery_url_#{type}")
instance_variable_get(:"@auto_discovery_url_#{type}")
end
end

Expand Down
2 changes: 1 addition & 1 deletion app/uploaders/resource_uploader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def store_dir
end

def dynamic_resize_to_fit(size)
resize_setting = model.blog.send("image_#{size}_size").to_i
resize_setting = model.blog.send(:"image_#{size}_size").to_i

resize_to_fit(resize_setting, resize_setting)
end
Expand Down
2 changes: 1 addition & 1 deletion publify_core.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Gem::Specification.new do |s|
s.add_development_dependency "rubocop", "~> 1.59.0"
s.add_development_dependency "rubocop-capybara", "~> 2.19.0"
s.add_development_dependency "rubocop-factory_bot", "~> 2.24.0"
s.add_development_dependency "rubocop-performance", "~> 1.19.0"
s.add_development_dependency "rubocop-performance", "~> 1.20.0"
s.add_development_dependency "rubocop-rails", "~> 2.23.0"
s.add_development_dependency "rubocop-rspec", "~> 2.25.0"
s.add_development_dependency "shoulda-matchers", "~> 5.3"
Expand Down