Skip to content

Commit

Permalink
Bump the all group with 1 update (#483)
Browse files Browse the repository at this point in the history
Updates the requirements on [rubocop-performance](https://github.com/rubocop/rubocop-performance) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop-performance/releases)
- [Changelog](https://github.com/rubocop/rubocop-performance/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-performance@v1.19.1...v1.20.0)

---
updated-dependencies:
- dependency-name: rubocop-performance
  dependency-type: direct:production
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] committed Dec 17, 2023
1 parent 963b279 commit 76d2c08
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ gem "faraday", "~> 2.7.11"
gem "pry", "~> 0.14.2"
gem "rspec", "~> 3.12.0"
gem "rubocop", "~> 1.59.0"
gem "rubocop-performance", "~> 1.19.1"
gem "rubocop-performance", "~> 1.20.0"
gem "rubocop-rake", "~> 0.6.0"
gem "rubocop-rspec", "~> 2.25.0"
gem "simplecov", "~> 0.22.0"
Expand Down
4 changes: 2 additions & 2 deletions lib/feedjira/feed_entry_utilities.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ def each
end

def [](field)
instance_variable_get("@#{field}")
instance_variable_get(:"@#{field}")
end

def []=(field, value)
instance_variable_set("@#{field}", value)
instance_variable_set(:"@#{field}", value)
end
end
end
2 changes: 1 addition & 1 deletion lib/feedjira/feed_utilities.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def update_attribute(feed, name)
if old_value == new_value
false
else
send("#{name}=", new_value)
send(:"#{name}=", new_value)
true
end
end
Expand Down

0 comments on commit 76d2c08

Please sign in to comment.