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

ruby-changes:61561

From: David <ko1@a...>
Date: Fri, 5 Jun 2020 07:34:43 +0900 (JST)
Subject: [ruby-changes:61561] 257e6cda32 (master): [rubygems/rubygems] Reword `validate` method header

https://git.ruby-lang.org/ruby.git/commit/?id=257e6cda32

From 257e6cda329dcc1d68e5d35893f5877de91d5978 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...>
Date: Fri, 29 May 2020 15:49:50 +0200
Subject: [rubygems/rubygems] Reword `validate` method header

It's not so basic anymore, and it does much more than validating
required fields.

https://github.com/rubygems/rubygems/commit/3c0be4cdeb

diff --git a/lib/rubygems/specification_policy.rb b/lib/rubygems/specification_policy.rb
index 069182b..2407b2e 100644
--- a/lib/rubygems/specification_policy.rb
+++ b/lib/rubygems/specification_policy.rb
@@ -33,8 +33,7 @@ class Gem::SpecificationPolicy https://github.com/ruby/ruby/blob/trunk/lib/rubygems/specification_policy.rb#L33
   attr_accessor :packaging
 
   ##
-  # Checks that the specification contains all required fields, and does a
-  # very basic sanity check.
+  # Does a sanity check on the specification.
   #
   # Raises InvalidSpecificationException if the spec does not pass the
   # checks.
-- 
cgit v0.10.2


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

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