diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-02-08 19:43:27 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-04-01 15:36:20 +0900 |
commit | 826f44834fe11f3f9c52343443a15b6c83466889 (patch) | |
tree | f2c2abed62db1c750515cd8b0fbac6442b6d4200 /spec/ruby/CONTRIBUTING.md | |
parent | 3a2073e61b6ccce6d07d31ebd89d4c385b9a55f2 (diff) | |
download | ruby-826f44834fe11f3f9c52343443a15b6c83466889.tar.gz |
Drop support for ruby 2.4 from ruby/spec
Diffstat (limited to 'spec/ruby/CONTRIBUTING.md')
-rw-r--r-- | spec/ruby/CONTRIBUTING.md | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/spec/ruby/CONTRIBUTING.md b/spec/ruby/CONTRIBUTING.md index d0924867fa..50d8af5931 100644 --- a/spec/ruby/CONTRIBUTING.md +++ b/spec/ruby/CONTRIBUTING.md @@ -133,12 +133,12 @@ Here is a list of the most commonly-used guards: #### Version guards ```ruby -ruby_version_is ""..."2.4" do - # Specs for RUBY_VERSION < 2.4 +ruby_version_is ""..."2.6 do + # Specs for RUBY_VERSION < 2.6 end -ruby_version_is "2.4" do - # Specs for RUBY_VERSION >= 2.4 +ruby_version_is "2.6 do + # Specs for RUBY_VERSION >= 2.6 end ``` @@ -185,11 +185,11 @@ end #### Combining guards ```ruby -guard -> { platform_is :windows and ruby_version_is ""..."2.5" } do - # Windows and RUBY_VERSION < 2.5 +guard -> { platform_is :windows and ruby_version_is ""..."2.6" } do + # Windows and RUBY_VERSION < 2.6 end -guard_not -> { platform_is :windows and ruby_version_is ""..."2.5" } do +guard_not -> { platform_is :windows and ruby_version_is ""..."2.6" } do # The opposite end ``` |