diff options
author | Claire McQuin <claire@chef.io> | 2015-09-02 09:11:26 -0700 |
---|---|---|
committer | Claire McQuin <claire@chef.io> | 2015-09-03 11:18:23 -0700 |
commit | 30b588f7035c2a219bc96a0b055f1d0eb8e16d3c (patch) | |
tree | 720c02e509a8bb3bc3a42daecfef46b5e67edff2 /lib/chef/win32 | |
parent | 55a6507b98b69652d9b5c74f4209c6472e356834 (diff) | |
download | chef-30b588f7035c2a219bc96a0b055f1d0eb8e16d3c.tar.gz |
Monkey-patch Win32::Registry::API::DeleteKey for Win32::Registry#delete_key
Diffstat (limited to 'lib/chef/win32')
-rw-r--r-- | lib/chef/win32/registry.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/chef/win32/registry.rb b/lib/chef/win32/registry.rb index 877c2ebff3..3a01553445 100644 --- a/lib/chef/win32/registry.rb +++ b/lib/chef/win32/registry.rb @@ -21,10 +21,7 @@ require 'chef/win32/api' require 'chef/mixin/wide_string' if RUBY_PLATFORM =~ /mswin|mingw32|windows/ - if RUBY_VERSION =~ /^2\.1/ - require 'chef/monkey_patches/win32/registry' - end - + require 'chef/monkey_patches/win32/registry' require 'chef/win32/api/registry' require 'win32/registry' require 'win32/api' |