From 9f02e38433ca08c2e82cfec8844db9dd26acb336 Mon Sep 17 00:00:00 2001 From: Jared Gordon and Sai To Yeung Date: Thu, 12 Mar 2015 09:04:18 -0400 Subject: [PATCH] Fix failures on go versions parsed as integers (i.e. 2 digits) [#90128514] --- lib/dependencies.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dependencies.rb b/lib/dependencies.rb index 71dd84f..d596f4d 100644 --- a/lib/dependencies.rb +++ b/lib/dependencies.rb @@ -45,7 +45,7 @@ def find_dependency_mapping(uri) def find_dependency_with_mapping(mapping) @manifest['dependencies'].find do |dependency| - dependency['version'] == mapping['version'] && + dependency['version'].to_s == mapping['version'].to_s && dependency['name'] == mapping['name'] && dependency_satisfies_current_stack(dependency) end