diff options
author | Hiroshi SHIBATA <[email protected]> | 2023-05-09 10:23:15 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-05-09 12:57:12 +0900 |
commit | bb75e83d9f22c10b8893f3ff20fdd1d8d1825caf (patch) | |
tree | c6ef1b9c29c8abb1bd3b4cfa632b7565f738ec41 /tool/lib | |
parent | 7397642021e26658987e4f7860c8ee2e04ff7fc8 (diff) |
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.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7781
Diffstat (limited to 'tool/lib')
-rw-r--r-- | tool/lib/bundled_gem.rb | 3 |
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) |