summaryrefslogtreecommitdiff
path: root/lib/rubygems/specification_policy.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 /lib/rubygems/specification_policy.rb
parent1745dd2691556a8c13e93f22001ae79b0b5046c5 (diff)
[rubygems/rubygems] Warn on empty or open required_ruby_version specification attribute.
https://.com/rubygems/rubygems/commit/e4bb33747a
-rw-r--r--lib/rubygems/specification_policy.rb8
1 files changed, 8 insertions, 0 deletions
@@ -103,6 +103,8 @@ class Gem::SpecificationPolicy
validate_dependencies
validate_extensions
validate_removed_attributes
@@ -227,6 +229,12 @@ duplicate dependency on #{dep}, (#{prev.requirement}) use:
end
end
##
# Issues a warning for each file to be packaged which is world-readable.
#