summaryrefslogtreecommitdiff
path: root/spec/ruby
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2021-07-13 02:13:48 -0700
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-07-16 15:40:08 +0900
commitc5f78ade5a9245e9620de7f9d0e0d7af19f9f863 (patch)
tree2d175e15ae7c923cf4208ed1b70aeb5b052e3f28 /spec/ruby
parenta3d2200b2ab29d4b8a127993254c34e90a5f341f (diff)
[rubygems/rubygems] fix dangling empty hooks
it turns out that running `bundle plugin uninstall some-plugin` would remove that plugin from the list of hooks, but if the list of hooks for an event was now empty, we would serialize the empty array into yaml as an empty single bullet item. which would then get unserialized as a plugin with the name empty string. which we would then try to load and explode. 😬 https://github.com/rubygems/rubygems/commit/545ebba9a5
Diffstat (limited to 'spec/ruby')
0 files changed, 0 insertions, 0 deletions