assign required versons for gemspec dependencies