lib/data_magic/config.rb in data_magic-0.5 vs lib/data_magic/config.rb in data_magic-0.6

- old
+ new

@@ -7,18 +7,22 @@ # # retrieve the yml_directory - the location where all of the yml # files will be located. # def yml_directory - @data_magic_yml_directory ||= 'config' + $stderr.puts "*** DEPRECATION WARNING" + $stderr.puts "*** DataMagic::Config has being deprecated and will be removed soon." + $stderr.puts "*** Please use DataMagic.yml_directory." end # # set the yml_directory - this is where the gem will look for # all of the yml files. # def yml_directory=(value) - @data_magic_yml_directory = value + $stderr.puts "*** DEPRECATION WARNING" + $stderr.puts "*** DataMagic::Config has being deprecated and will be removed soon." + $stderr.puts "*** Please use DataMagic.yml_directory=." end end end