diff options
author | danielsdeleo <dan@opscode.com> | 2013-01-23 07:48:44 -0800 |
---|---|---|
committer | danielsdeleo <dan@opscode.com> | 2013-01-23 15:05:36 -0800 |
commit | 53fa8088240f19a1dfc589d9ba07098cbdd9bba2 (patch) | |
tree | 31f2a262eb1abb1a0be0d71a6a831a233e5967f5 /lib/chef/dsl/data_query.rb | |
parent | 0b7f0ab517733b00d55d75091c185f35434191ff (diff) | |
download | chef-53fa8088240f19a1dfc589d9ba07098cbdd9bba2.tar.gz |
[CHEF-3783] Make deprecated constants available
* Make deprecated constants in Chef::Mixin available by loading the
relevant files from the chef/dsl files that replace them.
* Add deprecation warnings via const_missing hook.
Diffstat (limited to 'lib/chef/dsl/data_query.rb')
-rw-r--r-- | lib/chef/dsl/data_query.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/chef/dsl/data_query.rb b/lib/chef/dsl/data_query.rb index ef5b490020..65e7b185a7 100644 --- a/lib/chef/dsl/data_query.rb +++ b/lib/chef/dsl/data_query.rb @@ -64,3 +64,8 @@ class Chef end end end + +# **DEPRECATED** +# This used to be part of chef/mixin/language. Load the file to activate the deprecation code. +require 'chef/mixin/language' + |