Skip to content

Commit

Permalink
consider empty version requirements as >= 0.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
schmurfy committed May 9, 2013
1 parent 7562b28 commit 6af7132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/mrbgem_spec.rake
Expand Up @@ -88,7 +88,7 @@ module MRuby
end

def add_dependency(name, *requirements)
requirements = ['> 0.0.0'] if requirements.empty?
requirements = ['>= 0.0.0'] if requirements.empty?
requirements.flatten!
@dependencies << {:gem => name, :requirements => requirements}
end
Expand Down

0 comments on commit 6af7132

Please sign in to comment.