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

ruby-changes:52202

From: eregon <ko1@a...>
Date: Fri, 17 Aug 2018 19:14:08 +0900 (JST)
Subject: [ruby-changes:52202] eregon:r64410 (trunk): spec/README.md: add a note about version guards

eregon	2018-08-17 19:14:01 +0900 (Fri, 17 Aug 2018)

  New Revision: 64410

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64410

  Log:
    spec/README.md: add a note about version guards

  Modified files:
    trunk/spec/README.md
Index: spec/README.md
===================================================================
--- spec/README.md	(revision 64409)
+++ spec/README.md	(revision 64410)
@@ -19,6 +19,9 @@ In other words: If adding a spec might r https://github.com/ruby/ruby/blob/trunk/spec/README.md#L19
 another implementation, then it is worth adding it.
 Currently, the only module which is MRI-specific is `RubyVM`.
 
+Version guards (`ruby_version_is`) must be added for new features or features
+which change behavior or are removed. See `spec/ruby/CONTRIBUTING.md` for details.
+
 ## Running ruby/spec
 
 To run all specs:

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

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