summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornagachika <nagachika@ruby-lang.org>2021-08-04 12:40:12 +0900
committernagachika <nagachika@ruby-lang.org>2021-08-04 12:40:12 +0900
commit80c180df769016d58663218de2687613841864f3 (patch)
tree1066dd4591bb1f7ea729286c67b053a5834765c0
parenta4d2e48c735b3cd4d2af9c71d16d49175d70fef6 (diff)
merge revision(s) b8386f7f7f6d7a7d76481e02d389d0f5211f0f2c:
Prepend DebugSystem to VCS class only And revert 24e5f1c982966c379220b1bbb26b4e0320180fa1, pepending to Kernel did not affect the top level methods before 3.0. --- tool/lib/vcs.rb | 3 --- tool/make-snapshot | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-)
-rw-r--r--tool/lib/vcs.rb3
-rwxr-xr-xtool/make-snapshot2
-rw-r--r--version.h4
3 files changed, 3 insertions, 6 deletions
diff --git a/tool/lib/vcs.rb b/tool/lib/vcs.rb
index 0c01abb0ac..c6d6cddded 100644
--- a/tool/lib/vcs.rb
+++ b/tool/lib/vcs.rb
@@ -52,9 +52,6 @@ module DebugSystem
ret
end
end
-module Kernel
- prepend(DebugSystem)
-end
class VCS
prepend(DebugSystem) if defined?(DebugSystem)
diff --git a/tool/make-snapshot b/tool/make-snapshot
index ec9eb3db35..131d7b91c9 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -52,7 +52,7 @@ PACKAGES = {
"zip" => %w".zip zip -Xqr",
}
DEFAULT_PACKAGES = PACKAGES.keys - ["tar"]
-if !$no7z and system("7z", out: IO::NULL, exception: false)
+if !$no7z and system("7z", out: IO::NULL)
PACKAGES["gzip"] = %w".tar.gz 7z a dummy -tgzip -mx -so"
PACKAGES["zip"] = %w".zip 7z a -tzip -l -mx -mtc=off" << {out: IO::NULL}
elsif gzip = ENV.delete("GZIP")
diff --git a/version.h b/version.h
index 636eb2824f..0acb3ed371 100644
--- a/version.h
+++ b/version.h
@@ -12,11 +12,11 @@
# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
#define RUBY_VERSION_TEENY 3
#define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR
-#define RUBY_PATCHLEVEL 120
+#define RUBY_PATCHLEVEL 121
#define RUBY_RELEASE_YEAR 2021
#define RUBY_RELEASE_MONTH 8
-#define RUBY_RELEASE_DAY 1
+#define RUBY_RELEASE_DAY 4
#include "ruby/version.h"