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

Decode #13 #17

Merged
merged 23 commits into from
Apr 27, 2020
Merged

Decode #13 #17

merged 23 commits into from
Apr 27, 2020

Conversation

nelsonic
Copy link
Member

@nelsonic nelsonic commented Apr 25, 2020

This PR:

It can only be merged once we've looked at the the Module name; currently Base58Encode #16
Publishing a new version is dependent on #15

@codecov
Copy link

codecov bot commented Apr 25, 2020

Codecov Report

Merging #17 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #17   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           14        20    +6     
=========================================
+ Hits            14        20    +6     
Impacted Files Coverage Δ
lib/base58.ex 100.00% <100.00%> (ø)

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 c56a724...9c23a62. Read the comment docs.

@nelsonic nelsonic mentioned this pull request Apr 25, 2020
@nelsonic nelsonic requested a review from SimonLab April 25, 2020 22:38
@nelsonic nelsonic removed their assignment Apr 25, 2020
@nelsonic
Copy link
Member Author

@nelsonic nelsonic mentioned this pull request Apr 25, 2020
2 tasks
@@ -0,0 +1,88 @@
defmodule Base58Test do
Copy link
Member Author

Choose a reason for hiding this comment

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

Don't know why GitHub thinks this is a new file, I just renamed it.
.then added a few new tests. 📝

@@ -1,13 +1,13 @@
defmodule Base58Encode.MixProject do
defmodule Base58.MixProject do
Copy link
Member Author

Choose a reason for hiding this comment

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

Rename #16

lib/base58.ex Outdated Show resolved Hide resolved
Copy link
Member

@SimonLab SimonLab left a comment

Choose a reason for hiding this comment

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

  • to_char_list can be replaced by to_charlist
  • The example is not running as it tries to called the module with the old name.

I'm going to create a commit to fix these two points above.
Otherwise looks good

Copy link
Member

@SimonLab SimonLab left a comment

Choose a reason for hiding this comment

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

I've added the following commit to fix the example: #17
PR looks good.
I'll let you double check my changes @nelsonic and happy for you to merge the PR 👍

@SimonLab SimonLab assigned nelsonic and unassigned SimonLab Apr 27, 2020
@@ -1,8 +1,10 @@
defmodule Example do

hello = "hello"
helloBase58 = Base58Encode.encode(hello)
helloBase58 = Base58.encode(hello)
Copy link
Member Author

Choose a reason for hiding this comment

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

@SimonLab thanks for updating the example. 👍

@nelsonic
Copy link
Member Author

@SimonLab thanks for updating the example. 👍
I cannot approve/merge my own PR:
image

Please merge if you're happy with it.
merci bowcups. 😉

@SimonLab SimonLab merged commit e817934 into master Apr 27, 2020
@SimonLab SimonLab deleted the decode-issue#13 branch April 27, 2020 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants