diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2018-04-27 15:32:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-27 15:32:12 -0700 |
commit | af5eb57c5445b66279b7ec0fd84a2be6ef9b6dfd (patch) | |
tree | 53df312493a935f316cf10801a6573aa2e3cfa8a | |
parent | a068d3cde6105a591da24d1a5ff35bde26c16214 (diff) | |
parent | ae72d0fbe4dbbfa081d0befb61cd6c1a74f58b75 (diff) | |
download | chef-af5eb57c5445b66279b7ec0fd84a2be6ef9b6dfd.tar.gz |
Merge pull request #7198 from chef/lcg/whitelist-node-methods
Whitelist some additional Hash/Array methods
-rw-r--r-- | lib/chef/node/mixin/immutablize_array.rb | 1 | ||||
-rw-r--r-- | lib/chef/node/mixin/immutablize_hash.rb | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/chef/node/mixin/immutablize_array.rb b/lib/chef/node/mixin/immutablize_array.rb index 88c7e6ffa9..ba59385d68 100644 --- a/lib/chef/node/mixin/immutablize_array.rb +++ b/lib/chef/node/mixin/immutablize_array.rb @@ -112,6 +112,7 @@ class Chef :take_while, :to_a, :to_ary, + :to_csv, :to_h, :to_plist, :to_set, diff --git a/lib/chef/node/mixin/immutablize_hash.rb b/lib/chef/node/mixin/immutablize_hash.rb index cd2bbf7bf6..71d2f754a4 100644 --- a/lib/chef/node/mixin/immutablize_hash.rb +++ b/lib/chef/node/mixin/immutablize_hash.rb @@ -88,6 +88,7 @@ class Chef :minmax, :minmax_by, :none?, + :normalize_param, :one?, :partition, :rassoc, @@ -112,6 +113,7 @@ class Chef :to_plist, :to_proc, :to_set, + :to_xml_attributes, :transform_keys, :transform_values, :uniq, |