rubygems/rubygems-test — Issue #35: "Gem.source_index is deprecated"
Author: cczona
Created: 2012-02-07 07:49:49+00:00
State: open

gem test is giving me "Gem.source_index is deprecated" warnings whenever it's run. Using RVM, MRI 1.8.7, MRI 1.9.2, and REE 1.8.7.

Example:

NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /Users/cczona/.rvm/gems/ruby-1.8.7-p352@global/gems/rubygems-test-0.4.3/lib/rubygems/commands/test_command.rb:76.
NOTE: Gem::SourceIndex#find_name is deprecated, use Specification.find_by_name. It will be removed on or after 2011-11-01.
Gem::SourceIndex#find_name called from /Users/cczona/.rvm/gems/ruby-1.8.7-p352@global/gems/rubygems-test-0.4.3/lib/rubygems/commands/test_command.rb:76.
NOTE: Gem::Specification#installation_path is deprecated, use base_dir. It will be removed on or after 2011-10-01.
Gem::Specification#installation_path called from /Users/cczona/.rvm/gems/ruby-1.8.7-p352@global/gems/rubygems-test-0.4.3/lib/rubygems/commands/test_command.rb:77.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /Users/cczona/.rvm/gems/ruby-1.8.7-p352@global/gems/rubygems-test-0.4.3/lib/rubygems/commands/test_command.rb:144.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#search called from /Users/cczona/.rvm/gems/ruby-1.8.7-p352@global/gems/rubygems-test-0.4.3/lib/rubygems/commands/test_command.rb:144.
#= 0) amongst [bundler-1.0.18, coderay-0.9.8, hoe-2.13.1, method_source-0.6.5, rake-0.9.2, ruby_parser-2.3.0, rubygems-test-0.4.3, sexp_processor-3.0.6, slop-2.1.0]>

Test results posted successfully!

results url:	http://test.rubygems.org/gems/rubygems-test/v/0.4.3/test_results/2071

ERROR: Tests did not pass. Examine the output and report it to the author!