Removed useless assignment variables

I removed useless assignment variables detected with rubocop.

@drbrain Could you review this?
This seems to work:
```ruby
Array.new(3){ Gem::Specification.new }.sort
```