summaryrefslogtreecommitdiff
path: root/tool/lib
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-05-09 10:23:15 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-05-09 12:57:12 +0900
commitbb75e83d9f22c10b8893f3ff20fdd1d8d1825caf (patch)
treec6ef1b9c29c8abb1bd3b4cfa632b7565f738ec41 /tool/lib
parent7397642021e26658987e4f7860c8ee2e04ff7fc8 (diff)
downloadruby-bb75e83d9f22c10b8893f3ff20fdd1d8d1825caf.tar.gz
We should not validate development version of bundled gems with fetch timing.
We want to notify above situation when release time. So, I move this check into ruby/actions.
Diffstat (limited to 'tool/lib')
-rw-r--r--tool/lib/bundled_gem.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/tool/lib/bundled_gem.rb b/tool/lib/bundled_gem.rb
index 8eb15b9056..d24720b8c2 100644
--- a/tool/lib/bundled_gem.rb
+++ b/tool/lib/bundled_gem.rb
@@ -20,9 +20,6 @@ module BundledGem
Dir.chdir(gemdir) do
spec = Gem::Specification.load(gemfile)
abort "Failed to load #{gemspec}" unless spec
- unless spec.version == Gem::Version.new(version)
- abort "Unexpected versions between bundled_gems:#{version} and gemspec:#{spec.version}"
- end
output = File.join(outdir, spec.file_name)
FileUtils.rm_rf(output)
package = Gem::Package.new(output)