Skip to content
This repository
Browse code

- Clean up SourceIndex.add_specs to not be so damn noisy. (tadman)

  • Loading branch information...
commit c89524b0aedcd32e6da458c7939566734f3edff4 1 parent 1b591bb
Ryan Davis zenspider authored

Showing 1 changed file with 4 additions and 2 deletions. Show diff stats Hide diff stats

  1. +4 2 lib/rubygems/source_index.rb
6 lib/rubygems/source_index.rb
@@ -193,8 +193,10 @@ def add_spec(gem_spec, name = gem_spec.full_name)
193 193 # Add gem specifications to the source index.
194 194
195 195 def add_specs(*gem_specs)
196   - gem_specs.each do |spec|
197   - add_spec spec
  196 + Gem::Deprecate.skip_during do
  197 + gem_specs.each do |spec|
  198 + add_spec spec
  199 + end
198 200 end
199 201 end
200 202

0 comments on commit c89524b

Please sign in to comment.
Something went wrong with that request. Please try again.