diff --git a/tool/gem-unpack.rb b/tool/gem-unpack.rb index 0ba23ef4d3..770ddce618 100644 --- a/tool/gem-unpack.rb +++ b/tool/gem-unpack.rb @@ -18,9 +18,9 @@ def Gem.unpack(file, dir = nil, spec_dir = nil) end FileUtils.mkdir_p(spec_dir) File.binwrite(File.join(spec_dir, "#{spec.name}-#{spec.version}.gemspec"), spec.to_ruby) - unless spec.extensions.empty? or spec.dependencies.empty? + unless spec.extensions.empty? spec.dependencies.clear + File.binwrite(File.join(spec_dir, ".bundled.#{spec.name}-#{spec.version}.gemspec"), spec.to_ruby) end - File.binwrite(File.join(spec_dir, ".bundled.#{spec.name}-#{spec.version}.gemspec"), spec.to_ruby) puts "Unpacked #{file}" end diff --git a/version.h b/version.h index 66996a6281..68b3a26cfc 100644 --- a/version.h +++ b/version.h @@ -11,7 +11,7 @@ # 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 96 +#define RUBY_PATCHLEVEL 97 #define RUBY_RELEASE_YEAR 2022 #define RUBY_RELEASE_MONTH 10