Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Use long-hand Hash#slice + Hash#keys instead of Hash#except #575

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

al-the-x
Copy link

Since Hash#except is not in standard Ruby and Vagrant removed active_support i18n that provides the polyfill in Vagrant 2.2.7; even the polyfill was just Hash#slice minus the requested keys. Seemed simpler to inline than monkey-patch Hash...

Resolves #566

Since `Hash#except` is not in standard Ruby and Vagrant removed `active_support` that provides the polyfill.

Resolves mitchellh#566
@PxSonny
Copy link

PxSonny commented Sep 9, 2020

I confirm it works good for me.

@vohi
Copy link

vohi commented Sep 16, 2020

Thanks, needed to make a similar patch to my installation of the plugin on a macOS 10.14 host with vagrant 2.2.9

mkubenka added a commit to mkubenka/vagrant-aws that referenced this pull request Nov 3, 2020
Since Hash#except is not in standard Ruby and Vagrant removed active_support i18n that provides the polyfill in Vagrant 2.2.7; even the polyfill was just Hash#slice minus the requested keys. Seemed simpler to inline than monkey-patch Hash...

Resolves mitchellh#566

Based on mitchellh#575
elconde pushed a commit to elconde/vagrant-aws that referenced this pull request Nov 30, 2020
LeePorte pushed a commit to alphagov/paas-bootstrap that referenced this pull request Feb 15, 2021
We had let this bitrot and it required using an old version of Vagrant.
Unfortunatly there is the need to put in a hack due to this issue on the
vagrant-aws provider
mitchellh/vagrant-aws#566. I suspect that this
provider is now abandoned as there is even a PR open to fix it
mitchellh/vagrant-aws#575. I propose that we
look to remove vagrant in the not too distant future.
LeePorte pushed a commit to alphagov/paas-bootstrap that referenced this pull request Feb 16, 2021
We had let this bitrot and it required using an old version of Vagrant.
Unfortunatly there is the need to put in a hack due to this issue on the
vagrant-aws provider
mitchellh/vagrant-aws#566. I suspect that this
provider is now abandoned as there is even a PR open to fix it
mitchellh/vagrant-aws#575. I propose that we
look to remove vagrant in the not too distant future.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Undefined HashMap method except with Vagrant 2.2.7
3 participants