summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_build_command.rb
diff options
context:
space:
mode:
authorJosef Šimánek <[email protected]>2021-10-25 02:47:04 +0200
committerHiroshi SHIBATA <[email protected]>2024-02-27 12:33:45 +0900
commitbfb2dc8acfd7d7c825b7ba0f1eb50ec92631362c ()
treef2754f5eee41a7b332d62c896f0c13516f53df49 /test/rubygems/test_gem_commands_build_command.rb
parent1745dd2691556a8c13e93f22001ae79b0b5046c5 (diff)
[rubygems/rubygems] Warn on empty or open required_ruby_version specification attribute.
https://.com/rubygems/rubygems/commit/e4bb33747a
-rw-r--r--test/rubygems/test_gem_commands_build_command.rb2
1 files changed, 2 insertions, 0 deletions
@@ -28,6 +28,7 @@ class TestGemCommandsBuildCommand < Gem::TestCase
@gem = util_spec "some_gem" do |s|
s.license = "AGPL-3.0-only"
s.files = ["README.md"]
end
@cmd = Gem::Commands::BuildCommand.new
@@ -178,6 +179,7 @@ class TestGemCommandsBuildCommand < Gem::TestCase
def test_execute_strict_with_warnings
bad_gem = util_spec "some_bad_gem" do |s|
s.files = ["README.md"]
end
gemspec_file = File.join(@tempdir, bad_gem.spec_name)