Commit f7a40835 authored by Fabio Pelosin's avatar Fabio Pelosin

[Command::Repo] Fix for Ruby 1.8.7

parent 072532f8
...@@ -120,7 +120,7 @@ module Pod ...@@ -120,7 +120,7 @@ module Pod
else else
results = validator.results results = validator.results
end end
sorted_results = results.sort_by { |r| [r.type, r.message] } sorted_results = results.sort_by { |r| [r.type.to_s, r.message] }
sorted_results.each do |result| sorted_results.each do |result|
name = validator.spec ? validator.spec.name : podspec.relative_path_from(dir) name = validator.spec ? validator.spec.name : podspec.relative_path_from(dir)
version = validator.spec ? validator.spec.version : 'unknown' version = validator.spec ? validator.spec.version : 'unknown'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment