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

Replace a couple of private_attr uses and remove the gem dependency #33

Merged
merged 1 commit into from
Dec 18, 2019

Conversation

aprescott
Copy link
Contributor

What did we change?

Two instances of private_attr_reader are replaced, and the top-level private_attr gem dependency is removed.

Why are we doing this?

We only use this gem in 2 places, the warning the gem aims to address ("private attribute?") was removed in Ruby 2.3.0, and removing the dependency seems worth it.

How was it tested?

  • Specs
  • Locally
  • Staging

We only use this gem in 2 places, the warning the gem aims to address
("private attribute?") was removed in Ruby 2.3.0, and removing the
dependency seems worth it.
@codeclimate
Copy link

codeclimate bot commented Dec 18, 2019

Code Climate has analyzed commit b146e22 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 100.0% (0.0% change).

View more on Code Climate.

Copy link
Contributor

@jmpage jmpage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice cleanup!

@aprescott aprescott merged commit 167b51d into master Dec 18, 2019
@aprescott aprescott deleted the ap-rm-private-attr branch December 18, 2019 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants