summaryrefslogtreecommitdiff
path: root/spec/mspec/tool/remove_old_guards.rb
diff options
context:
space:
mode:
authoreregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-04-28 19:49:24 +0000
committereregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-04-28 19:49:24 +0000
commit702eb2c8bf0df9a4a897b862e5017eaa31d5b128 (patch)
treec7e49529d542a6d92875ce415075a14a50b05cc6 /spec/mspec/tool/remove_old_guards.rb
parent703a5dd3e0effdc808b9b59af21e5012f3d91942 (diff)
Update to ruby/mspec@b5b13de
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/mspec/tool/remove_old_guards.rb')
-rw-r--r--spec/mspec/tool/remove_old_guards.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/mspec/tool/remove_old_guards.rb b/spec/mspec/tool/remove_old_guards.rb
index feb4ee4662..8b036d07f5 100644
--- a/spec/mspec/tool/remove_old_guards.rb
+++ b/spec/mspec/tool/remove_old_guards.rb
@@ -36,6 +36,6 @@ def remove_guards(guard, keep)
end
end
-version = (ARGV[0] || "2.2")
+version = (ARGV[0] || "2.3")
remove_guards(/ruby_version_is ["']#{version}["'] do/, true)
remove_guards(/ruby_version_is ["'][0-9.]*["']...["']#{version}["'] do/, false)