rubygems / rubygems-test

An attempt to replace the testing facility in rubygems via a test plugin.
Other
47 stars 11 forks source link

"Gem.source_index is deprecated" #35

Open cczona opened 12 years ago

cczona commented 12 years ago

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.

<Gem::LoadError: rake/rdoctask is deprecated. Use rdoc/task instead (in RDoc 2.4.2+)

Could not finrake aborted! duninitialized constant Hoe::Publish::RDoc r d(See full trace by running task with --trace) oc (>= 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!

erikh commented 12 years ago

Greetings!

I'll try to look at this -- but I'm actually looking for a new maintainer, so it'll be deferred a bit. Interested? :)

cczona commented 12 years ago

Props for delegation skills! Alas, not interested. Thanks, though.

L2G commented 12 years ago

I've done a little work on this.