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

Rename 'AuthenticatedEncryption' class to 'Encryption' #12

Merged
merged 2 commits into from
Jun 9, 2020
Merged

Rename 'AuthenticatedEncryption' class to 'Encryption' #12

merged 2 commits into from
Jun 9, 2020

Conversation

refactorsaurusrex
Copy link
Contributor

Renaming this class allows it to be referenced without either of the following undesirable requirements.

  1. Requiring the class to be redundantly qualified with the containing namespace name.
  2. Requiring that the using AuthenticatedEncryption; statement be placed within a consuming project's namespace. (After the rename, the using statement can be placed outside a namespace declaration, which is a common convention for many projects.)

Additionally, I bumped the version number to 2.0.0 because this change is breaking and updated the readme with a corrected example.

Closes #11.

@refactorsaurusrex
Copy link
Contributor Author

@spewu Could you please review and provide feedback, or ask a current TrustPilot employee to do so? Thank you in advance!

@spewu
Copy link
Contributor

spewu commented Jun 6, 2020

@refactorsaurusrex thanks - looks good. I will try to get a hold of someone who can merge and release it

Copy link
Contributor

@irq irq left a comment

Choose a reason for hiding this comment

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

@refactorsaurusrex Thanks for the PR!

Two small change requests, but otherwise it's good to merge! :)

This change allows the class to be referenced without being redundantly qualified with the containing namespace name.
Although these changes are very minor, they will cause errors for package consumers when they upgrade to the latest version.
@refactorsaurusrex
Copy link
Contributor Author

Two small change requests, but otherwise it's good to merge! :)

Done. Thanks!

@irq irq merged commit 565caea into trustpilot:master Jun 9, 2020
@refactorsaurusrex
Copy link
Contributor Author

Hey @irq, it looks like the nuget publish step failed.

Error publishing package. NuGet server returned 403: The specified API key is 
invalid, has expired, or does not have permission to access the specified package.

@irq
Copy link
Contributor

irq commented Jun 10, 2020

@refactorsaurusrex Currently I don't have access to our nuget.org account. I will let you know when this is sorted.

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.

Class or namespace should be renamed
3 participants