ruby-changes:61547
From: David <ko1@a...>
Date: Fri, 5 Jun 2020 07:34:27 +0900 (JST)
Subject: [ruby-changes:61547] 3cfe190099 (master): [rubygems/rubygems] Move docs to a better place
https://git.ruby-lang.org/ruby.git/commit/?id=3cfe190099 From 3cfe190099bd4354b39d4276eec97bdef44255a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...> Date: Fri, 29 May 2020 15:47:18 +0200 Subject: [rubygems/rubygems] Move docs to a better place https://github.com/rubygems/rubygems/commit/c87ac90528 diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb index b1c5ab2..cb70b96 100644 --- a/lib/rubygems/specification.rb +++ b/lib/rubygems/specification.rb @@ -2592,17 +2592,11 @@ class Gem::Specification < Gem::BasicSpecification https://github.com/ruby/ruby/blob/trunk/lib/rubygems/specification.rb#L2592 end rubygems_deprecate :validate_metadata - ## - # Checks that dependencies use requirements as we recommend. Warnings are - # issued when dependencies are open-ended or overly strict for semantic - # versioning. def validate_dependencies Gem::SpecificationPolicy.new(self).validate_dependencies end rubygems_deprecate :validate_dependencies - ## - # Checks to see if the files to be packaged are world-readable. def validate_permissions Gem::SpecificationPolicy.new(self).validate_permissions end diff --git a/lib/rubygems/specification_policy.rb b/lib/rubygems/specification_policy.rb index 4c89403..c9b1da2 100644 --- a/lib/rubygems/specification_policy.rb +++ b/lib/rubygems/specification_policy.rb @@ -127,7 +127,9 @@ class Gem::SpecificationPolicy https://github.com/ruby/ruby/blob/trunk/lib/rubygems/specification_policy.rb#L127 end ## - # Implementation for Specification#validate_dependencies + # Checks that dependencies use requirements as we recommend. Warnings are + # issued when dependencies are open-ended or overly strict for semantic + # versioning. def validate_dependencies # :nodoc: # NOTE: see REFACTOR note in Gem::Dependency about types - this might be brittle -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/