Skip to content

fix: rename helpers#65

Merged
faustbrian merged 1 commit intoArkEcosystemArchive:masterfrom
sleepdefic1t:fix/rename-helpers
Jan 28, 2019
Merged

fix: rename helpers#65
faustbrian merged 1 commit intoArkEcosystemArchive:masterfrom
sleepdefic1t:fix/rename-helpers

Conversation

@sleepdefic1t
Copy link
Contributor

Proposed changes

Cpp-Client uses the header 'helpers/helpers.h'.
Cpp-Crypto also uses this 'helpers/helpers.h' naming.
These headers are not identical and contain only “helper” functions specific to its library.

When both Cpp-Client & Cpp-Crypto are included in the same project, it results in one of the headers being dropped.

This PR renames 'helpers/helpers.h' to 'helpers/client_helpers.h’, and resolves the issue.

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (improve a current implementation without adding a new feature or fixing a bug)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Build (changes that affect the build system)
  • Docs (documentation only changes)
  • Test (adding missing tests or fixing existing tests)
  • Other... Please describe:

Checklist

  • I have read the CONTRIBUTING documentation
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

There will also be a PR in ArkEcosystem/Cpp-Crypto to match this revised naming.

Cpp-Client uses the header 'helpers/helpers.h'.
Cpp-Crypto also uses this 'helpers/helpers.h' naming.
These headers are not identical and contain only “helper” functions specific to its library.

When both Cpp-Client & Cpp-Crypto are included in the same project, it results in a name collision causing one of the headers to be dropped.

This PR renames 'helpers/helpers.h' to 'helpers/client_helpers.h’, and resolves the name collision.
@sleepdefic1t
Copy link
Contributor Author

ArkEcosystem/cpp-crypto #51 matches this revised naming.

@codecov-io
Copy link

Codecov Report

Merging #65 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #65   +/-   ##
=======================================
  Coverage   78.45%   78.45%           
=======================================
  Files          22       22           
  Lines         311      311           
=======================================
  Hits          244      244           
  Misses         67       67
Impacted Files Coverage Δ
src/http/os/http.cpp 100% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 56f0e54...18135b4. Read the comment docs.

@faustbrian faustbrian merged commit 6d2741b into ArkEcosystemArchive:master Jan 28, 2019
@sleepdefic1t sleepdefic1t mentioned this pull request Feb 5, 2019
12 tasks
@sleepdefic1t sleepdefic1t deleted the fix/rename-helpers branch February 15, 2019 17:53
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.

3 participants