aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_commands_generate_index_command.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-04-25 14:09:24 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-05-08 14:13:29 +0900
commit314d7f897ca02c173fa0e3b3e36c69482f71a358 (patch)
tree8f15f5083e13cf2617fed454055e6bb953df668a /test/rubygems/test_gem_commands_generate_index_command.rb
parentb5a0db8be0086f2d245fd77fd48f89e359d71312 (diff)
downloadruby-314d7f897ca02c173fa0e3b3e36c69482f71a358.tar.gz
Remove `builder` gem requirement for `gem regenerate_index`
This requirement was introduced 14 years ago in 7ce7039b390440754954df5efea619e9f57ef823, and I don't think it's necessary anymore. I made several tests introducing UTF-8 characters in gemspec files and generating indexes out of them, and couldn't find any issues. Gemspecs are read with UTF-8 encoding these days.
Diffstat (limited to 'test/rubygems/test_gem_commands_generate_index_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_generate_index_command.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/rubygems/test_gem_commands_generate_index_command.rb b/test/rubygems/test_gem_commands_generate_index_command.rb
index d8fda32fc0..6b69bcf353 100644
--- a/test/rubygems/test_gem_commands_generate_index_command.rb
+++ b/test/rubygems/test_gem_commands_generate_index_command.rb
@@ -3,10 +3,6 @@ require 'rubygems/test_case'
require 'rubygems/indexer'
require 'rubygems/commands/generate_index_command'
-unless defined?(Builder::XChar)
- warn "generate_index tests are being skipped. Install builder gem."
-end
-
class TestGemCommandsGenerateIndexCommand < Gem::TestCase
def setup
@@ -83,4 +79,4 @@ class TestGemCommandsGenerateIndexCommand < Gem::TestCase
@ui.error
end
-end if defined?(Builder::XChar)
+end