Sha256: 28c0a7251a0fc366c6de931184dafec5515c8f3a3134966fb21e378e88c8e84c
Contents?: true
Size: 956 Bytes
Versions: 5
Compression:
Stored size: 956 Bytes
Contents
require 'engineyard-serverside/shell/helpers' module EY module Serverside def self.deprecation_warning(msg) $stderr.puts "DEPRECATION WARNING: #{msg}\n\t#{caller(2).first}" end def self.deprecated_task(receiver, old_task, new_task) if receiver.respond_to?(old_task) deprecation_warning("Task ##{old_task} has been renamed to ##{new_task}.") end end def self.const_missing(const) case const when :LoggedOutput EY::Serverside.deprecation_warning("EY::Serverside::LoggedOutput has been deprecated. Use EY::Serverside::Shell::Helpers instead.") EY::Serverside::Shell::Helpers when :LockfileParser EY::Serverside.deprecation_warning("EY::Serverside::LockfileParser has been deprecated. Use EY::Serverside::DependencyManager::Bundler::Lockfile instead.") EY::Serverside::DependencyManager::Bundler::Lockfile else super end end end end
Version data entries
5 entries across 5 versions & 1 rubygems