Fixed #4278: String#underscore with digit#4280
Conversation
Treat digit as downcase character. But in upcase characters it treats like upcase character. It works fine.
|
https://travis-ci.org/crystal-lang/crystal/jobs/221621776 Hmm... NOTE: Original OpenSSL constant name is |
|
Let's rename openssl constants to match this new behaviour. Since we are fixing this, what happens if you pass other characters like some of |
a8ad45b to
aba7363
Compare
|
@asterite Apologize for delay. I renamed OpenSSL constants for changes and updated this branch. I know ActiveSupport's |
|
I prefer to use ActiveSupport compatible behavior when it's possible and have no drawbacks. |
|
I'm sure |
|
@asterite ping |
|
Thank you @makenowjust !!! |
|
@mverzilli Can you close #4281? |
Fixed #4278.
It treats digit characters as downcase characters. But in upcase characters it treats like upcase characters. It works fine.
Thank you.