[前][次][番号順一覧][スレッド一覧]

ruby-changes:61560

From: David <ko1@a...>
Date: Fri, 5 Jun 2020 07:34:42 +0900 (JST)
Subject: [ruby-changes:61560] 455330143a (master): [rubygems/rubygems] Mention that some validations only warn

https://git.ruby-lang.org/ruby.git/commit/?id=455330143a

From 455330143aed490f867cde2c1a5d0db81c2b7c76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...>
Date: Fri, 29 May 2020 15:50:43 +0200
Subject: [rubygems/rubygems] Mention that some validations only warn

https://github.com/rubygems/rubygems/commit/32c7f7f484

diff --git a/lib/rubygems/specification_policy.rb b/lib/rubygems/specification_policy.rb
index 2407b2e..f752240 100644
--- a/lib/rubygems/specification_policy.rb
+++ b/lib/rubygems/specification_policy.rb
@@ -37,6 +37,9 @@ class Gem::SpecificationPolicy https://github.com/ruby/ruby/blob/trunk/lib/rubygems/specification_policy.rb#L37
   #
   # Raises InvalidSpecificationException if the spec does not pass the
   # checks.
+  #
+  # It also performs some validations that do not raise but print warning
+  # messages instead.
 
   def validate(strict = false)
     validate_nil_attributes
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]