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

Handle single-digit twiddle-wakka (#380) #381

Merged
merged 1 commit into from Jun 26, 2019

Conversation

ysb33r
Copy link
Contributor

@ysb33r ysb33r commented Jun 26, 2019

No description provided.

@ysb33r ysb33r added this to the 2.0.0 - Stuttgart milestone Jun 26, 2019
@@ -432,11 +432,21 @@ class GemVersion implements Comparable<GemVersion> {
private static GemVersion parseTwiddleWakka(String singleRequirement) {
String base = getVersionFromRequirement(singleRequirement, TWIDDLE_WAKKA)
List<String> parts = base.tokenize(VERSION_SPLIT)
if (1 == parts) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

That bug started me in the face and I did not even see it. 😆 It should originally have read 1==parts.size().

@ysb33r ysb33r requested a review from rtyler June 26, 2019 11:02
@rtyler rtyler merged commit 5162bad into jruby-gradle:master Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants